Automated backup transactions.json 2026-05-12 10:20:24 +05+0500
Browse files- transactions.json +67 -0
transactions.json
CHANGED
|
@@ -9176,5 +9176,72 @@
|
|
| 9176 |
"note": "Гульнара Майкаин 87774932260 отправить Костя повлодар ",
|
| 9177 |
"payment_method": "cash",
|
| 9178 |
"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>Накладная 8ae6bf86</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>Товарная накладная № 8ae6bf86</h1>\n <p>от 12.05.2026 10:17</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;\">Ледброс 225</td>\n <td style=\"text-align: right; white-space: nowrap;\">10</td>\n <td style=\"text-align: right; white-space: nowrap;\">78 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">780 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td style=\"white-space: nowrap;\">Чайник деш </td>\n <td style=\"text-align: right; white-space: nowrap;\">12</td>\n <td style=\"text-align: right; white-space: nowrap;\">2 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">24 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td style=\"white-space: nowrap;\">Чайник 7016</td>\n <td style=\"text-align: right; white-space: nowrap;\">12</td>\n <td style=\"text-align: right; white-space: nowrap;\">2 300</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">27 600</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;\">34</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;\">831 600 ₸</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;\">Гульнара Майкаин 87774932260 отправить Костя повлодар </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Мухамед 87085076936</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=8ae6bf86c1d74f1a8cef01b51719ece4';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9179 |
}
|
| 9180 |
]
|
|
|
|
| 9176 |
"note": "Гульнара Майкаин 87774932260 отправить Костя повлодар ",
|
| 9177 |
"payment_method": "cash",
|
| 9178 |
"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>Накладная 8ae6bf86</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>Товарная накладная № 8ae6bf86</h1>\n <p>от 12.05.2026 10:17</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;\">Ледброс 225</td>\n <td style=\"text-align: right; white-space: nowrap;\">10</td>\n <td style=\"text-align: right; white-space: nowrap;\">78 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">780 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td style=\"white-space: nowrap;\">Чайник деш </td>\n <td style=\"text-align: right; white-space: nowrap;\">12</td>\n <td style=\"text-align: right; white-space: nowrap;\">2 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">24 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td style=\"white-space: nowrap;\">Чайник 7016</td>\n <td style=\"text-align: right; white-space: nowrap;\">12</td>\n <td style=\"text-align: right; white-space: nowrap;\">2 300</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">27 600</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;\">34</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;\">831 600 ₸</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;\">Гульнара Майкаин 87774932260 отправить Костя повлодар </p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Мухамед 87085076936</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=8ae6bf86c1d74f1a8cef01b51719ece4';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 9179 |
+
},
|
| 9180 |
+
{
|
| 9181 |
+
"id": "5901f9b6bbd041ed8ef654d119335a03",
|
| 9182 |
+
"timestamp": "2026-05-12T10:20:24.725592+05:00",
|
| 9183 |
+
"type": "sale",
|
| 9184 |
+
"status": "completed",
|
| 9185 |
+
"original_transaction_id": null,
|
| 9186 |
+
"user_id": "52830c092a7a4061b65fa01ddb2b7306",
|
| 9187 |
+
"user_name": "Мухамед 87085076936",
|
| 9188 |
+
"kassa_id": "cc2c8d6f01af453084edde7740034332",
|
| 9189 |
+
"kassa_name": "Байсат 36.39",
|
| 9190 |
+
"shift_id": "902d835aa6f5451ca389bf0df29273db",
|
| 9191 |
+
"items": [
|
| 9192 |
+
{
|
| 9193 |
+
"product_id": null,
|
| 9194 |
+
"variant_id": "custom_1778563139685",
|
| 9195 |
+
"name": "Весы 40 кг ",
|
| 9196 |
+
"barcode": "CUSTOM",
|
| 9197 |
+
"quantity": 3,
|
| 9198 |
+
"price_at_sale": "7500",
|
| 9199 |
+
"cost_price_at_sale": "0",
|
| 9200 |
+
"discount_per_item": "0",
|
| 9201 |
+
"total": "22500",
|
| 9202 |
+
"is_custom": true
|
| 9203 |
+
},
|
| 9204 |
+
{
|
| 9205 |
+
"product_id": null,
|
| 9206 |
+
"variant_id": "custom_1778563150096",
|
| 9207 |
+
"name": "Ледброс 225",
|
| 9208 |
+
"barcode": "CUSTOM",
|
| 9209 |
+
"quantity": 10,
|
| 9210 |
+
"price_at_sale": "78000",
|
| 9211 |
+
"cost_price_at_sale": "0",
|
| 9212 |
+
"discount_per_item": "0",
|
| 9213 |
+
"total": "780000",
|
| 9214 |
+
"is_custom": true
|
| 9215 |
+
},
|
| 9216 |
+
{
|
| 9217 |
+
"product_id": null,
|
| 9218 |
+
"variant_id": "custom_1778563159395",
|
| 9219 |
+
"name": "Чайник деш",
|
| 9220 |
+
"barcode": "CUSTOM",
|
| 9221 |
+
"quantity": 12,
|
| 9222 |
+
"price_at_sale": "2000",
|
| 9223 |
+
"cost_price_at_sale": "0",
|
| 9224 |
+
"discount_per_item": "0",
|
| 9225 |
+
"total": "24000",
|
| 9226 |
+
"is_custom": true
|
| 9227 |
+
},
|
| 9228 |
+
{
|
| 9229 |
+
"product_id": null,
|
| 9230 |
+
"variant_id": "custom_1778563173074",
|
| 9231 |
+
"name": "Чайник 7016",
|
| 9232 |
+
"barcode": "CUSTOM",
|
| 9233 |
+
"quantity": 12,
|
| 9234 |
+
"price_at_sale": "2300",
|
| 9235 |
+
"cost_price_at_sale": "0",
|
| 9236 |
+
"discount_per_item": "0",
|
| 9237 |
+
"total": "27600",
|
| 9238 |
+
"is_custom": true
|
| 9239 |
+
}
|
| 9240 |
+
],
|
| 9241 |
+
"total_amount": "854100",
|
| 9242 |
+
"delivery_cost": "0",
|
| 9243 |
+
"note": "Костя повлодар гульнара майкаин 87774932260",
|
| 9244 |
+
"payment_method": "cash",
|
| 9245 |
+
"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>Накладная 5901f9b6</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>Товарная накладная № 5901f9b6</h1>\n <p>от 12.05.2026 10:20</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;\">Весы 40 кг </td>\n <td style=\"text-align: right; white-space: nowrap;\">3</td>\n <td style=\"text-align: right; white-space: nowrap;\">7 500</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">22 500</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">2</td>\n <td style=\"white-space: nowrap;\">Ледброс 225</td>\n <td style=\"text-align: right; white-space: nowrap;\">10</td>\n <td style=\"text-align: right; white-space: nowrap;\">78 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">780 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">3</td>\n <td style=\"white-space: nowrap;\">Чайник деш</td>\n <td style=\"text-align: right; white-space: nowrap;\">12</td>\n <td style=\"text-align: right; white-space: nowrap;\">2 000</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">24 000</td>\n </tr>\n \n <tr>\n <td style=\"text-align: center; white-space: nowrap;\">4</td>\n <td style=\"white-space: nowrap;\">Чайник 7016</td>\n <td style=\"text-align: right; white-space: nowrap;\">12</td>\n <td style=\"text-align: right; white-space: nowrap;\">2 300</td>\n \n <td style=\"text-align: right; white-space: nowrap;\">27 600</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;\">37</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;\">854 100 ₸</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;\">Костя повлодар гульнара майкаин 87774932260</p>\n </div>\n \n <div class=\"footer-info\">\n <p>Способ оплаты: Наличные</p>\n <p>Кассир: Мухамед 87085076936</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=5901f9b6bbd041ed8ef654d119335a03';\n } else {\n alert(\"Неверный пароль или ПИН-код\");\n }\n });\n }\n </script>\n </body>\n </html>\n "
|
| 9246 |
}
|
| 9247 |
]
|