Automated backup transactions.json 2026-05-20 15:08:03 +05+0500
Browse files- transactions.json +151 -0
transactions.json
CHANGED
|
@@ -12860,5 +12860,156 @@
|
|
| 12860 |
"note": "",
|
| 12861 |
"payment_method": "cash",
|
| 12862 |
"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>Накладная 65620460</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>Товарная накладная № 65620460</h1>\n <p>от 20.05.2026 14:59</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\">Духовой 06-сд чёрный</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">Вытишка ТН0960 w </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">30 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">60 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;\">3</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;\">155 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;\">Кассир: Тахир 87073885868</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=656204605cfb410a84cd9d9c9e296d9b';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12863 |
}
|
| 12864 |
]
|
|
|
|
| 12860 |
"note": "",
|
| 12861 |
"payment_method": "cash",
|
| 12862 |
"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>Накладная 65620460</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>Товарная накладная № 65620460</h1>\n <p>от 20.05.2026 14:59</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\">Духовой 06-сд чёрный</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">Вытишка ТН0960 w </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">30 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">60 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;\">3</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;\">155 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;\">Кассир: Тахир 87073885868</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=656204605cfb410a84cd9d9c9e296d9b';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 12863 |
+
},
|
| 12864 |
+
{
|
| 12865 |
+
"id": "86783d1b9ce241c0aa5bf6cbdbfd347b",
|
| 12866 |
+
"timestamp": "2026-05-20T15:08:03.387812+05:00",
|
| 12867 |
+
"type": "sale",
|
| 12868 |
+
"status": "completed",
|
| 12869 |
+
"original_transaction_id": null,
|
| 12870 |
+
"user_id": "afa9709997bf4600a6db7c6bef852032",
|
| 12871 |
+
"user_name": "Тахир 87073885868",
|
| 12872 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 12873 |
+
"kassa_name": "Байсат 36.39",
|
| 12874 |
+
"shift_id": "df0b42325bb8499c887054acc518a32a",
|
| 12875 |
+
"items": [
|
| 12876 |
+
{
|
| 12877 |
+
"product_id": null,
|
| 12878 |
+
"variant_id": "custom_1779271273198",
|
| 12879 |
+
"name": "Духовой 06-CD чёрный ",
|
| 12880 |
+
"barcode": "CUSTOM",
|
| 12881 |
+
"quantity": 2,
|
| 12882 |
+
"price_at_sale": "95000",
|
| 12883 |
+
"cost_price_at_sale": "0",
|
| 12884 |
+
"discount_per_item": "0",
|
| 12885 |
+
"total": "190000",
|
| 12886 |
+
"is_custom": true
|
| 12887 |
+
},
|
| 12888 |
+
{
|
| 12889 |
+
"product_id": null,
|
| 12890 |
+
"variant_id": "custom_1779271314788",
|
| 12891 |
+
"name": "вытишка ТН0960 W",
|
| 12892 |
+
"barcode": "CUSTOM",
|
| 12893 |
+
"quantity": 2,
|
| 12894 |
+
"price_at_sale": "30000",
|
| 12895 |
+
"cost_price_at_sale": "0",
|
| 12896 |
+
"discount_per_item": "0",
|
| 12897 |
+
"total": "60000",
|
| 12898 |
+
"is_custom": true
|
| 12899 |
+
},
|
| 12900 |
+
{
|
| 12901 |
+
"product_id": null,
|
| 12902 |
+
"variant_id": "custom_1779271355535",
|
| 12903 |
+
"name": "Вытишка UA1660 Black",
|
| 12904 |
+
"barcode": "CUSTOM",
|
| 12905 |
+
"quantity": 3,
|
| 12906 |
+
"price_at_sale": "60000",
|
| 12907 |
+
"cost_price_at_sale": "0",
|
| 12908 |
+
"discount_per_item": "0",
|
| 12909 |
+
"total": "180000",
|
| 12910 |
+
"is_custom": true
|
| 12911 |
+
},
|
| 12912 |
+
{
|
| 12913 |
+
"product_id": null,
|
| 12914 |
+
"variant_id": "custom_1779271414226",
|
| 12915 |
+
"name": "Вытишка TV4160 White ",
|
| 12916 |
+
"barcode": "CUSTOM",
|
| 12917 |
+
"quantity": 1,
|
| 12918 |
+
"price_at_sale": "38000",
|
| 12919 |
+
"cost_price_at_sale": "0",
|
| 12920 |
+
"discount_per_item": "0",
|
| 12921 |
+
"total": "38000",
|
| 12922 |
+
"is_custom": true
|
| 12923 |
+
},
|
| 12924 |
+
{
|
| 12925 |
+
"product_id": null,
|
| 12926 |
+
"variant_id": "custom_1779271445886",
|
| 12927 |
+
"name": "Вытишка TV4160 Black",
|
| 12928 |
+
"barcode": "CUSTOM",
|
| 12929 |
+
"quantity": 1,
|
| 12930 |
+
"price_at_sale": "38000",
|
| 12931 |
+
"cost_price_at_sale": "0",
|
| 12932 |
+
"discount_per_item": "0",
|
| 12933 |
+
"total": "38000",
|
| 12934 |
+
"is_custom": true
|
| 12935 |
+
},
|
| 12936 |
+
{
|
| 12937 |
+
"product_id": null,
|
| 12938 |
+
"variant_id": "custom_1779271526726",
|
| 12939 |
+
"name": "Диспенсер сер-чер 08 фреон ",
|
| 12940 |
+
"barcode": "CUSTOM",
|
| 12941 |
+
"quantity": 2,
|
| 12942 |
+
"price_at_sale": "39000",
|
| 12943 |
+
"cost_price_at_sale": "0",
|
| 12944 |
+
"discount_per_item": "0",
|
| 12945 |
+
"total": "78000",
|
| 12946 |
+
"is_custom": true
|
| 12947 |
+
},
|
| 12948 |
+
{
|
| 12949 |
+
"product_id": null,
|
| 12950 |
+
"variant_id": "custom_1779271552426",
|
| 12951 |
+
"name": "Кондиционер 09",
|
| 12952 |
+
"barcode": "CUSTOM",
|
| 12953 |
+
"quantity": 1,
|
| 12954 |
+
"price_at_sale": "75000",
|
| 12955 |
+
"cost_price_at_sale": "0",
|
| 12956 |
+
"discount_per_item": "0",
|
| 12957 |
+
"total": "75000",
|
| 12958 |
+
"is_custom": true
|
| 12959 |
+
},
|
| 12960 |
+
{
|
| 12961 |
+
"product_id": null,
|
| 12962 |
+
"variant_id": "custom_1779271597147",
|
| 12963 |
+
"name": "Кондиционер 11",
|
| 12964 |
+
"barcode": "CUSTOM",
|
| 12965 |
+
"quantity": 1,
|
| 12966 |
+
"price_at_sale": "86000",
|
| 12967 |
+
"cost_price_at_sale": "0",
|
| 12968 |
+
"discount_per_item": "0",
|
| 12969 |
+
"total": "86000",
|
| 12970 |
+
"is_custom": true
|
| 12971 |
+
},
|
| 12972 |
+
{
|
| 12973 |
+
"product_id": null,
|
| 12974 |
+
"variant_id": "custom_1779271626231",
|
| 12975 |
+
"name": "Кондиционер 12",
|
| 12976 |
+
"barcode": "CUSTOM",
|
| 12977 |
+
"quantity": 1,
|
| 12978 |
+
"price_at_sale": "95000",
|
| 12979 |
+
"cost_price_at_sale": "0",
|
| 12980 |
+
"discount_per_item": "0",
|
| 12981 |
+
"total": "95000",
|
| 12982 |
+
"is_custom": true
|
| 12983 |
+
},
|
| 12984 |
+
{
|
| 12985 |
+
"product_id": null,
|
| 12986 |
+
"variant_id": "custom_1779271648142",
|
| 12987 |
+
"name": "Кондиционер 14 ",
|
| 12988 |
+
"barcode": "CUSTOM",
|
| 12989 |
+
"quantity": 1,
|
| 12990 |
+
"price_at_sale": "115000",
|
| 12991 |
+
"cost_price_at_sale": "0",
|
| 12992 |
+
"discount_per_item": "0",
|
| 12993 |
+
"total": "115000",
|
| 12994 |
+
"is_custom": true
|
| 12995 |
+
},
|
| 12996 |
+
{
|
| 12997 |
+
"product_id": null,
|
| 12998 |
+
"variant_id": "custom_1779271671687",
|
| 12999 |
+
"name": "Кондиционер 18 ",
|
| 13000 |
+
"barcode": "CUSTOM",
|
| 13001 |
+
"quantity": 1,
|
| 13002 |
+
"price_at_sale": "200000",
|
| 13003 |
+
"cost_price_at_sale": "0",
|
| 13004 |
+
"discount_per_item": "0",
|
| 13005 |
+
"total": "200000",
|
| 13006 |
+
"is_custom": true
|
| 13007 |
+
}
|
| 13008 |
+
],
|
| 13009 |
+
"total_amount": "1155000",
|
| 13010 |
+
"delivery_cost": "0",
|
| 13011 |
+
"note": "",
|
| 13012 |
+
"payment_method": "cash",
|
| 13013 |
+
"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>Накладная 86783d1b</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>Товарная накладная № 86783d1b</h1>\n <p>от 20.05.2026 15:08</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\">Духовой 06-CD чёрный </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 \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">вытишка ТН0960 W</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">30 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">60 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td class=\"name-col\">Вытишка UA1660 Black</td>\n <td style=\"text-align: right; white-space: nowrap;\">3</td>\n <td style=\"text-align: right; white-space: nowrap;\">60 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">180 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td class=\"name-col\">Вытишка TV4160 White </td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">38 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">38 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">5</td>\n <td class=\"name-col\">Вытишка TV4160 Black</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">38 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">38 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">6</td>\n <td class=\"name-col\">Диспенсер сер-чер 08 фреон </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">39 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">78 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">7</td>\n <td class=\"name-col\">Кондиционер 09</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">75 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">75 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">8</td>\n <td class=\"name-col\">Кондиционер 11</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">86 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">86 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">9</td>\n <td class=\"name-col\">Кондиционер 12</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">95 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">10</td>\n <td class=\"name-col\">Кондиционер 14 </td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">115 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">115 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">11</td>\n <td class=\"name-col\">Кондиционер 18 </td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">200 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">200 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;\">16</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;\">1 155 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;\">Кассир: Тахир 87073885868</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=86783d1b9ce241c0aa5bf6cbdbfd347b';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 13014 |
}
|
| 13015 |
]
|