From 41397d0ca4d879859f79adf6239072daee45c326 Mon Sep 17 00:00:00 2001 From: Henning Thielemann Date: Tue, 1 Oct 2024 09:55:16 +0200 Subject: [PATCH] cli: compoundBalanceReportAsHtml - add class=account to Net row header --- hledger/Hledger/Cli/CompoundBalanceCommand.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hledger/Hledger/Cli/CompoundBalanceCommand.hs b/hledger/Hledger/Cli/CompoundBalanceCommand.hs index 7d99a76d3..c33748c4d 100644 --- a/hledger/Hledger/Cli/CompoundBalanceCommand.hs +++ b/hledger/Hledger/Cli/CompoundBalanceCommand.hs @@ -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))