bal: output CSV item amounts on one line #336

This commit is contained in:
Simon Michael 2016-04-19 10:38:40 -07:00
parent 6ffc2b2392
commit 57626dc9fb

View File

@ -327,7 +327,7 @@ balance opts@CliOpts{reportopts_=ropts} j = do
balanceReportAsCsv :: ReportOpts -> BalanceReport -> CSV
balanceReportAsCsv opts (items, total) =
["account","balance"] :
[[a, showMixedAmountWithoutPrice b] | ((a, _, _), b) <- items]
[[a, showMixedAmountOneLineWithoutPrice b] | ((a, _, _), b) <- items]
++
if no_total_ opts
then []