if we happen to be showing a not-yet-auto-balanced entry, hide the AUTO marker
This commit is contained in:
parent
68c5735c46
commit
0f2c8542fc
@ -84,6 +84,7 @@ groupAmountsByCommodity as = grouped
|
|||||||
-- display settings.
|
-- display settings.
|
||||||
showAmount :: Amount -> String
|
showAmount :: Amount -> String
|
||||||
showAmount (Amount (Commodity {symbol=sym,side=side,spaced=spaced,comma=comma,precision=p}) q)
|
showAmount (Amount (Commodity {symbol=sym,side=side,spaced=spaced,comma=comma,precision=p}) q)
|
||||||
|
| sym=="AUTO" = ""
|
||||||
| side==L = printf "%s%s%s" sym space quantity
|
| side==L = printf "%s%s%s" sym space quantity
|
||||||
| side==R = printf "%s%s%s" quantity space sym
|
| side==R = printf "%s%s%s" quantity space sym
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user