diff --git a/hledger-web/templates/balance-report.hamlet b/hledger-web/templates/balance-report.hamlet index 14529edde..dcc916665 100644 --- a/hledger-web/templates/balance-report.hamlet +++ b/hledger-web/templates/balance-report.hamlet @@ -7,8 +7,8 @@ $forall (acct, adisplay, aindent, abal) <- items - + :mixedAmountLooksZero abal && hideEmpty:.hide> +
\#{indent aindent} #{textElideRight 60 (tdescription torig)} - $if not split && not (isZeroMixedAmount amt) + $if not split && not (mixedAmountLooksZero amt) ^{mixedAmountAsHtml amt} $forall Posting { paccount = acc, pamount = amt } <- tpostings torig diff --git a/hledger-web/templates/register.hamlet b/hledger-web/templates/register.hamlet index ba978c429..0c890c6b8 100644 --- a/hledger-web/templates/register.hamlet +++ b/hledger-web/templates/register.hamlet @@ -30,7 +30,7 @@ #{summName}#{comma} - $if not split || not (isZeroMixedAmount amt) + $if not split || not (mixedAmountLooksZero amt) ^{mixedAmountAsHtml amt} ^{mixedAmountAsHtml bal}