fix:bal:html output: also suppress total heading when -H is active

This commit is contained in:
Simon Michael 2025-01-25 20:38:09 -10:00
parent fdfd16387c
commit b3e50f5e59

View File

@ -684,7 +684,7 @@ multiBalanceReportAsSpreadsheetParts fmt opts@ReportOpts{..} (PeriodicReport col
_ -> dateHeaders
dateHeaders =
map (headerDateSpanCell balance_base_url_ querystring_) colspans ++
[hCell "rowtotal" "total" | row_total_] ++
[hCell "rowtotal" "total" | multiBalanceHasTotalsColumn opts] ++
[hCell "rowaverage" "average" | average_]
fullRowAsTexts row =
addRowSpanHeader anchorCell $