fix: amount formatting of the Net row in the balancesheet HTML output
The "Net" row in the HTML output of balancesheet formatted amounts using machineFmt which is inconsistent with all the other amounts in the balance sheet. This fixes that by formatting Net amounts using oneLineNoCostFmt.
This commit is contained in:
parent
5ea99c1a26
commit
fb47073c91
@ -364,7 +364,7 @@ compoundBalanceReportAsHtml ropts cbr =
|
||||
totalrows =
|
||||
if no_total_ ropts || length subreports == 1 then []
|
||||
else
|
||||
multiBalanceRowAsCellBuilders machineFmt ropts colspans Total totalrow
|
||||
multiBalanceRowAsCellBuilders oneLineNoCostFmt ropts colspans Total totalrow
|
||||
-- make a table of rendered lines of the report totals row
|
||||
& map (map (fmap wbToText))
|
||||
& zipWith (:) (Spr.defaultCell "Net:" : repeat Spr.emptyCell)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user