Fixed number_to_currency bug in financial transaction csv export.
This commit is contained in:
parent
93ece7fb05
commit
d9e8f29d44
1 changed files with 1 additions and 1 deletions
|
@ -38,6 +38,6 @@ class RenderCSV
|
||||||
|
|
||||||
# XXX disable unit to avoid encoding problems, both in unit and whitespace. Also allows computations in spreadsheet.
|
# XXX disable unit to avoid encoding problems, both in unit and whitespace. Also allows computations in spreadsheet.
|
||||||
def number_to_currency(number, options={})
|
def number_to_currency(number, options={})
|
||||||
super(number, options.merge({unit: nil}))
|
super(number, options.merge({unit: ''}))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue