Kgshop commited on
Commit
5005b32
·
verified ·
1 Parent(s): 8db0385

Automated backup transactions.json 2026-06-25 10:50:00 +05+0500

Browse files
Files changed (1) hide show
  1. transactions.json +127 -0
transactions.json CHANGED
@@ -38587,5 +38587,132 @@
38587
  "note": "ЖК \" Хан тенгри\" ул. Кенесары хан, 54 /25 , 38 ‪+7 778 127 0679‬ ",
38588
  "payment_method": "card",
38589
  "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>Накладная 596ad6ad</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>Товарная накладная № 596ad6ad</h1>\n <p>от 25.06.2026 09:41</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\">Холодильник 185 LEX</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">150 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">150 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;\">1</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;\">150 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;\">ЖК \" Хан тенгри\" ул. Кенесары хан, 54 /25 , 38 ‪+7 778 127 0679‬ </p>\n </div>\n \n <div class=\"footer-info\">\n <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Карта</p>\n <p style=\"margin: 2px 0;\">Кассир: Разия 87051556765</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=596ad6ad97084f44b580c22994232bc0';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38590
  }
38591
  ]
 
38587
  "note": "ЖК \" Хан тенгри\" ул. Кенесары хан, 54 /25 , 38 ‪+7 778 127 0679‬ ",
38588
  "payment_method": "card",
38589
  "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>Накладная 596ad6ad</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>Товарная накладная № 596ad6ad</h1>\n <p>от 25.06.2026 09:41</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\">Холодильник 185 LEX</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">150 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">150 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;\">1</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;\">150 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;\">ЖК \" Хан тенгри\" ул. Кенесары хан, 54 /25 , 38 ‪+7 778 127 0679‬ </p>\n </div>\n \n <div class=\"footer-info\">\n <div>\n <p style=\"margin: 2px 0;\">Способ оплаты: Карта</p>\n <p style=\"margin: 2px 0;\">Кассир: Разия 87051556765</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=596ad6ad97084f44b580c22994232bc0';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
