dev:bal: multiperiod balance now has two hledger.css links, fix

This commit is contained in:
Simon Michael 2024-10-10 22:00:27 -10:00
parent efe9bd9f04
commit a6a1b2c28e

View File

@ -823,10 +823,8 @@ multiBalanceReportAsSpreadsheetParts ishtml opts@ReportOpts{..} (PeriodicReport
-- | Render a multi-column balance report as HTML.
multiBalanceReportAsHtml :: ReportOpts -> MultiBalanceReport -> Html ()
multiBalanceReportAsHtml ropts mbr =
do
link_ [rel_ "stylesheet", href_ "hledger.css"]
printHtml . map (map (fmap L.toHtml)) $
snd $ multiBalanceReportAsSpreadsheet ropts mbr
printHtml . map (map (fmap L.toHtml)) $
snd $ multiBalanceReportAsSpreadsheet ropts mbr
-- | Render the HTML table rows for a MultiBalanceReport.
-- Returns the heading row, 0 or more body rows, and the totals row if enabled.