bs, cf, is: in csv output, subreport headings had two excess columns

This commit is contained in:
Simon Michael 2020-02-12 10:48:04 -08:00
parent 7359fdd32a
commit bd0753101e

View File

@ -363,7 +363,7 @@ compoundBalanceReportAsCsv ropts (title, colspans, subreports, (coltotals, grand
numcols
| null subreports = 1
| otherwise =
(3 +) $ -- account name & indent columns
(1 +) $ -- account name column
(if row_total_ ropts then (1+) else id) $
(if average_ ropts then (1+) else id) $
maximum $ -- depends on non-null subreports