Kgshop commited on
Commit
35d0f0c
·
verified ·
1 Parent(s): 0db27e9

Automated backup transactions.json 2025-08-25 16:44:12 +06+0600

Browse files
Files changed (1) hide show
  1. transactions.json +26 -0
transactions.json CHANGED
@@ -174,5 +174,31 @@
174
  "total_amount": "38000.00",
175
  "payment_method": "cash",
176
  "receipt_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>Чек 53860652</title>\n <style>\n body { font-family: 'Courier New', monospace; margin: 0; padding: 20px; background-color: #f4f4f4; }\n .receipt { max-width: 350px; margin: auto; background: white; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }\n h2, p { text-align: center; margin: 5px 0; }\n table { width: 100%; border-collapse: collapse; margin: 15px 0; }\n th, td { padding: 5px; border-bottom: 1px dashed #ccc; }\n .total { font-weight: bold; font-size: 1.2em; }\n </style>\n </head>\n <body>\n <div class=\"receipt\">\n <h2>Магазин \"Kgshop\"</h2>\n <p>--------------------------------</p>\n <p>Чек №: 53860652</p>\n <p>Дата: 25.08.2025 13:42</p>\n <p>Кассир: Ермек</p>\n <p>--------------------------------</p>\n <table>\n <thead>\n <tr>\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>1801 (Красный)</td>\n <td style=\"text-align: right;\">38</td>\n <td style=\"text-align: right;\">1 000,00</td>\n <td style=\"text-align: right;\">38 000,00</td>\n </tr>\n </tbody>\n </table>\n <p>--------------------------------</p>\n <p class=\"total\">Итого: 38 000,00 с</p>\n <p>Способ оплаты: Наличные</p>\n <p>--------------------------------</p>\n <p>Спасибо за покупку!</p>\n </div>\n </body>\n </html>\n "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  }
178
  ]
 
174
  "total_amount": "38000.00",
175
  "payment_method": "cash",
176
  "receipt_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>Чек 53860652</title>\n <style>\n body { font-family: 'Courier New', monospace; margin: 0; padding: 20px; background-color: #f4f4f4; }\n .receipt { max-width: 350px; margin: auto; background: white; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }\n h2, p { text-align: center; margin: 5px 0; }\n table { width: 100%; border-collapse: collapse; margin: 15px 0; }\n th, td { padding: 5px; border-bottom: 1px dashed #ccc; }\n .total { font-weight: bold; font-size: 1.2em; }\n </style>\n </head>\n <body>\n <div class=\"receipt\">\n <h2>Магазин \"Kgshop\"</h2>\n <p>--------------------------------</p>\n <p>Чек №: 53860652</p>\n <p>Дата: 25.08.2025 13:42</p>\n <p>Кассир: Ермек</p>\n <p>--------------------------------</p>\n <table>\n <thead>\n <tr>\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>1801 (Красный)</td>\n <td style=\"text-align: right;\">38</td>\n <td style=\"text-align: right;\">1 000,00</td>\n <td style=\"text-align: right;\">38 000,00</td>\n </tr>\n </tbody>\n </table>\n <p>--------------------------------</p>\n <p class=\"total\">Итого: 38 000,00 с</p>\n <p>Способ оплаты: Наличные</p>\n <p>--------------------------------</p>\n <p>Спасибо за покупку!</p>\n </div>\n </body>\n </html>\n "
177
+ },
178
+ {
179
+ "id": "09052eae46124b48b0be37bc2c0b5bb0",
180
+ "timestamp": "2025-08-25T16:44:12.694317+06:00",
181
+ "type": "sale",
182
+ "status": "completed",
183
+ "original_transaction_id": null,
184
+ "user_id": "7bb65b71a4154d19a536b8cfc5283d9c",
185
+ "user_name": "Ермек",
186
+ "kassa_id": "8212fa3531a449819a64b0d6df359699",
187
+ "kassa_name": "Дордой",
188
+ "items": [
189
+ {
190
+ "product_id": "e80384a5a1454169b3e4a46da5e0c9b4",
191
+ "variant_id": "0cebad1b2f424a828f1ba6dce8f52020",
192
+ "name": "Пюре Агуша (Яблоко)",
193
+ "barcode": "4690228032301",
194
+ "quantity": 4,
195
+ "price_at_sale": "200",
196
+ "cost_price_at_sale": "180",
197
+ "total": "800"
198
+ }
199
+ ],
200
+ "total_amount": "800.00",
201
+ "payment_method": "cash",
202
+ "receipt_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>Чек 09052eae</title>\n <style>\n body { font-family: 'Courier New', monospace; margin: 0; padding: 20px; background-color: #f4f4f4; }\n .receipt { max-width: 350px; margin: auto; background: white; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }\n h2, p { text-align: center; margin: 5px 0; }\n table { width: 100%; border-collapse: collapse; margin: 15px 0; }\n th, td { padding: 5px; border-bottom: 1px dashed #ccc; }\n .total { font-weight: bold; font-size: 1.2em; }\n </style>\n </head>\n <body>\n <div class=\"receipt\">\n <h2>Магазин \"Kgshop\"</h2>\n <p>--------------------------------</p>\n <p>Чек №: 09052eae</p>\n <p>Дата: 25.08.2025 16:44</p>\n <p>Кассир: Ермек</p>\n <p>--------------------------------</p>\n <table>\n <thead>\n <tr>\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>Пюре Агуша (Яблоко)</td>\n <td style=\"text-align: right;\">4</td>\n <td style=\"text-align: right;\">200,00</td>\n <td style=\"text-align: right;\">800,00</td>\n </tr>\n </tbody>\n </table>\n <p>--------------------------------</p>\n <p class=\"total\">Итого: 800,00 с</p>\n <p>Способ оплаты: Наличные</p>\n <p>--------------------------------</p>\n <p>Спасибо за покупку!</p>\n </div>\n </body>\n </html>\n "
203
  }
204
  ]