Fix fields in Finance methods (#45)
Fixed operation type field in getting transaction list Fixed fields in params for getting finance realization report
This commit is contained in:
@@ -21,12 +21,12 @@ type ReportOnSoldProductsResponse struct {
|
||||
core.CommonResponse
|
||||
|
||||
// Query result
|
||||
Result []ReportonSoldProductsResult `json:"result"`
|
||||
Result ReportonSoldProductsResult `json:"result"`
|
||||
}
|
||||
|
||||
type ReportonSoldProductsResult struct {
|
||||
// Report title page
|
||||
Header []ReportOnSoldProductsResultHeader `json:"header"`
|
||||
Header ReportOnSoldProductsResultHeader `json:"header"`
|
||||
|
||||
// Report table
|
||||
Rows []ReportOnSoldProductsResultRow `json:"rows"`
|
||||
@@ -272,7 +272,7 @@ type ListTransactionsFilter struct {
|
||||
Date ListTransactionsFilterDate `json:"date"`
|
||||
|
||||
// Operation type
|
||||
OperationType string `json:"operation_type"`
|
||||
OperationType []string `json:"operation_type"`
|
||||
|
||||
// Shipment number
|
||||
PostingNumber string `json:"posting_number"`
|
||||
|
||||
Reference in New Issue
Block a user