Automated backup transactions.json 2026-04-08 09:27:38 +05+0500
Browse files- transactions.json +1 -30
transactions.json
CHANGED
|
@@ -1,30 +1 @@
|
|
| 1 |
-
[
|
| 2 |
-
{
|
| 3 |
-
"id": "c29b851350024e148a5f3ab867f36323",
|
| 4 |
-
"timestamp": "2026-04-07T23:45:33.847901+05:00",
|
| 5 |
-
"type": "sale",
|
| 6 |
-
"status": "completed",
|
| 7 |
-
"original_transaction_id": null,
|
| 8 |
-
"user_id": "ecfc6024028d4b0a8d383a4831d2ca37",
|
| 9 |
-
"user_name": "Александр",
|
| 10 |
-
"kassa_id": "033b17f930b245468b32a0292dfb41ea",
|
| 11 |
-
"kassa_name": "Байсат",
|
| 12 |
-
"shift_id": "cccee14f869d420fa44b70888740f787",
|
| 13 |
-
"items": [
|
| 14 |
-
{
|
| 15 |
-
"product_id": "359fa139997b41ef886abeacf4a85dcd",
|
| 16 |
-
"variant_id": "cbee717a8c364e149c72caa2e1dad9ed",
|
| 17 |
-
"name": "Тестовое (Чёрный)",
|
| 18 |
-
"barcode": "1",
|
| 19 |
-
"quantity": 4,
|
| 20 |
-
"price_at_sale": "10000",
|
| 21 |
-
"cost_price_at_sale": "8000.00",
|
| 22 |
-
"discount_per_item": "0",
|
| 23 |
-
"total": "40000"
|
| 24 |
-
}
|
| 25 |
-
],
|
| 26 |
-
"total_amount": "40000.00",
|
| 27 |
-
"payment_method": "cash",
|
| 28 |
-
"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>Накладная c29b8513</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>Товарная накладная № c29b8513</h1>\n <p>от 07.04.2026 23:45</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>Тестовое (Чёрный)</td>\n <td style=\"text-align: right;\">4</td>\n <td style=\"text-align: right;\">10 000,00</td>\n \n <td style=\"text-align: right;\">40 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;\">40 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 "
|
| 29 |
-
}
|
| 30 |
-
]
|
|
|
|
| 1 |
+
[]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|