Kgshop commited on
Commit
a4e8b53
·
verified ·
1 Parent(s): 6b9caa7

Automated backup transactions.json 2026-04-10 08:52:26 +05+0500

Browse files
Files changed (1) hide show
  1. transactions.json +41 -0
transactions.json CHANGED
@@ -69,5 +69,46 @@
69
  "note": "Сегодня ",
70
  "payment_method": "cash",
71
  "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 2f8cf669</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n .details-grid { grid-template-columns: 1fr; gap: 10px; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 2f8cf669</h1>\n <p>от 10.04.2026 08:46</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Скидка</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>Авангард 252 (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">150 000,00</td>\n <td style=\"text-align: right;\">50 000,00</td>\n <td style=\"text-align: right;\">100 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"5\" style=\"text-align: right;\">Подытог:</td>\n <td style=\"text-align: right;\">100 000,00 ₸</td>\n </tr>\n <tr>\n <td colspan=\"5\" style=\"text-align: right;\">Доставка:</td>\n <td style=\"text-align: right;\">5 000,00 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"5\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">105 000,00 ₸</td>\n </tr>\n \n </table>\n \n <div style=\"margin-top: 20px; padding: 10px; border: 2px solid #333; background-color: #fdfdea; border-radius: 5px;\">\n <h4 style=\"margin: 0 0 5px 0; font-size: 16px;\">Примечание к заказу:</h4>\n <p style=\"margin: 0; white-space: pre-wrap; font-size: 14px;\">Сегодня </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Шамиль</p>\n </div>\n </div>\n </body>\n </html>\n "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  }
73
  ]
 
69
  "note": "Сегодня ",
70
  "payment_method": "cash",
71
  "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 2f8cf669</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n .details-grid { grid-template-columns: 1fr; gap: 10px; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 2f8cf669</h1>\n <p>от 10.04.2026 08:46</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Скидка</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>Авангард 252 (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">150 000,00</td>\n <td style=\"text-align: right;\">50 000,00</td>\n <td style=\"text-align: right;\">100 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"5\" style=\"text-align: right;\">Подытог:</td>\n <td style=\"text-align: right;\">100 000,00 ₸</td>\n </tr>\n <tr>\n <td colspan=\"5\" style=\"text-align: right;\">Доставка:</td>\n <td style=\"text-align: right;\">5 000,00 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"5\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">105 000,00 ₸</td>\n </tr>\n \n </table>\n \n <div style=\"margin-top: 20px; padding: 10px; border: 2px solid #333; background-color: #fdfdea; border-radius: 5px;\">\n <h4 style=\"margin: 0 0 5px 0; font-size: 16px;\">Примечание к заказу:</h4>\n <p style=\"margin: 0; white-space: pre-wrap; font-size: 14px;\">Сегодня </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Шамиль</p>\n </div>\n </div>\n </body>\n </html>\n "
72
+ },
73
+ {
74
+ "id": "573c5e23e59342539c73738f049a4466",
75
+ "timestamp": "2026-04-10T08:52:26.447406+05:00",
76
+ "type": "sale",
77
+ "status": "completed",
78
+ "original_transaction_id": null,
79
+ "user_id": "eea9afb0b3df45bbab4bcb8f7357af56",
80
+ "user_name": "Ахмед",
81
+ "kassa_id": "cc2c8d6f01af453084edde7740034332",
82
+ "kassa_name": "Байсат 36.39",
83
+ "shift_id": "a5420a02ce8d4b378e5571794841ed57",
84
+ "items": [
85
+ {
86
+ "product_id": "fad5c4104da54f3c81f3c6648318aa76",
87
+ "variant_id": "107bf7eab27548d283f3ff2851b83fcd",
88
+ "name": "Авангард 252 (Серый)",
89
+ "barcode": "ARF-252 SS",
90
+ "quantity": 1,
91
+ "price_at_sale": "150000",
92
+ "cost_price_at_sale": "129000",
93
+ "discount_per_item": "0",
94
+ "total": "150000"
95
+ },
96
+ {
97
+ "product_id": "1cadce5f34894d8ebd58edd5b16dd489",
98
+ "variant_id": "7bc3b223d55b420a8685b7194cb8a060",
99
+ "name": "Конка 344 (Белый)",
100
+ "barcode": "КRL-344W",
101
+ "quantity": 1,
102
+ "price_at_sale": "200.000",
103
+ "cost_price_at_sale": "185.993",
104
+ "discount_per_item": "0",
105
+ "total": "200.000"
106
+ }
107
+ ],
108
+ "total_amount": "150200.000",
109
+ "delivery_cost": "0",
110
+ "note": "",
111
+ "payment_method": "cash",
112
+ "invoice_html": "\n <!DOCTYPE html>\n <html lang=\"ru\">\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Накладная 573c5e23</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n .details-grid { grid-template-columns: 1fr; gap: 10px; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer;\">Печать</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 573c5e23</h1>\n <p>от 10.04.2026 08:52</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>Авангард 252 (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">150 000,00</td>\n \n <td style=\"text-align: right;\">150 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Конка 344 (Белый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">200,00</td>\n \n <td style=\"text-align: right;\">200,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">150 200,00 ₸</td>\n </tr>\n \n </table>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Ахмед</p>\n </div>\n </div>\n </body>\n </html>\n "
113
  }
114
  ]