Kgshop commited on
Commit
f1be940
·
verified ·
1 Parent(s): 52a69b7

Automated backup transactions.json 2026-04-10 14:30:32 +05+0500

Browse files
Files changed (1) hide show
  1. transactions.json +37 -2
transactions.json CHANGED
@@ -206,7 +206,7 @@
206
  "id": "17f73093cb914619b45b124d4381f282",
207
  "timestamp": "2026-04-10T14:26:37.626961+05:00",
208
  "type": "sale",
209
- "status": "completed",
210
  "original_transaction_id": null,
211
  "user_id": "492c42b143934be2a9d2639771ed6f01",
212
  "user_name": "Разия",
@@ -241,6 +241,41 @@
241
  "delivery_cost": "6000",
242
  "note": "Сейчас ",
243
  "payment_method": "cash",
244
- "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>Накладная 17f73093</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>Товарная накладная № 17f73093</h1>\n <p>от 10.04.2026 14:26</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;\">145 000,00</td>\n \n <td style=\"text-align: right;\">145 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Авангард 360 витрины холод (Черный)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">175 000,00</td>\n \n <td style=\"text-align: right;\">175 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"4\" style=\"text-align: right;\">Подытог:</td>\n <td style=\"text-align: right;\">320 000,00 ₸</td>\n </tr>\n <tr>\n <td colspan=\"4\" style=\"text-align: right;\">Доставка:</td>\n <td style=\"text-align: right;\">6 000,00 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">326 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 "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  }
246
  ]
 
206
  "id": "17f73093cb914619b45b124d4381f282",
207
  "timestamp": "2026-04-10T14:26:37.626961+05:00",
208
  "type": "sale",
209
+ "status": "partially_returned",
210
  "original_transaction_id": null,
211
  "user_id": "492c42b143934be2a9d2639771ed6f01",
212
  "user_name": "Разия",
 
241
  "delivery_cost": "6000",
242
  "note": "Сейчас ",
243
  "payment_method": "cash",
244
+ "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>Накладная 17f73093</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>Товарная накладная № 17f73093</h1>\n <p>от 10.04.2026 14:26</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;\">145 000,00</td>\n \n <td style=\"text-align: right;\">145 000,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Авангард 360 витрины холод (Черный)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">175 000,00</td>\n \n <td style=\"text-align: right;\">175 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"4\" style=\"text-align: right;\">Подытог:</td>\n <td style=\"text-align: right;\">320 000,00 ₸</td>\n </tr>\n <tr>\n <td colspan=\"4\" style=\"text-align: right;\">Доставка:</td>\n <td style=\"text-align: right;\">6 000,00 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">326 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 ",
245
+ "return_info": {
246
+ "returned_items": {
247
+ "97ba4380a7684e53b91ad4e85cdcb8d0": 1
248
+ },
249
+ "return_transaction_ids": [
250
+ "fb5831da45d0444ab399b6d55292c4e6"
251
+ ]
252
+ }
253
+ },
254
+ {
255
+ "id": "fb5831da45d0444ab399b6d55292c4e6",
256
+ "timestamp": "2026-04-10T14:30:32.952994+05:00",
257
+ "type": "return",
258
+ "status": "completed",
259
+ "original_transaction_id": "17f73093cb914619b45b124d4381f282",
260
+ "user_id": "492c42b143934be2a9d2639771ed6f01",
261
+ "user_name": "Разия",
262
+ "kassa_id": "cc2c8d6f01af453084edde7740034332",
263
+ "kassa_name": "Байсат 36.39",
264
+ "shift_id": "64b896717daf410d9281f7a2fc4308b9",
265
+ "items": [
266
+ {
267
+ "product_id": "fd2ae15eb67043b4a66bc3e38c320b7e",
268
+ "variant_id": "97ba4380a7684e53b91ad4e85cdcb8d0",
269
+ "name": "Авангард 360 витрины холод (Черный)",
270
+ "barcode": "\"AVSC-360\" Black",
271
+ "quantity": 1,
272
+ "price_at_sale": "175000",
273
+ "cost_price_at_sale": "149.700",
274
+ "discount_per_item": "0",
275
+ "total": "175000"
276
+ }
277
+ ],
278
+ "total_amount": "-175000.00",
279
+ "payment_method": "cash"
280
  }
281
  ]