Kgshop commited on
Commit
1855af2
·
verified ·
1 Parent(s): 608f59e

Automated backup transactions.json 2026-03-26 15:37:03 +05+0500

Browse files
Files changed (1) hide show
  1. transactions.json +28 -0
transactions.json CHANGED
@@ -327,5 +327,33 @@
327
  "total_amount": "17500.00",
328
  "payment_method": "cash",
329
  "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>Накладная 1f871331</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 @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=\"header\">\n <h1>Товарная накладная № 1f871331</h1>\n <p>от 14.03.2026 15:41</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>Носки 4820 (Белые)</td>\n <td style=\"text-align: right;\">15</td>\n <td style=\"text-align: right;\">500,00</td>\n \n <td style=\"text-align: right;\">7 500,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Носки 4820 (Чёрные)</td>\n <td style=\"text-align: right;\">20</td>\n <td style=\"text-align: right;\">500,00</td>\n \n <td style=\"text-align: right;\">10 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">17 500,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
330
  }
331
  ]
 
327
  "total_amount": "17500.00",
328
  "payment_method": "cash",
329
  "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>Накладная 1f871331</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 @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=\"header\">\n <h1>Товарная накладная № 1f871331</h1>\n <p>от 14.03.2026 15:41</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>Носки 4820 (Белые)</td>\n <td style=\"text-align: right;\">15</td>\n <td style=\"text-align: right;\">500,00</td>\n \n <td style=\"text-align: right;\">7 500,00</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Носки 4820 (Чёрные)</td>\n <td style=\"text-align: right;\">20</td>\n <td style=\"text-align: right;\">500,00</td>\n \n <td style=\"text-align: right;\">10 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">17 500,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n "
330
+ },
331
+ {
332
+ "id": "631e28fd0161403e90c055bca331e2ce",
333
+ "timestamp": "2026-03-26T15:37:03.683877+05:00",
334
+ "type": "sale",
335
+ "status": "completed",
336
+ "original_transaction_id": null,
337
+ "user_id": "e170a16e5e104943b0fd1ea76676cc7a",
338
+ "user_name": "Тестовый",
339
+ "kassa_id": "25df06cd382d42a9ac333a39edfadea3",
340
+ "kassa_name": "Тестовое",
341
+ "shift_id": "4c130173f98649a4b7ae79ba7cc4ae97",
342
+ "items": [
343
+ {
344
+ "product_id": "3763d0c51c7d442ca46cc435004df4aa",
345
+ "variant_id": "b900404529bb4d5ba5c9a34031a08415",
346
+ "name": "8012 (Черный)",
347
+ "barcode": "8012",
348
+ "quantity": 10,
349
+ "price_at_sale": "5000",
350
+ "cost_price_at_sale": "3800",
351
+ "discount_per_item": "0",
352
+ "total": "50000"
353
+ }
354
+ ],
355
+ "total_amount": "50000.00",
356
+ "payment_method": "card",
357
+ "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>Накладная 631e28fd</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 @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=\"header\">\n <h1>Товарная накладная № 631e28fd</h1>\n <p>от 26.03.2026 15:37</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>8012 (Черный)</td>\n <td style=\"text-align: right;\">10</td>\n <td style=\"text-align: right;\">5 000,00</td>\n \n <td style=\"text-align: right;\">50 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">50 000,00 ₸</td>\n </tr>\n </table>\n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Тестовый</p>\n </div>\n </div>\n </body>\n </html>\n "
358
  }
359
  ]