Skip to content

Commit

Permalink
update minimal sales reports version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kachit committed Jan 26, 2024
1 parent b6e21b3 commit 4a599d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sales_filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (f *SalesReportsFilter) IsValid() error {
if f.ReportSubType != SalesReportSubTypeSummary {
return fmt.Errorf("SalesReportsFilter.IsValid: %v", "ReportSubType is not valid")
}
if f.Version != SalesReportVersion11 {
if f.Version != SalesReportVersion11 && f.Version != SalesReportVersion10 {
return fmt.Errorf("SalesReportsFilter.IsValid: %v", "Version is not valid")
}
return nil
Expand Down

0 comments on commit 4a599d3

Please sign in to comment.