bal: output CSV item amounts on one line #336
This commit is contained in:
parent
6ffc2b2392
commit
57626dc9fb
@ -327,7 +327,7 @@ balance opts@CliOpts{reportopts_=ropts} j = do
|
|||||||
balanceReportAsCsv :: ReportOpts -> BalanceReport -> CSV
|
balanceReportAsCsv :: ReportOpts -> BalanceReport -> CSV
|
||||||
balanceReportAsCsv opts (items, total) =
|
balanceReportAsCsv opts (items, total) =
|
||||||
["account","balance"] :
|
["account","balance"] :
|
||||||
[[a, showMixedAmountWithoutPrice b] | ((a, _, _), b) <- items]
|
[[a, showMixedAmountOneLineWithoutPrice b] | ((a, _, _), b) <- items]
|
||||||
++
|
++
|
||||||
if no_total_ opts
|
if no_total_ opts
|
||||||
then []
|
then []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user