imp:web: show zero amounts with their commodity symbol(s?) [#2140]
This was mainly to make the sidebar more informative, but also affects and hopefully helps, all amounts displayed elsewhere.
This commit is contained in:
parent
7e3b205309
commit
bac7171454
@ -95,7 +95,7 @@ accountOnlyQuery = ("inacctonly:" <>) . quoteIfSpaced
|
|||||||
|
|
||||||
mixedAmountAsHtml :: MixedAmount -> HtmlUrl a
|
mixedAmountAsHtml :: MixedAmount -> HtmlUrl a
|
||||||
mixedAmountAsHtml b _ =
|
mixedAmountAsHtml b _ =
|
||||||
for_ (lines (showMixedAmountWithoutCost False b)) $ \t -> do
|
for_ (lines (showMixedAmountWith noCostFmt{displayZeroCommodity=True} b)) $ \t -> do
|
||||||
H.span ! A.class_ c $ toHtml t
|
H.span ! A.class_ c $ toHtml t
|
||||||
H.br
|
H.br
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user