Automated backup transactions.json 2026-04-08 22:11:10 +05+0500
Browse files- transactions.json +1 -32
transactions.json
CHANGED
|
@@ -1,32 +1 @@
|
|
| 1 |
-
[
|
| 2 |
-
{
|
| 3 |
-
"id": "b412a57881b44300a7ca8642195d6bc2",
|
| 4 |
-
"timestamp": "2026-04-08T22:10:38.381717+05:00",
|
| 5 |
-
"type": "sale",
|
| 6 |
-
"status": "completed",
|
| 7 |
-
"original_transaction_id": null,
|
| 8 |
-
"user_id": "4649af1379dd4811b4c4e906855acfc2",
|
| 9 |
-
"user_name": "Мухамед",
|
| 10 |
-
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 11 |
-
"kassa_name": "Байсат 36.39",
|
| 12 |
-
"shift_id": "4241259f42ba48cfababc2e5cc3198f1",
|
| 13 |
-
"items": [
|
| 14 |
-
{
|
| 15 |
-
"product_id": "f6026d184f1a46a8be7ee7f2164c389d",
|
| 16 |
-
"variant_id": "521beef7429f43afb906084b4f81a9c5",
|
| 17 |
-
"name": "Тестовое (Бежевый)",
|
| 18 |
-
"barcode": "1",
|
| 19 |
-
"quantity": 1,
|
| 20 |
-
"price_at_sale": "310000",
|
| 21 |
-
"cost_price_at_sale": "300000",
|
| 22 |
-
"discount_per_item": "0",
|
| 23 |
-
"total": "310000"
|
| 24 |
-
}
|
| 25 |
-
],
|
| 26 |
-
"total_amount": "311000.00",
|
| 27 |
-
"delivery_cost": "1000",
|
| 28 |
-
"note": "тестовое ",
|
| 29 |
-
"payment_method": "cash",
|
| 30 |
-
"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>Накладная b412a578</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>Товарная накладная № b412a578</h1>\n <p>от 08.04.2026 22:10</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;\">1</td>\n <td style=\"text-align: right;\">310 000,00</td>\n \n <td style=\"text-align: right;\">310 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;\">310 000,00 ₸</td>\n </tr>\n <tr>\n <td colspan=\"4\" style=\"text-align: right;\">Доставка:</td>\n <td style=\"text-align: right;\">1 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;\">311 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 "
|
| 31 |
-
}
|
| 32 |
-
]
|
|
|
|
| 1 |
+
[]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|