cli: compoundBalanceReportAsHtml - add class=account to Net row header

This commit is contained in:
Henning Thielemann 2024-10-01 09:55:16 +02:00 committed by Simon Michael
parent 5591be7724
commit 41397d0ca4

View File

@ -379,7 +379,8 @@ compoundBalanceReportAsHtml ropts cbr =
Total simpleDateSpanCell totalrow
-- make a table of rendered lines of the report totals row
& 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
& addTotalBorders -- marking the first for special styling
& map (Html.formatRow . map (fmap L.toHtml))