1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-03-15 12:29:16 +01:00

(bug) unable to export VAT

This commit is contained in:
Sylvain 2022-12-05 11:29:53 +01:00
parent ad8e95922f
commit 7cd25a68df

View File

@ -18,9 +18,12 @@ class Accounting::VatExportService
@columns = columns
end
def set_options(decimal_separator: ',', date_format: '%d/%m/%Y')
def set_options(decimal_separator: ',', date_format: '%d/%m/%Y', label_max_length: nil, export_zeros: nil)
@decimal_separator = decimal_separator
@date_format = date_format
# these unused parameters are required for compatibility with AccountingExportService
@label_max_length = label_max_length
@export_zeros = export_zeros
end
def export(start_date, end_date, file)