From 572d5f2c97b6cd3b10ab64be582dcaf166c2d712 Mon Sep 17 00:00:00 2001 From: David Zingerman Date: Mon, 22 Jun 2020 13:29:12 +0300 Subject: [PATCH] added attributes, deliveryDate to sales documents --- pkg/api/sales/documentModels.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/api/sales/documentModels.go b/pkg/api/sales/documentModels.go index 4858e92..3f80066 100644 --- a/pkg/api/sales/documentModels.go +++ b/pkg/api/sales/documentModels.go @@ -11,6 +11,7 @@ type ( WarehouseID int `json:"warehouseID"` Number string `json:"number"` Date string `json:"date"` + DeliveryDate string `json:"deliveryDate"` Time string `json:"time"` //Payer if invoice_client_is_payer = 1 @@ -51,6 +52,7 @@ type ( Penalty string `json:"penalty"` InvoiceLink string `json:"invoiceLink"` InvoiceRows []InvoiceRow `json:"rows"` + Attributes []PaymentAttribute `json:"attributes"` } InvoiceRow struct {