Automated backup transactions.json 2026-05-03 17:14:40 +05+0500
Browse files- transactions.json +101 -0
transactions.json
CHANGED
|
@@ -6972,5 +6972,106 @@
|
|
| 6972 |
}
|
| 6973 |
],
|
| 6974 |
"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>Накладная e749ab7d</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; 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>Товарная накладная № e749ab7d</h1>\n <p>от 03.05.2026 13:04</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>Вытяжка 0860 Black (Черный)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">60 000</td>\n <td style=\"text-align: right;\">0</td>\n <td style=\"text-align: right;\">60 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Микроволновка печь 50К10 Black (Черный)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">60 000</td>\n <td style=\"text-align: right;\">5 000</td>\n <td style=\"text-align: right;\">55 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">3</td>\n <td>Газ 6041 FG-CCB</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">60 000</td>\n <td style=\"text-align: right;\">0</td>\n <td style=\"text-align: right;\">60 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">4</td>\n <td>Духовка 7ЕD09-CD</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">120 000</td>\n <td style=\"text-align: right;\">5 000</td>\n <td style=\"text-align: right;\">115 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"5\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">290 000 ₸</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>Кассир: Разия 87051556765</p>\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=e749ab7d852d42d59f0fa160df36f00c';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6975 |
}
|
| 6976 |
]
|
|
|
|
| 6972 |
}
|
| 6973 |
],
|
| 6974 |
"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>Накладная e749ab7d</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; 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>Товарная накладная № e749ab7d</h1>\n <p>от 03.05.2026 13:04</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>Вытяжка 0860 Black (Черный)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">60 000</td>\n <td style=\"text-align: right;\">0</td>\n <td style=\"text-align: right;\">60 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Микроволновка печь 50К10 Black (Черный)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">60 000</td>\n <td style=\"text-align: right;\">5 000</td>\n <td style=\"text-align: right;\">55 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">3</td>\n <td>Газ 6041 FG-CCB</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">60 000</td>\n <td style=\"text-align: right;\">0</td>\n <td style=\"text-align: right;\">60 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">4</td>\n <td>Духовка 7ЕD09-CD</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">120 000</td>\n <td style=\"text-align: right;\">5 000</td>\n <td style=\"text-align: right;\">115 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"5\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">290 000 ₸</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>Кассир: Разия 87051556765</p>\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=e749ab7d852d42d59f0fa160df36f00c';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 6975 |
+
},
|
| 6976 |
+
{
|
| 6977 |
+
"id": "d244823d8c504fa98c9678fff5692e1c",
|
| 6978 |
+
"timestamp": "2026-05-03T17:14:40.558773+05:00",
|
| 6979 |
+
"type": "sale",
|
| 6980 |
+
"status": "completed",
|
| 6981 |
+
"original_transaction_id": null,
|
| 6982 |
+
"user_id": "492c42b143934be2a9d2639771ed6f01",
|
| 6983 |
+
"user_name": "Разия 87051556765",
|
| 6984 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 6985 |
+
"kassa_name": "Байсат 36.39",
|
| 6986 |
+
"shift_id": "64b896717daf410d9281f7a2fc4308b9",
|
| 6987 |
+
"items": [
|
| 6988 |
+
{
|
| 6989 |
+
"product_id": "fa25629b8a1948a3bde0cbefc25cc6f5",
|
| 6990 |
+
"variant_id": "f019ea0e451248b19bd334178d75e6ec",
|
| 6991 |
+
"name": "Стиралки LG F2V3PS6J 8 кг (Серый)",
|
| 6992 |
+
"barcode": "PS6J",
|
| 6993 |
+
"quantity": 1,
|
| 6994 |
+
"price_at_sale": "187000",
|
| 6995 |
+
"cost_price_at_sale": "177000",
|
| 6996 |
+
"discount_per_item": "0",
|
| 6997 |
+
"total": "187000"
|
| 6998 |
+
},
|
| 6999 |
+
{
|
| 7000 |
+
"product_id": "2b227adc6ce04f9b982ca754d07ee242",
|
| 7001 |
+
"variant_id": "65302952ef2843ccaad483e0420513ec",
|
| 7002 |
+
"name": "Стирка LG F2V3PS6W 8 кг (Белый)",
|
| 7003 |
+
"barcode": "PS6W",
|
| 7004 |
+
"quantity": 1,
|
| 7005 |
+
"price_at_sale": "180000",
|
| 7006 |
+
"cost_price_at_sale": "170000",
|
| 7007 |
+
"discount_per_item": "0",
|
| 7008 |
+
"total": "180000"
|
| 7009 |
+
},
|
| 7010 |
+
{
|
| 7011 |
+
"product_id": null,
|
| 7012 |
+
"variant_id": "custom_1777810199161",
|
| 7013 |
+
"name": "Холодильник 459 MLWM",
|
| 7014 |
+
"barcode": "CUSTOM",
|
| 7015 |
+
"quantity": 1,
|
| 7016 |
+
"price_at_sale": "210000",
|
| 7017 |
+
"cost_price_at_sale": "0",
|
| 7018 |
+
"discount_per_item": "0",
|
| 7019 |
+
"total": "210000",
|
| 7020 |
+
"is_custom": true
|
| 7021 |
+
},
|
| 7022 |
+
{
|
| 7023 |
+
"product_id": null,
|
| 7024 |
+
"variant_id": "custom_1777810236725",
|
| 7025 |
+
"name": "Холодильник 459 EMWM",
|
| 7026 |
+
"barcode": "CUSTOM",
|
| 7027 |
+
"quantity": 1,
|
| 7028 |
+
"price_at_sale": "215000",
|
| 7029 |
+
"cost_price_at_sale": "0",
|
| 7030 |
+
"discount_per_item": "0",
|
| 7031 |
+
"total": "215000",
|
| 7032 |
+
"is_custom": true
|
| 7033 |
+
},
|
| 7034 |
+
{
|
| 7035 |
+
"product_id": null,
|
| 7036 |
+
"variant_id": "custom_1777810281300",
|
| 7037 |
+
"name": "TV Ясин 43Е 900",
|
| 7038 |
+
"barcode": "CUSTOM",
|
| 7039 |
+
"quantity": 1,
|
| 7040 |
+
"price_at_sale": "75000",
|
| 7041 |
+
"cost_price_at_sale": "0",
|
| 7042 |
+
"discount_per_item": "0",
|
| 7043 |
+
"total": "75000",
|
| 7044 |
+
"is_custom": true
|
| 7045 |
+
},
|
| 7046 |
+
{
|
| 7047 |
+
"product_id": null,
|
| 7048 |
+
"variant_id": "custom_1777810336256",
|
| 7049 |
+
"name": "TV Ясин 40 Е900",
|
| 7050 |
+
"barcode": "CUSTOM",
|
| 7051 |
+
"quantity": 1,
|
| 7052 |
+
"price_at_sale": "70000",
|
| 7053 |
+
"cost_price_at_sale": "0",
|
| 7054 |
+
"discount_per_item": "0",
|
| 7055 |
+
"total": "70000",
|
| 7056 |
+
"is_custom": true
|
| 7057 |
+
},
|
| 7058 |
+
{
|
| 7059 |
+
"product_id": null,
|
| 7060 |
+
"variant_id": "custom_1777810435993",
|
| 7061 |
+
"name": "Морозильник Wanboo",
|
| 7062 |
+
"barcode": "CUSTOM",
|
| 7063 |
+
"quantity": 2,
|
| 7064 |
+
"price_at_sale": "85000",
|
| 7065 |
+
"cost_price_at_sale": "0",
|
| 7066 |
+
"discount_per_item": "0",
|
| 7067 |
+
"total": "170000",
|
| 7068 |
+
"is_custom": true
|
| 7069 |
+
}
|
| 7070 |
+
],
|
| 7071 |
+
"total_amount": "1107000",
|
| 7072 |
+
"delivery_cost": "0",
|
| 7073 |
+
"note": "",
|
| 7074 |
+
"payment_method": "card",
|
| 7075 |
+
"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>Накладная d244823d</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; 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>Товарная накладная № d244823d</h1>\n <p>от 03.05.2026 17:14</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>Стиралки LG F2V3PS6J 8 кг (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">187 000</td>\n \n <td style=\"text-align: right;\">187 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Стирка LG F2V3PS6W 8 кг (Белый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">180 000</td>\n \n <td style=\"text-align: right;\">180 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">3</td>\n <td>Холодильник 459 MLWM</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">210 000</td>\n \n <td style=\"text-align: right;\">210 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">4</td>\n <td>Холодильник 459 EMWM</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">215 000</td>\n \n <td style=\"text-align: right;\">215 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">5</td>\n <td>TV Ясин 43Е 900</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">75 000</td>\n \n <td style=\"text-align: right;\">75 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">6</td>\n <td>TV Ясин 40 Е900</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">70 000</td>\n \n <td style=\"text-align: right;\">70 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">7</td>\n <td>Морозильник Wanboo</td>\n <td style=\"text-align: right;\">2</td>\n <td style=\"text-align: right;\">85 000</td>\n \n <td style=\"text-align: right;\">170 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">1 107 000 ₸</td>\n </tr>\n \n </table>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Карта</p>\n <p>Кассир: Разия 87051556765</p>\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=d244823d8c504fa98c9678fff5692e1c';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 7076 |
}
|
| 7077 |
]
|