Fixed number_to_currency bug in financial transaction csv export.

This commit is contained in:
Benjamin Meichsner 2014-09-22 17:37:51 +02:00
parent 93ece7fb05
commit d9e8f29d44

View file

@ -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