38590
+ },
38591
+ {
38592
+ "id": "56eb2c74230a40409102f70e90883a2b",
38593
+ "timestamp": "2026-06-25T10:50:00.715709+05:00",
38594
+ "type": "sale",
38595
+ "status": "completed",
38596
+ "original_transaction_id": null,
38597
+ "user_id": "afa9709997bf4600a6db7c6bef852032",
38598
+ "user_name": "Тахир 87073885868",
38599
+ "kassa_id": "cc2c8d6f01af453084edde7740034332",
38600
+ "kassa_name": "Байсат 36.39",
38601
+ "shift_id": "62088452ca294a75acd9671401a9456e",
38602
+ "items": [
38603
+ {
38604
+ "product_id": null,
38605
+ "variant_id": "custom_1782365998638",
38606
+ "name": "Вытяжка ТВ-1690 black ",
38607
+ "barcode": "CUSTOM",
38608
+ "quantity": 2,
38609
+ "price_at_sale": "56000",
38610
+ "cost_price_at_sale": "0",
38611
+ "discount_per_item": "0",
38612
+ "total": "112000",
38613
+ "is_custom": true
38614
+ },
38615
+ {
38616
+ "product_id": null,
38617
+ "variant_id": "custom_1782366095419",
38618
+ "name": "Вытяжка ТВ-1390 black вещный фильтр ",
38619
+ "barcode": "CUSTOM",
38620
+ "quantity": 2,
38621
+ "price_at_sale": "45000",
38622
+ "cost_price_at_sale": "0",
38623
+ "discount_per_item": "0",
38624
+ "total": "90000",
38625
+ "is_custom": true
38626
+ },
38627
+ {
38628
+ "product_id": null,
38629
+ "variant_id": "custom_1782366140667",
38630
+ "name": "Вытяжка ТI-2435 black ",
38631
+ "barcode": "CUSTOM",
38632
+ "quantity": 2,
38633
+ "price_at_sale": "105000",
38634
+ "cost_price_at_sale": "0",
38635
+ "discount_per_item": "0",
38636
+ "total": "210000",
38637
+ "is_custom": true
38638
+ },
38639
+ {
38640
+ "product_id": null,
38641
+ "variant_id": "custom_1782366187469",
38642
+ "name": "Микроволновка 55G1 black ",
38643
+ "barcode": "CUSTOM",
38644
+ "quantity": 2,
38645
+ "price_at_sale": "74000",
38646
+ "cost_price_at_sale": "0",
38647
+ "discount_per_item": "0",
38648
+ "total": "148000",
38649
+ "is_custom": true
38650
+ },
38651
+ {
38652
+ "product_id": null,
38653
+ "variant_id": "custom_1782366240732",
38654
+ "name": "Микроволновка 55G1 WHINTE ",
38655
+ "barcode": "CUSTOM",
38656
+ "quantity": 2,
38657
+ "price_at_sale": "69000",
38658
+ "cost_price_at_sale": "0",
38659
+ "discount_per_item": "0",
38660
+ "total": "138000",
38661
+ "is_custom": true
38662
+ },
38663
+ {
38664
+ "product_id": null,
38665
+ "variant_id": "custom_1782366350006",
38666
+ "name": "Индукционная 1Н2-ВВСС",
38667
+ "barcode": "CUSTOM",
38668
+ "quantity": 2,
38669
+ "price_at_sale": "58000",
38670
+ "cost_price_at_sale": "0",
38671
+ "discount_per_item": "0",
38672
+ "total": "116000",
38673
+ "is_custom": true
38674
+ },
38675
+ {
38676
+ "product_id": null,
38677
+ "variant_id": "custom_1782366429231",
38678
+ "name": "Кулер с ультрафильтром с подключением к водопроводу",
38679
+ "barcode": "CUSTOM",
38680
+ "quantity": 49000,
38681
+ "price_at_sale": "2",
38682
+ "cost_price_at_sale": "0",
38683
+ "discount_per_item": "0",
38684
+ "total": "98000",
38685
+ "is_custom": true
38686
+ },
38687
+ {
38688
+ "product_id": null,
38689
+ "variant_id": "custom_1782366510087",
38690
+ "name": "Водонагреватель 50л. Хайсенс титановый бак",
38691
+ "barcode": "CUSTOM",
38692
+ "quantity": 3,
38693
+ "price_at_sale": "37500",
38694
+ "cost_price_at_sale": "0",
38695
+ "discount_per_item": "0",
38696
+ "total": "112500",
38697
+ "is_custom": true
38698
+ },
38699
+ {
38700
+ "product_id": null,
38701
+ "variant_id": "custom_1782366594843",
38702
+ "name": "ТН60-1 ТН60-2 совместно ",
38703
+ "barcode": "CUSTOM",
38704
+ "quantity": 20,
38705
+ "price_at_sale": "140000",
38706
+ "cost_price_at_sale": "0",
38707
+ "discount_per_item": "0",
38708
+ "total": "2800000",
38709
+ "is_custom": true
38710
+ }
38711
+ ],
38712
+ "total_amount": "3824500",
38713
+ "delivery_cost": "0",
38714
+ "note": "",
38715
+ "payment_method": "cash",
38716
+ "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>Накладная 56eb2c74</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>Товарная накладная № 56eb2c74</h1>\n <p>от 25.06.2026 10:50</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\">Вытяжка ТВ-1690 black </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">56 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">112 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td class=\"name-col\">Вытяжка ТВ-1390 black вещный фильтр </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">45 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">90 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td class=\"name-col\">Вытяжка ТI-2435 black </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">105 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">210 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td class=\"name-col\">Микроволновка 55G1 black </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">74 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">148 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">5</td>\n <td class=\"name-col\">Микроволновка 55G1 WHINTE </td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">69 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">138 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">6</td>\n <td class=\"name-col\">Индукционная 1Н2-ВВСС</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">58 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">116 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">7</td>\n <td class=\"name-col\">Кулер с ультрафильтром с подключением к водопроводу</td>\n <td style=\"text-align: right; white-space: nowrap;\">49000</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">98 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">8</td>\n <td class=\"name-col\">Водонагреватель 50л. Хайсенс титановый бак</td>\n <td style=\"text-align: right; white-space: nowrap;\">3</td>\n <td style=\"text-align: right; white-space: nowrap;\">37 500</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">112 500</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">9</td>\n <td class=\"name-col\">ТН60-1 ТН60-2 совместно </td>\n <td style=\"text-align: right; white-space: nowrap;\">20</td>\n <td style=\"text-align: right; white-space: nowrap;\">140 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">2 800 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;\">49035</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;\">3 824 500 ₸</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=56eb2c74230a40409102f70e90883a2b';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
38717
  }
38718
  ]