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:
parent
ad8e95922f
commit
7cd25a68df
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user