Kgshop commited on
Commit
cd139a5
·
verified ·
1 Parent(s): 77123e7

Automated backup transactions.json 2026-05-12 13:26:12 +05+0500

Browse files
Files changed (1) hide show
  1. transactions.json +100 -0
transactions.json CHANGED
@@ -9322,5 +9322,105 @@
9322
  "note": "",
9323
  "payment_method": "cash",
9324
  "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>Накладная 791eb40f</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 td { padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }\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>Товарная накладная № 791eb40f</h1>\n <p>от 12.05.2026 12:32</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%; white-space: nowrap;\">№</th>\n <th style=\"text-align: left; 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 <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 style=\"white-space: nowrap;\">АэрогрильQ11</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">17 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">17 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td style=\"white-space: nowrap;\">Соковыжималка А1026</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">16 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">16 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td style=\"white-space: nowrap;\">Вафель 3 в1</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">10 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">20 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td style=\"white-space: nowrap;\">Отпариватель А20</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">7 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">14 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">5</td>\n <td style=\"white-space: nowrap;\">Мульти повар 2201</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">9 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">9 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 class=\"total\">\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Итого к оплате:</td>\n <td style=\"text-align: right; white-space: nowrap;\">76 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=791eb40fed6b491c96453935f18ad179';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9325
  }
9326
  ]
 
9322
  "note": "",
9323
  "payment_method": "cash",
9324
  "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>Накладная 791eb40f</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 td { padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }\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>Товарная накладная № 791eb40f</h1>\n <p>от 12.05.2026 12:32</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%; white-space: nowrap;\">№</th>\n <th style=\"text-align: left; 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 <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 style=\"white-space: nowrap;\">АэрогрильQ11</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">17 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">17 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td style=\"white-space: nowrap;\">Соковыжималка А1026</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">16 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">16 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td style=\"white-space: nowrap;\">Вафель 3 в1</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">10 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">20 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td style=\"white-space: nowrap;\">Отпариватель А20</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">7 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">14 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">5</td>\n <td style=\"white-space: nowrap;\">Мульти повар 2201</td>\n <td style=\"text-align: right; white-space: nowrap;\">1</td>\n <td style=\"text-align: right; white-space: nowrap;\">9 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">9 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 class=\"total\">\n <td colspan=\"4\" style=\"text-align: right; white-space: nowrap;\">Итого к оплате:</td>\n <td style=\"text-align: right; white-space: nowrap;\">76 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=791eb40fed6b491c96453935f18ad179';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
