Automated backup transactions.json 2026-05-03 17:23:29 +05+0500
Browse files- transactions.json +100 -0
transactions.json
CHANGED
|
@@ -7173,5 +7173,105 @@
|
|
| 7173 |
"note": "Лайла вторник отпр ",
|
| 7174 |
"payment_method": "cash",
|
| 7175 |
"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>Накладная 46113d83</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n .details-grid { grid-template-columns: 1fr; gap: 10px; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #6c757d; color: white; border: none; border-radius: 4px;\">Печать</button>\n <button onclick=\"editReceipt()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #ffc107; color: #000; border: none; border-radius: 4px; margin-left: 10px;\">Изменить накладную</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 46113d83</h1>\n <p>от 03.05.2026 17:23</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>Стиралки LG F2V3PS6J 8 кг (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">187 000</td>\n \n <td style=\"text-align: right;\">187 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Стирка LG F2V3PS6W 8 кг (Белый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">180 000</td>\n \n <td style=\"text-align: right;\">180 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">3</td>\n <td>Холодильник LG 459 EMWM</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">215 000</td>\n \n <td style=\"text-align: right;\">215 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">4</td>\n <td>Холодильник LG 459 MLWM (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">210 000</td>\n \n <td style=\"text-align: right;\">210 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">5</td>\n <td>TV Ясин 43</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">75 000</td>\n \n <td style=\"text-align: right;\">75 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">6</td>\n <td>TV Ясин 40 Е900</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">70 000</td>\n \n <td style=\"text-align: right;\">70 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">7</td>\n <td>Морозильник 220 Wanboo </td>\n <td style=\"text-align: right;\">2</td>\n <td style=\"text-align: right;\">85 000</td>\n \n <td style=\"text-align: right;\">170 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">1 107 000 ₸</td>\n </tr>\n \n </table>\n \n <div style=\"margin-top: 20px; padding: 10px; border: 2px solid #333; background-color: #fdfdea; border-radius: 5px;\">\n <h4 style=\"margin: 0 0 5px 0; font-size: 16px;\">Примечание к заказу:</h4>\n <p style=\"margin: 0; white-space: pre-wrap; font-size: 14px;\">Лайла вторник отпр </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Разия 87051556765</p>\n </div>\n \n </div>\n <script>\n function editReceipt() {\n let code = prompt(\"Введите ПИН-код кассира или пароль администратора для изменения накладной:\");\n if (!code) return;\n fetch('/api/auth/universal', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({code: code})\n })\n .then(r => r.json())\n .then(d => {\n if (d.success) {\n window.location.href = '/?edit_tx=46113d83af414f80b7bcea224fe67b4a';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7176 |
}
|
| 7177 |
]
|
|
|
|
| 7173 |
"note": "Лайла вторник отпр ",
|
| 7174 |
"payment_method": "cash",
|
| 7175 |
"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>Накладная 46113d83</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n .details-grid { grid-template-columns: 1fr; gap: 10px; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #6c757d; color: white; border: none; border-radius: 4px;\">Печать</button>\n <button onclick=\"editReceipt()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #ffc107; color: #000; border: none; border-radius: 4px; margin-left: 10px;\">Изменить накладную</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № 46113d83</h1>\n <p>от 03.05.2026 17:23</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>Стиралки LG F2V3PS6J 8 кг (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">187 000</td>\n \n <td style=\"text-align: right;\">187 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Стирка LG F2V3PS6W 8 кг (Белый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">180 000</td>\n \n <td style=\"text-align: right;\">180 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">3</td>\n <td>Холодильник LG 459 EMWM</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">215 000</td>\n \n <td style=\"text-align: right;\">215 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">4</td>\n <td>Холодильник LG 459 MLWM (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">210 000</td>\n \n <td style=\"text-align: right;\">210 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">5</td>\n <td>TV Ясин 43</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">75 000</td>\n \n <td style=\"text-align: right;\">75 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">6</td>\n <td>TV Ясин 40 Е900</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">70 000</td>\n \n <td style=\"text-align: right;\">70 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">7</td>\n <td>Морозильник 220 Wanboo </td>\n <td style=\"text-align: right;\">2</td>\n <td style=\"text-align: right;\">85 000</td>\n \n <td style=\"text-align: right;\">170 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">1 107 000 ₸</td>\n </tr>\n \n </table>\n \n <div style=\"margin-top: 20px; padding: 10px; border: 2px solid #333; background-color: #fdfdea; border-radius: 5px;\">\n <h4 style=\"margin: 0 0 5px 0; font-size: 16px;\">Примечание к заказу:</h4>\n <p style=\"margin: 0; white-space: pre-wrap; font-size: 14px;\">Лайла вторник отпр </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Разия 87051556765</p>\n </div>\n \n </div>\n <script>\n function editReceipt() {\n let code = prompt(\"Введите ПИН-код кассира или пароль администратора для изменения накладной:\");\n if (!code) return;\n fetch('/api/auth/universal', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({code: code})\n })\n .then(r => r.json())\n .then(d => {\n if (d.success) {\n window.location.href = '/?edit_tx=46113d83af414f80b7bcea224fe67b4a';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 7176 |
+
},
|
| 7177 |
+
{
|
| 7178 |
+
"id": "e7d306c2b6ab4b5b8d16957b363a5f38",
|
| 7179 |
+
"timestamp": "2026-05-03T17:23:29.847879+05:00",
|
| 7180 |
+
"type": "sale",
|
| 7181 |
+
"status": "completed",
|
| 7182 |
+
"original_transaction_id": null,
|
| 7183 |
+
"user_id": "492c42b143934be2a9d2639771ed6f01",
|
| 7184 |
+
"user_name": "Разия 87051556765",
|
| 7185 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 7186 |
+
"kassa_name": "Байсат 36.39",
|
| 7187 |
+
"shift_id": "64b896717daf410d9281f7a2fc4308b9",
|
| 7188 |
+
"items": [
|
| 7189 |
+
{
|
| 7190 |
+
"product_id": "fa25629b8a1948a3bde0cbefc25cc6f5",
|
| 7191 |
+
"variant_id": "f019ea0e451248b19bd334178d75e6ec",
|
| 7192 |
+
"name": "Стиралки LG F2V3PS6J 8 кг (Серый)",
|
| 7193 |
+
"barcode": "PS6J",
|
| 7194 |
+
"quantity": 1,
|
| 7195 |
+
"price_at_sale": "187000",
|
| 7196 |
+
"cost_price_at_sale": "177000",
|
| 7197 |
+
"discount_per_item": "0",
|
| 7198 |
+
"total": "187000"
|
| 7199 |
+
},
|
| 7200 |
+
{
|
| 7201 |
+
"product_id": "2b227adc6ce04f9b982ca754d07ee242",
|
| 7202 |
+
"variant_id": "65302952ef2843ccaad483e0420513ec",
|
| 7203 |
+
"name": "Стирка LG F2V3PS6W 8 кг (Белый)",
|
| 7204 |
+
"barcode": "PS6W",
|
| 7205 |
+
"quantity": 1,
|
| 7206 |
+
"price_at_sale": "180000",
|
| 7207 |
+
"cost_price_at_sale": "170000",
|
| 7208 |
+
"discount_per_item": "0",
|
| 7209 |
+
"total": "180000"
|
| 7210 |
+
},
|
| 7211 |
+
{
|
| 7212 |
+
"product_id": null,
|
| 7213 |
+
"variant_id": "custom_1777810666347",
|
| 7214 |
+
"name": "Холодильник LG 459 EMWM",
|
| 7215 |
+
"barcode": "CUSTOM",
|
| 7216 |
+
"quantity": 1,
|
| 7217 |
+
"price_at_sale": "215000",
|
| 7218 |
+
"cost_price_at_sale": "0",
|
| 7219 |
+
"discount_per_item": "0",
|
| 7220 |
+
"total": "215000",
|
| 7221 |
+
"is_custom": true
|
| 7222 |
+
},
|
| 7223 |
+
{
|
| 7224 |
+
"product_id": "255b42c16fa84e9b84aa84ccb0208c4c",
|
| 7225 |
+
"variant_id": "3420c86f3b5e478fa6d12b5377bfda6e",
|
| 7226 |
+
"name": "Холодильник LG 459 MLWM (Серый)",
|
| 7227 |
+
"barcode": "459",
|
| 7228 |
+
"quantity": 1,
|
| 7229 |
+
"price_at_sale": "210000",
|
| 7230 |
+
"cost_price_at_sale": "196000",
|
| 7231 |
+
"discount_per_item": "0",
|
| 7232 |
+
"total": "210000"
|
| 7233 |
+
},
|
| 7234 |
+
{
|
| 7235 |
+
"product_id": null,
|
| 7236 |
+
"variant_id": "custom_1777810857439",
|
| 7237 |
+
"name": "TV Ясин 43",
|
| 7238 |
+
"barcode": "CUSTOM",
|
| 7239 |
+
"quantity": 1,
|
| 7240 |
+
"price_at_sale": "75000",
|
| 7241 |
+
"cost_price_at_sale": "0",
|
| 7242 |
+
"discount_per_item": "0",
|
| 7243 |
+
"total": "75000",
|
| 7244 |
+
"is_custom": true
|
| 7245 |
+
},
|
| 7246 |
+
{
|
| 7247 |
+
"product_id": null,
|
| 7248 |
+
"variant_id": "custom_1777810905608",
|
| 7249 |
+
"name": "TV Ясин 40 Е900",
|
| 7250 |
+
"barcode": "CUSTOM",
|
| 7251 |
+
"quantity": 1,
|
| 7252 |
+
"price_at_sale": "70000",
|
| 7253 |
+
"cost_price_at_sale": "0",
|
| 7254 |
+
"discount_per_item": "0",
|
| 7255 |
+
"total": "70000",
|
| 7256 |
+
"is_custom": true
|
| 7257 |
+
},
|
| 7258 |
+
{
|
| 7259 |
+
"product_id": null,
|
| 7260 |
+
"variant_id": "custom_1777810948405",
|
| 7261 |
+
"name": "Морозильник 220 Wanboo ",
|
| 7262 |
+
"barcode": "CUSTOM",
|
| 7263 |
+
"quantity": 2,
|
| 7264 |
+
"price_at_sale": "85000",
|
| 7265 |
+
"cost_price_at_sale": "0",
|
| 7266 |
+
"discount_per_item": "0",
|
| 7267 |
+
"total": "170000",
|
| 7268 |
+
"is_custom": true
|
| 7269 |
+
}
|
| 7270 |
+
],
|
| 7271 |
+
"total_amount": "1107000",
|
| 7272 |
+
"delivery_cost": "0",
|
| 7273 |
+
"note": "Лайла вторник отпр ",
|
| 7274 |
+
"payment_method": "cash",
|
| 7275 |
+
"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>Накладная e7d306c2</title>\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; padding: 10px; background-color: #f4f4f4; color: #333; }\n .invoice-box { max-width: 800px; margin: auto; padding: 20px; border: 1px solid #eee; background: white; box-shadow: 0 0 10px rgba(0,0,0,0.15); }\n .header { text-align: center; margin-bottom: 20px; }\n .header h1 { margin: 0; font-size: 22px; font-weight: 600; }\n .header p { margin: 2px 0; font-size: 14px; }\n .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; font-size: 14px; }\n table { width: 100%; line-height: inherit; text-align: left; border-collapse: collapse; }\n table th { background: #f2f2f2; font-weight: bold; padding: 8px; border-bottom: 2px solid #ddd; }\n table td { padding: 8px; border-bottom: 1px solid #eee; }\n table tr.total td { font-weight: bold; font-size: 1.1em; border-top: 2px solid #ddd; }\n .footer-info { font-size: 14px; margin-top: 20px; }\n .print-hide { display: block; }\n @media print {\n body { margin: 0; padding: 0; background-color: #fff; }\n .invoice-box { box-shadow: none; border: none; margin: 0; padding: 0; }\n .print-hide { display: none; }\n }\n @media screen and (max-width: 600px) {\n body { padding: 0; }\n .invoice-box { padding: 15px; box-shadow: none; border: none; }\n .details-grid { grid-template-columns: 1fr; gap: 10px; }\n table th, table td { font-size: 12px; padding: 5px; }\n .header h1 { font-size: 18px; }\n .header p { font-size: 12px; }\n table tr.total td { font-size: 1em; }\n }\n </style>\n </head>\n <body>\n <div class=\"invoice-box\">\n <div class=\"print-hide\" style=\"text-align: right; margin-bottom: 20px;\">\n <button onclick=\"window.print()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #6c757d; color: white; border: none; border-radius: 4px;\">Печать</button>\n <button onclick=\"editReceipt()\" style=\"padding: 8px 12px; font-size: 14px; cursor: pointer; background: #ffc107; color: #000; border: none; border-radius: 4px; margin-left: 10px;\">Изменить накладную</button>\n </div>\n <div class=\"header\">\n <h1>Товарная накладная № e7d306c2</h1>\n <p>от 03.05.2026 17:23</p>\n </div>\n <table>\n <thead>\n <tr>\n <th style=\"text-align: center; width: 5%;\">№</th>\n <th style=\"text-align: left;\">Наименование</th>\n <th style=\"text-align: right;\">Кол-во</th>\n <th style=\"text-align: right;\">Цена</th>\n <th style=\"text-align: right;\">Сумма</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td style=\"text-align: center;\">1</td>\n <td>Стиралки LG F2V3PS6J 8 кг (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">187 000</td>\n \n <td style=\"text-align: right;\">187 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">2</td>\n <td>Стирка LG F2V3PS6W 8 кг (Белый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">180 000</td>\n \n <td style=\"text-align: right;\">180 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">3</td>\n <td>Холодильник LG 459 EMWM</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">215 000</td>\n \n <td style=\"text-align: right;\">215 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">4</td>\n <td>Холодильник LG 459 MLWM (Серый)</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">210 000</td>\n \n <td style=\"text-align: right;\">210 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">5</td>\n <td>TV Ясин 43</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">75 000</td>\n \n <td style=\"text-align: right;\">75 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">6</td>\n <td>TV Ясин 40 Е900</td>\n <td style=\"text-align: right;\">1</td>\n <td style=\"text-align: right;\">70 000</td>\n \n <td style=\"text-align: right;\">70 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center;\">7</td>\n <td>Морозильник 220 Wanboo </td>\n <td style=\"text-align: right;\">2</td>\n <td style=\"text-align: right;\">85 000</td>\n \n <td style=\"text-align: right;\">170 000</td>\n </tr>\n </tbody>\n </table>\n <table style=\"margin-top: 20px;\">\n \n <tr class=\"total\">\n <td colspan=\"4\" style=\"text-align: right;\">Итого к оплате:</td>\n <td style=\"text-align: right;\">1 107 000 ₸</td>\n </tr>\n \n </table>\n \n <div style=\"margin-top: 20px; padding: 10px; border: 2px solid #333; background-color: #fdfdea; border-radius: 5px;\">\n <h4 style=\"margin: 0 0 5px 0; font-size: 16px;\">Примечание к заказу:</h4>\n <p style=\"margin: 0; white-space: pre-wrap; font-size: 14px;\">Лайла вторник отпр </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Разия 87051556765</p>\n </div>\n \n </div>\n <script>\n function editReceipt() {\n let code = prompt(\"Введите ПИН-код кассира или пароль администратора для изменения накладной:\");\n if (!code) return;\n fetch('/api/auth/universal', {\n method: 'POST',\n headers: {'Content-Type': 'application/json'},\n body: JSON.stringify({code: code})\n })\n .then(r => r.json())\n .then(d => {\n if (d.success) {\n window.location.href = '/?edit_tx=e7d306c2b6ab4b5b8d16957b363a5f38';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 7276 |
}
|
| 7277 |
]
|