VitalyKravtsov2016 / WebPrinter

0 stars 0 forks source link

Скидки #7

Closed Dafafgh closed 8 months ago

Dafafgh commented 8 months ago

первая попытка скидки

SHTRIH-M-OPOS-1_2024.01.22.log

[22.01.2024 15:42:58.829 ] [00009516] [DEBUG] POST: http://fbox.ngrok.io/order/create/ [22.01.2024 15:42:58.830 ] [00009516] [DEBUG] => {"number":1,"receipt_type":"order","products":[{"name":"Сер. № 8 БРЮКИ UA4003 D4886 87390 30","barcode":"8054944335461","amount":1000,"units":1,"price":2270000,"product_price":2270000,"vat":0,"vat_percent":0,"discount":-777700,"discount_percent":0,"other":0,"labels":[],"class_code":"02710001007000000","package_code":0,"owner_type":0,"comission_info":{"inn":"","pinfl":""}}],"time":"2024-01-22 17:41:06","cashier":"tsS","received_cash":1492300,"change":0,"received_card":0,"open_cashbox":false,"send_email":false} [22.01.2024 15:42:59.652 ] [00009516] [DEBUG] <= { "data": null, "error": { "code": -32600, "message": "json: cannot unmarshal object into Go value of type [1]interface {}", "data": { "Receipt": { "ReceiptId": 1.0, "Cashier": "tsS", "Items": [ { "Name": "Сер. № 8 БРЮКИ UA4003 D4886 87390 30", "Barcode": "8054944335461$02710001007000000", "Amount": 1000.0, "GoodPrice": 2270000.0, "Price": 2270000.0, "VAT": 0.0, "VATPercent": 0.0, "DiscountPercent": 0.0, "Discount": -777700.0, "Other": 0.0, "Label": null, "SPIC": "02710001007000000", "CommissionInfo": { "TIN": "", "PINFL": "" }, "unit_name": null, "PackageCode": "0", "OwnerType": 0.0 } ], "Time": "2024-01-22 17:41:06", "ReceivedCash": 1492300.0, "ReceivedCard": 0.0, "ReceivedECash": null, "change": 0.0, "open_cashbox": false, "banners": null, "prices": null, "type": "order", "Location": { "Latitude": 41.299123, "Longitude": 69.272375 }, "ReceiptType": "order", "ExtraInfo": null, "RefundInfo": null, "TaxiInfo": null, "MerchantInfo": null, "PaymentId": null } } }, "is_success": false } [22.01.2024 15:42:59.654 ] [00009516] [ERROR] OPOS_E_EXTENDED, -32600, "json: cannot unmarshal object into Go value of type [1"