9325
+ },
9326
+ {
9327
+ "id": "93b7bdda219f45ab87dca9de20d44900",
9328
+ "timestamp": "2026-05-12T13:26:12.339818+05:00",
9329
+ "type": "sale",
9330
+ "status": "completed",
9331
+ "original_transaction_id": null,
9332
+ "user_id": "492c42b143934be2a9d2639771ed6f01",
9333
+ "user_name": "Разия 87051556765",
9334
+ "kassa_id": "cc2c8d6f01af453084edde7740034332",
9335
+ "kassa_name": "Байсат 36.39",
9336
+ "shift_id": "64b896717daf410d9281f7a2fc4308b9",
9337
+ "items": [
9338
+ {
9339
+ "product_id": "55e0fc2209a1487ba431ce0fbdeb2feb",
9340
+ "variant_id": "fcc7ecde65bf40a0b8a311709394dd57",
9341
+ "name": "Духовка 7ЕD09-C8D7 (Серый)",
9342
+ "barcode": "07",
9343
+ "quantity": 2,
9344
+ "price_at_sale": "110000",
9345
+ "cost_price_at_sale": "98000",
9346
+ "discount_per_item": "0",
9347
+ "total": "220000"
9348
+ },
9349
+ {
9350
+ "product_id": null,
9351
+ "variant_id": "custom_1778573551793",
9352
+ "name": "Микро 55 G1 BL",
9353
+ "barcode": "CUSTOM",
9354
+ "quantity": 2,
9355
+ "price_at_sale": "80000",
9356
+ "cost_price_at_sale": "0",
9357
+ "discount_per_item": "0",
9358
+ "total": "160000",
9359
+ "is_custom": true
9360
+ },
9361
+ {
9362
+ "product_id": "0d1f4e0553d54e91963fbbcb2e3f45b5",
9363
+ "variant_id": "dd254024a6584b6798aabc78d7f6edad",
9364
+ "name": "Вытяжка 0860 Black (Черный)",
9365
+ "barcode": "0860Blak",
9366
+ "quantity": 2,
9367
+ "price_at_sale": "60000",
9368
+ "cost_price_at_sale": "42000",
9369
+ "discount_per_item": "5000",
9370
+ "total": "110000"
9371
+ },
9372
+ {
9373
+ "product_id": null,
9374
+ "variant_id": "custom_1778573689174",
9375
+ "name": "Плита Р 200 3х ком",
9376
+ "barcode": "CUSTOM",
9377
+ "quantity": 2,
9378
+ "price_at_sale": "45000",
9379
+ "cost_price_at_sale": "0",
9380
+ "discount_per_item": "0",
9381
+ "total": "90000",
9382
+ "is_custom": true
9383
+ },
9384
+ {
9385
+ "product_id": null,
9386
+ "variant_id": "custom_1778573783358",
9387
+ "name": "Посуд маш 070i",
9388
+ "barcode": "CUSTOM",
9389
+ "quantity": 2,
9390
+ "price_at_sale": "175000",
9391
+ "cost_price_at_sale": "0",
9392
+ "discount_per_item": "0",
9393
+ "total": "350000",
9394
+ "is_custom": true
9395
+ },
9396
+ {
9397
+ "product_id": null,
9398
+ "variant_id": "custom_1778573973709",
9399
+ "name": "Стиралки 8/5 кг LG",
9400
+ "barcode": "CUSTOM",
9401
+ "quantity": 2,
9402
+ "price_at_sale": "290000",
9403
+ "cost_price_at_sale": "0",
9404
+ "discount_per_item": "0",
9405
+ "total": "580000",
9406
+ "is_custom": true
9407
+ },
9408
+ {
9409
+ "product_id": "255b42c16fa84e9b84aa84ccb0208c4c",
9410
+ "variant_id": "3420c86f3b5e478fa6d12b5377bfda6e",
9411
+ "name": "Холодильник LG 459 MLWM (Серый)",
9412
+ "barcode": "459",
9413
+ "quantity": 2,
9414
+ "price_at_sale": "220000",
9415
+ "cost_price_at_sale": "196000",
9416
+ "discount_per_item": "0",
9417
+ "total": "440000"
9418
+ }
9419
+ ],
9420
+ "total_amount": "1950000",
9421
+ "delivery_cost": "0",
9422
+ "note": "87074992364 сами заберут ",
9423
+ "payment_method": "cash",
9424
+ "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>Накладная 93b7bdda</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 td { padding: 8px; border-bottom: 1px solid #eee; white-space: nowrap; }\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>Товарная накладная № 93b7bdda</h1>\n <p>от 12.05.2026 13:26</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%; white-space: nowrap;\">№</th>\n <th style=\"text-align: left; 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 <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 style=\"white-space: nowrap;\">Духовка 7ЕD09-C8D7 (Серый)</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">110 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">0</td>\n <td style=\"text-align: right; white-space: nowrap;\">220 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td style=\"white-space: nowrap;\">Микро 55 G1 BL</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">80 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">0</td>\n <td style=\"text-align: right; white-space: nowrap;\">160 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td style=\"white-space: nowrap;\">Вытяжка 0860 Black (Черный)</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">60 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">5 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">110 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td style=\"white-space: nowrap;\">Плита Р 200 3х ком</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 <td style=\"text-align: right; white-space: nowrap;\">0</td>\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;\">5</td>\n <td style=\"white-space: nowrap;\">Посуд маш 070i</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">175 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">0</td>\n <td style=\"text-align: right; white-space: nowrap;\">350 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">6</td>\n <td style=\"white-space: nowrap;\">Стиралки 8/5 кг LG</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">290 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">0</td>\n <td style=\"text-align: right; white-space: nowrap;\">580 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">7</td>\n <td style=\"white-space: nowrap;\">Холодильник LG 459 MLWM (Серый)</td>\n <td style=\"text-align: right; white-space: nowrap;\">2</td>\n <td style=\"text-align: right; white-space: nowrap;\">220 000</td>\n <td style=\"text-align: right; white-space: nowrap;\">0</td>\n <td style=\"text-align: right; white-space: nowrap;\">440 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr>\n <td colspan=\"5\" style=\"text-align: right; white-space: nowrap;\">Общее кол-во единиц:</td>\n <td style=\"text-align: right; white-space: nowrap;\">14</td>\n </tr>\n \n <tr class=\"total\">\n <td colspan=\"5\" style=\"text-align: right; white-space: nowrap;\">Итого к оплате:</td>\n <td style=\"text-align: right; white-space: nowrap;\">1 950 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;\">87074992364 сами заберут </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=93b7bdda219f45ab87dca9de20d44900';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
9425
  }
9426
  ]