Automated backup transactions.json 2026-04-08 11:50:13 +05+0500
Browse files- transactions.json +30 -1
transactions.json
CHANGED
|
@@ -1 +1,30 @@
|
|
| 1 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "91fd9bcd25c84b678219f04bcc5cd32a",
|
| 4 |
+
"timestamp": "2026-04-08T11:50:13.257353+05:00",
|
| 5 |
+
"type": "sale",
|
| 6 |
+
"status": "completed",
|
| 7 |
+
"original_transaction_id": null,
|
| 8 |
+
"user_id": "eea9afb0b3df45bbab4bcb8f7357af56",
|
| 9 |
+
"user_name": "Ахмед",
|
| 10 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 11 |
+
"kassa_name": "Байсат 36.39",
|
| 12 |
+
"shift_id": "a5420a02ce8d4b378e5571794841ed57",
|
| 13 |
+
"items": [
|
| 14 |
+
{
|
| 15 |
+
"product_id": "45f8fdc6ce8a4f9caae7df56ef49e2f3",
|
| 16 |
+
"variant_id": "15959e14c192486ca1edb141c83c3314",
|
| 17 |
+
"name": "Холодильник LG 459 (Бежевый)",
|
| 18 |
+
"barcode": "1",
|
| 19 |
+
"quantity": 1,
|
| 20 |
+
"price_at_sale": "230000",
|
| 21 |
+
"cost_price_at_sale": "220000",
|
| 22 |
+
"discount_per_item": "10000",
|
| 23 |
+
"total": "220000"
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"total_amount": "220000.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>Накладная 91fd9bcd</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>Товарная накладная № 91fd9bcd</h1>\n <p>от 08.04.2026 11:50</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>Холодильник LG 459 (Бежевый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">230 000,00</td>\n <td style=\"text-align: right;\">10 000,00</td>\n <td style=\"text-align: right;\">220 000,00</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n <tr class=\"total\">\n <td colspan=\"5\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">220 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 |
+
]
|