cli: compoundBalanceReportAsHtml - add class=account to Net row header
This commit is contained in:
parent
5591be7724
commit
41397d0ca4
@ -379,7 +379,8 @@ compoundBalanceReportAsHtml ropts cbr =
|
|||||||
Total simpleDateSpanCell totalrow
|
Total simpleDateSpanCell totalrow
|
||||||
-- make a table of rendered lines of the report totals row
|
-- make a table of rendered lines of the report totals row
|
||||||
& map (map (fmap wbToText))
|
& map (map (fmap wbToText))
|
||||||
& addRowSpanHeader (Spr.defaultCell "Net:")
|
& addRowSpanHeader
|
||||||
|
((Spr.defaultCell "Net:") {Spr.cellClass = Spr.Class "account"})
|
||||||
-- insert a headings column, with Net: on the first line only
|
-- insert a headings column, with Net: on the first line only
|
||||||
& addTotalBorders -- marking the first for special styling
|
& addTotalBorders -- marking the first for special styling
|
||||||
& map (Html.formatRow . map (fmap L.toHtml))
|
& map (Html.formatRow . map (fmap L.toHtml))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user