Skip to content

Commit

Permalink
added attributes, deliveryDate to sales documents
Browse files Browse the repository at this point in the history
  • Loading branch information
Dysar committed Jun 22, 2020
1 parent 8c476d2 commit 572d5f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/api/sales/documentModels.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -51,6 +52,7 @@ type (
Penalty string `json:"penalty"`
InvoiceLink string `json:"invoiceLink"`
InvoiceRows []InvoiceRow `json:"rows"`
Attributes []PaymentAttribute `json:"attributes"`
}

InvoiceRow struct {
Expand Down

0 comments on commit 572d5f2

Please sign in to comment.