fix:bal --budget: don't let costs prevent showing a percentage [#2327]

This commit is contained in:
Simon Michael 2025-02-18 12:17:47 -10:00
parent a882268dd8
commit 7ef96d4bd1

View File

@ -1119,7 +1119,7 @@ budgetReportAsTable ropts@ReportOpts{..} (PeriodicReport spans items totrow) =
where
costedAmounts = case conversionop_ of
Just ToCost -> amounts . mixedAmountCost
_ -> amounts
_ -> amounts . mixedAmountStripCosts -- strip any lingering cost info that would prevent unification
-- | Like percentage, but accept multicommodity actual and budget amounts,
-- and extract the specified commodity from both.