Automated backup transactions.json 2026-05-20 11:20:05 +05+0500
Browse files- transactions.json +126 -0
transactions.json
CHANGED
|
@@ -12509,5 +12509,131 @@
|
|
| 12509 |
"note": "Оплочено ",
|
| 12510 |
"payment_method": "cash",
|
| 12511 |
"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>Накладная eb648055</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>Товарная накладная № eb648055</h1>\n <p>от 20.05.2026 10:19</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\">0860 В</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\">Р-200 ВА</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">45 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">45 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;\">2</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;\">100 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 <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Наличные</p>\n <p style=\"margin: 2px 0;\">Кассир: Мухамед 87085076936</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=eb648055b73c4aee826198bd38616484';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12512 |
}
|
| 12513 |
]
|
|
|
|
| 12509 |
"note": "Оплочено ",
|
| 12510 |
"payment_method": "cash",
|
| 12511 |
"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>Накладная eb648055</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>Товарная накладная № eb648055</h1>\n <p>от 20.05.2026 10:19</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\">0860 В</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\">Р-200 ВА</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">45 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">45 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;\">2</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;\">100 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 <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Наличные</p>\n <p style=\"margin: 2px 0;\">Кассир: Мухамед 87085076936</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=eb648055b73c4aee826198bd38616484';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 12512 |
+
},
|
| 12513 |
+
{
|
| 12514 |
+
"id": "5540986a732b4b08ba6a854f734b4c75",
|
| 12515 |
+
"timestamp": "2026-05-20T11:20:05.182592+05:00",
|
| 12516 |
+
"type": "sale",
|
| 12517 |
+
"status": "completed",
|
| 12518 |
+
"original_transaction_id": null,
|
| 12519 |
+
"user_id": "52830c092a7a4061b65fa01ddb2b7306",
|
| 12520 |
+
"user_name": "Мухамед 87085076936",
|
| 12521 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 12522 |
+
"kassa_name": "Байсат 36.39",
|
| 12523 |
+
"shift_id": "902d835aa6f5451ca389bf0df29273db",
|
| 12524 |
+
"items": [
|
| 12525 |
+
{
|
| 12526 |
+
"product_id": null,
|
| 12527 |
+
"variant_id": "custom_1779256781508",
|
| 12528 |
+
"name": "LG HS5J",
|
| 12529 |
+
"barcode": "CUSTOM",
|
| 12530 |
+
"quantity": 1,
|
| 12531 |
+
"price_at_sale": "185000",
|
| 12532 |
+
"cost_price_at_sale": "0",
|
| 12533 |
+
"discount_per_item": "0",
|
| 12534 |
+
"total": "185000",
|
| 12535 |
+
"is_custom": true
|
| 12536 |
+
},
|
| 12537 |
+
{
|
| 12538 |
+
"product_id": null,
|
| 12539 |
+
"variant_id": "custom_1779257183301",
|
| 12540 |
+
"name": "LG 5320",
|
| 12541 |
+
"barcode": "CUSTOM",
|
| 12542 |
+
"quantity": 1,
|
| 12543 |
+
"price_at_sale": "40000",
|
| 12544 |
+
"cost_price_at_sale": "0",
|
| 12545 |
+
"discount_per_item": "0",
|
| 12546 |
+
"total": "40000",
|
| 12547 |
+
"is_custom": true
|
| 12548 |
+
},
|
| 12549 |
+
{
|
| 12550 |
+
"product_id": null,
|
| 12551 |
+
"variant_id": "custom_1779257205290",
|
| 12552 |
+
"name": "Веста 10Е чугун бел",
|
| 12553 |
+
"barcode": "CUSTOM",
|
| 12554 |
+
"quantity": 1,
|
| 12555 |
+
"price_at_sale": "120000",
|
| 12556 |
+
"cost_price_at_sale": "0",
|
| 12557 |
+
"discount_per_item": "0",
|
| 12558 |
+
"total": "120000",
|
| 12559 |
+
"is_custom": true
|
| 12560 |
+
},
|
| 12561 |
+
{
|
| 12562 |
+
"product_id": null,
|
| 12563 |
+
"variant_id": "custom_1779257227052",
|
| 12564 |
+
"name": "Wanbo 375 W",
|
| 12565 |
+
"barcode": "CUSTOM",
|
| 12566 |
+
"quantity": 1,
|
| 12567 |
+
"price_at_sale": "100000",
|
| 12568 |
+
"cost_price_at_sale": "0",
|
| 12569 |
+
"discount_per_item": "0",
|
| 12570 |
+
"total": "100000",
|
| 12571 |
+
"is_custom": true
|
| 12572 |
+
},
|
| 12573 |
+
{
|
| 12574 |
+
"product_id": null,
|
| 12575 |
+
"variant_id": "custom_1779257410717",
|
| 12576 |
+
"name": "Чайник СХ5",
|
| 12577 |
+
"barcode": "CUSTOM",
|
| 12578 |
+
"quantity": 1,
|
| 12579 |
+
"price_at_sale": "5000",
|
| 12580 |
+
"cost_price_at_sale": "0",
|
| 12581 |
+
"discount_per_item": "0",
|
| 12582 |
+
"total": "5000",
|
| 12583 |
+
"is_custom": true
|
| 12584 |
+
},
|
| 12585 |
+
{
|
| 12586 |
+
"product_id": null,
|
| 12587 |
+
"variant_id": "custom_1779257479785",
|
| 12588 |
+
"name": "Утюг 233",
|
| 12589 |
+
"barcode": "CUSTOM",
|
| 12590 |
+
"quantity": 1,
|
| 12591 |
+
"price_at_sale": "7000",
|
| 12592 |
+
"cost_price_at_sale": "0",
|
| 12593 |
+
"discount_per_item": "0",
|
| 12594 |
+
"total": "7000",
|
| 12595 |
+
"is_custom": true
|
| 12596 |
+
},
|
| 12597 |
+
{
|
| 12598 |
+
"product_id": null,
|
| 12599 |
+
"variant_id": "custom_1779257787189",
|
| 12600 |
+
"name": "Микро ММ7РО12VS W",
|
| 12601 |
+
"barcode": "CUSTOM",
|
| 12602 |
+
"quantity": 1,
|
| 12603 |
+
"price_at_sale": "23000",
|
| 12604 |
+
"cost_price_at_sale": "0",
|
| 12605 |
+
"discount_per_item": "0",
|
| 12606 |
+
"total": "23000",
|
| 12607 |
+
"is_custom": true
|
| 12608 |
+
},
|
| 12609 |
+
{
|
| 12610 |
+
"product_id": "2157050144d14303afa63b1cccd3b8b8",
|
| 12611 |
+
"variant_id": "5025e989753c4d24a81d59eb5b470754",
|
| 12612 |
+
"name": "Гладилка ingi (Цветная)",
|
| 12613 |
+
"barcode": "001",
|
| 12614 |
+
"quantity": 1,
|
| 12615 |
+
"price_at_sale": "13000",
|
| 12616 |
+
"cost_price_at_sale": "10900",
|
| 12617 |
+
"discount_per_item": "0",
|
| 12618 |
+
"total": "13000"
|
| 12619 |
+
},
|
| 12620 |
+
{
|
| 12621 |
+
"product_id": null,
|
| 12622 |
+
"variant_id": "custom_1779257949911",
|
| 12623 |
+
"name": "Диамон ",
|
| 12624 |
+
"barcode": "CUSTOM",
|
| 12625 |
+
"quantity": 1,
|
| 12626 |
+
"price_at_sale": "8000",
|
| 12627 |
+
"cost_price_at_sale": "0",
|
| 12628 |
+
"discount_per_item": "0",
|
| 12629 |
+
"total": "8000",
|
| 12630 |
+
"is_custom": true
|
| 12631 |
+
}
|
| 12632 |
+
],
|
| 12633 |
+
"total_amount": "501000",
|
| 12634 |
+
"delivery_cost": "0",
|
| 12635 |
+
"note": "Оплочено ",
|
| 12636 |
+
"payment_method": "cash",
|
| 12637 |
+
"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>Накладная 5540986a</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>Товарная накладная № 5540986a</h1>\n <p>от 20.05.2026 11:20</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\">LG HS5J</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">185 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">185 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">LG 5320</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;\">3</td>\n <td class=\"name-col\">Веста 10Е чугун бел</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">120 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">120 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td class=\"name-col\">Wanbo 375 W</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">100 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">100 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">5</td>\n <td class=\"name-col\">Чайник СХ5</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">5 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">5 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">6</td>\n <td class=\"name-col\">Утюг 233</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">7 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">7 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">7</td>\n <td class=\"name-col\">Микро ММ7РО12VS W</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">23 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">23 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">8</td>\n <td class=\"name-col\">Гладилка ingi (Цветная)</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">13 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">13 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">9</td>\n <td class=\"name-col\">Диамон </td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">8 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">8 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;\">9</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;\">501 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 <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Наличные</p>\n <p style=\"margin: 2px 0;\">Кассир: Мухамед 87085076936</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=5540986a732b4b08ba6a854f734b4c75';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 12638 |
}
|
| 12639 |
]
|