Automated backup transactions.json 2026-06-26 16:48:21 +05+0500
Browse files- transactions.json +91 -0
transactions.json
CHANGED
|
@@ -39860,5 +39860,96 @@
|
|
| 39860 |
"note": "",
|
| 39861 |
"payment_method": "cash",
|
| 39862 |
"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>Накладная 0fb6b9ee</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; white-space: nowrap; }\n table th.name-col { white-space: normal; }\n table td { padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }\n table td.name-col { white-space: normal; word-wrap: break-word; max-width: 250px; min-width: 150px; }\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; display: flex; justify-content: space-between; align-items: flex-end; }\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; background: #6c757d; color: white; border: none; border-radius: 4px;\">Печать</button>\n <button onclick=\"editReceipt()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #ffc107; color: #000; border: none; border-radius: 4px; margin-left: 10px;\">Изменить накладную</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 0fb6b9ee</h1>\n <p>от 26.06.2026 16:01</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%; white-space: nowrap;\">№</th>\n <th class=\"name-col\" style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right; white-space: nowrap;\">Кол-во</th>\n <th style=\"text-align: right; white-space: nowrap;\">Цена</th>\n <th style=\"text-align: right; white-space: nowrap;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">1</td>\n <td class=\"name-col\">Hixelnse 30</td>\n <td style=\"text-align: right; white-space: nowrap;\">34000</td>\n <td style=\"text-align: right; white-space: nowrap;\">5</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">170 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">Hixelnse 50</td>\n <td style=\"text-align: right; white-space: nowrap;\">3</td>\n <td style=\"text-align: right; white-space: nowrap;\">40 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">120 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Общее кол-во единиц:</td>\n <td style=\"text-align: right; white-space: nowrap;\">34003</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Итого к оплате:</td>\n <td style=\"text-align: right; white-space: nowrap;\">290 000 ₸</td>\n </tr>\n \n </table>\n \n <div class=\"footer-info\">\n <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Наличные</p>\n <p style=\"margin: 2px 0;\">Кассир: Ахмед 87073386282</p>\n </div>\n <div>\n <img src=\"https://huggingface.co/spaces/metastore/tech/resolve/main/1778729143842-019e2483-619b-7600-b6f1-03c567356039.png\" style=\"width: 80px; height: auto;\">\n </div>\n </div>\n \n </div>\n <script>\n function editReceipt() {\n let code = prompt(\"Введите ПИН-код кассира или пароль администратора для изменения накладной:\");\n if (!code) return;\n fetch('/api/auth/universal', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({code: code})\n })\n .then(r => r.json())\n .then(d => {\n if (d.success) {\n window.location.href = '/?edit_tx=0fb6b9ee373441fabba151169a3158fa';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39863 |
}
|
| 39864 |
]
|
|
|
|
| 39860 |
"note": "",
|
| 39861 |
"payment_method": "cash",
|
| 39862 |
"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>Накладная 0fb6b9ee</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; white-space: nowrap; }\n table th.name-col { white-space: normal; }\n table td { padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }\n table td.name-col { white-space: normal; word-wrap: break-word; max-width: 250px; min-width: 150px; }\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; display: flex; justify-content: space-between; align-items: flex-end; }\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; background: #6c757d; color: white; border: none; border-radius: 4px;\">Печать</button>\n <button onclick=\"editReceipt()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #ffc107; color: #000; border: none; border-radius: 4px; margin-left: 10px;\">Изменить накладную</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 0fb6b9ee</h1>\n <p>от 26.06.2026 16:01</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%; white-space: nowrap;\">№</th>\n <th class=\"name-col\" style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right; white-space: nowrap;\">Кол-во</th>\n <th style=\"text-align: right; white-space: nowrap;\">Цена</th>\n <th style=\"text-align: right; white-space: nowrap;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">1</td>\n <td class=\"name-col\">Hixelnse 30</td>\n <td style=\"text-align: right; white-space: nowrap;\">34000</td>\n <td style=\"text-align: right; white-space: nowrap;\">5</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">170 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">Hixelnse 50</td>\n <td style=\"text-align: right; white-space: nowrap;\">3</td>\n <td style=\"text-align: right; white-space: nowrap;\">40 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">120 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Общее кол-во единиц:</td>\n <td style=\"text-align: right; white-space: nowrap;\">34003</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Итого к оплате:</td>\n <td style=\"text-align: right; white-space: nowrap;\">290 000 ₸</td>\n </tr>\n \n </table>\n \n <div class=\"footer-info\">\n <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Наличные</p>\n <p style=\"margin: 2px 0;\">Кассир: Ахмед 87073386282</p>\n </div>\n <div>\n <img src=\"https://huggingface.co/spaces/metastore/tech/resolve/main/1778729143842-019e2483-619b-7600-b6f1-03c567356039.png\" style=\"width: 80px; height: auto;\">\n </div>\n </div>\n \n </div>\n <script>\n function editReceipt() {\n let code = prompt(\"Введите ПИН-код кассира или пароль администратора для изменения накладной:\");\n if (!code) return;\n fetch('/api/auth/universal', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({code: code})\n })\n .then(r => r.json())\n .then(d => {\n if (d.success) {\n window.location.href = '/?edit_tx=0fb6b9ee373441fabba151169a3158fa';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 39863 |
+
},
|
| 39864 |
+
{
|
| 39865 |
+
"id": "6738006ec8024d1b8bc0d235bf2a367b",
|
| 39866 |
+
"timestamp": "2026-06-26T16:48:21.758237+05:00",
|
| 39867 |
+
"type": "sale",
|
| 39868 |
+
"status": "completed",
|
| 39869 |
+
"original_transaction_id": null,
|
| 39870 |
+
"user_id": "eea9afb0b3df45bbab4bcb8f7357af56",
|
| 39871 |
+
"user_name": "Ахмед 87073386282",
|
| 39872 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 39873 |
+
"kassa_name": "Байсат 36.39",
|
| 39874 |
+
"shift_id": "a5420a02ce8d4b378e5571794841ed57",
|
| 39875 |
+
"items": [
|
| 39876 |
+
{
|
| 39877 |
+
"product_id": null,
|
| 39878 |
+
"variant_id": "custom_1782474235720",
|
| 39879 |
+
"name": "Микро 50К10BL",
|
| 39880 |
+
"barcode": "CUSTOM",
|
| 39881 |
+
"quantity": 1,
|
| 39882 |
+
"price_at_sale": "55000",
|
| 39883 |
+
"cost_price_at_sale": "0",
|
| 39884 |
+
"discount_per_item": "0",
|
| 39885 |
+
"total": "55000",
|
| 39886 |
+
"is_custom": true
|
| 39887 |
+
},
|
| 39888 |
+
{
|
| 39889 |
+
"product_id": null,
|
| 39890 |
+
"variant_id": "custom_1782474278458",
|
| 39891 |
+
"name": "Bles Q332RWEN",
|
| 39892 |
+
"barcode": "CUSTOM",
|
| 39893 |
+
"quantity": 1,
|
| 39894 |
+
"price_at_sale": "245000",
|
| 39895 |
+
"cost_price_at_sale": "0",
|
| 39896 |
+
"discount_per_item": "0",
|
| 39897 |
+
"total": "245000",
|
| 39898 |
+
"is_custom": true
|
| 39899 |
+
},
|
| 39900 |
+
{
|
| 39901 |
+
"product_id": null,
|
| 39902 |
+
"variant_id": "custom_1782474313973",
|
| 39903 |
+
"name": "Духовка B1",
|
| 39904 |
+
"barcode": "CUSTOM",
|
| 39905 |
+
"quantity": 1,
|
| 39906 |
+
"price_at_sale": "80000",
|
| 39907 |
+
"cost_price_at_sale": "0",
|
| 39908 |
+
"discount_per_item": "0",
|
| 39909 |
+
"total": "80000",
|
| 39910 |
+
"is_custom": true
|
| 39911 |
+
},
|
| 39912 |
+
{
|
| 39913 |
+
"product_id": null,
|
| 39914 |
+
"variant_id": "custom_1782474352930",
|
| 39915 |
+
"name": "P200 BA",
|
| 39916 |
+
"barcode": "CUSTOM",
|
| 39917 |
+
"quantity": 1,
|
| 39918 |
+
"price_at_sale": "30000",
|
| 39919 |
+
"cost_price_at_sale": "0",
|
| 39920 |
+
"discount_per_item": "0",
|
| 39921 |
+
"total": "30000",
|
| 39922 |
+
"is_custom": true
|
| 39923 |
+
},
|
| 39924 |
+
{
|
| 39925 |
+
"product_id": null,
|
| 39926 |
+
"variant_id": "custom_1782474395449",
|
| 39927 |
+
"name": "Вытишка 0852",
|
| 39928 |
+
"barcode": "CUSTOM",
|
| 39929 |
+
"quantity": 1,
|
| 39930 |
+
"price_at_sale": "40000",
|
| 39931 |
+
"cost_price_at_sale": "0",
|
| 39932 |
+
"discount_per_item": "0",
|
| 39933 |
+
"total": "40000",
|
| 39934 |
+
"is_custom": true
|
| 39935 |
+
},
|
| 39936 |
+
{
|
| 39937 |
+
"product_id": null,
|
| 39938 |
+
"variant_id": "custom_1782474439595",
|
| 39939 |
+
"name": "Ясин 09",
|
| 39940 |
+
"barcode": "CUSTOM",
|
| 39941 |
+
"quantity": 2,
|
| 39942 |
+
"price_at_sale": "95000",
|
| 39943 |
+
"cost_price_at_sale": "0",
|
| 39944 |
+
"discount_per_item": "0",
|
| 39945 |
+
"total": "190000",
|
| 39946 |
+
"is_custom": true
|
| 39947 |
+
}
|
| 39948 |
+
],
|
| 39949 |
+
"total_amount": "640005",
|
| 39950 |
+
"delivery_cost": "5",
|
| 39951 |
+
"note": "жк Брамиля саина шаляпина",
|
| 39952 |
+
"payment_method": "cash",
|
| 39953 |
+
"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>Накладная 6738006e</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; white-space: nowrap; }\n table th.name-col { white-space: normal; }\n table td { padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }\n table td.name-col { white-space: normal; word-wrap: break-word; max-width: 250px; min-width: 150px; }\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; display: flex; justify-content: space-between; align-items: flex-end; }\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; background: #6c757d; color: white; border: none; border-radius: 4px;\">Печать</button>\n <button onclick=\"editReceipt()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #ffc107; color: #000; border: none; border-radius: 4px; margin-left: 10px;\">Изменить накладную</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 6738006e</h1>\n <p>от 26.06.2026 16:48</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%; white-space: nowrap;\">№</th>\n <th class=\"name-col\" style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right; white-space: nowrap;\">Кол-во</th>\n <th style=\"text-align: right; white-space: nowrap;\">Цена</th>\n <th style=\"text-align: right; white-space: nowrap;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">1</td>\n <td class=\"name-col\">Микро 50К10BL</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">55 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">55 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">Bles Q332RWEN</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">245 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">245 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td class=\"name-col\">Духовка B1</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">80 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">80 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td class=\"name-col\">P200 BA</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">30 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">30 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">5</td>\n <td class=\"name-col\">Вытишка 0852</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">40 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">40 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">6</td>\n <td class=\"name-col\">Ясин 09</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">190 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Общее кол-во единиц:</td>\n <td style=\"text-align: right; white-space: nowrap;\">7</td>\n </tr>\n \n <tr>\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Подытог:</td>\n <td style=\"text-align: right; white-space: nowrap;\">640 000 ₸</td>\n </tr>\n <tr>\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Доставка:</td>\n <td style=\"text-align: right; white-space: nowrap;\">5 ₸</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Итого к оплате:</td>\n <td style=\"text-align: right; white-space: nowrap;\">640 005 ₸</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 <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Наличные</p>\n <p style=\"margin: 2px 0;\">Кассир: Ахмед 87073386282</p>\n </div>\n <div>\n <img src=\"https://huggingface.co/spaces/metastore/tech/resolve/main/1778729143842-019e2483-619b-7600-b6f1-03c567356039.png\" style=\"width: 80px; height: auto;\">\n </div>\n </div>\n \n </div>\n <script>\n function editReceipt() {\n let code = prompt(\"Введите ПИН-код кассира или пароль администратора для изменения накладной:\");\n if (!code) return;\n fetch('/api/auth/universal', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({code: code})\n })\n .then(r => r.json())\n .then(d => {\n if (d.success) {\n window.location.href = '/?edit_tx=6738006ec8024d1b8bc0d235bf2a367b';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 39954 |
}
|
| 39955 |
]
|