Kgshop commited on
Commit
d941306
·
verified ·
1 Parent(s): 37232bd

Automated backup transactions.json 2026-06-19 09:35:46 +05+0500

Browse files
Files changed (1) hide show
  1. transactions.json +28 -0
transactions.json CHANGED
@@ -355,5 +355,33 @@
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
  ]
 
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
+ {
360
+ "id": "0198e5de01d345adad06a444206a541b",
361
+ "timestamp": "2026-06-19T09:35:46.662596+05:00",
362
+ "type": "sale",
363
+ "status": "completed",
364
+ "original_transaction_id": null,
365
+ "user_id": "e170a16e5e104943b0fd1ea76676cc7a",
366
+ "user_name": "Тестовый",
367
+ "kassa_id": "25df06cd382d42a9ac333a39edfadea3",
368
+ "kassa_name": "Тестовое",
369
+ "shift_id": "4c130173f98649a4b7ae79ba7cc4ae97",
370
+ "items": [
371
+ {
372
+ "product_id": "65e9fee4e71241749a6d94a8a6e2321f",
373
+ "variant_id": "d2c8483d85bc4fb0bf7fafdf1e3d14e6",
374
+ "name": "Тапки 482 (Белые)",
375
+ "barcode": "1",
376
+ "quantity": 2,
377
+ "price_at_sale": "1000",
378
+ "cost_price_at_sale": "800",
379
+ "discount_per_item": "0",
380
+ "total": "2000"
381
+ }
382
+ ],
383
+ "total_amount": "2000.00",
384
+ "payment_method": "cash",
385
+ "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>Накладная 0198e5de</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>Товарная накладная № 0198e5de</h1>\n <p>от 19.06.2026 09:35</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>Тапки 482 (Белые)</td>\n <td style=\"text-align: right;\">2</td>\n <td style=\"text-align: right;\">1 000,00</td>\n \n <td style=\"text-align: right;\">2 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;\">2 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 "
386
  }
387
  ]