lib: note aquantity zero with AUTO amounts

This commit is contained in:
Simon Michael 2019-01-04 19:03:03 +00:00
parent 5908414d77
commit cd1455e9ea

View File

@ -201,8 +201,8 @@ data Commodity = Commodity {
instance NFData Commodity instance NFData Commodity
data Amount = Amount { data Amount = Amount {
acommodity :: CommoditySymbol, acommodity :: CommoditySymbol, -- commodity symbol, or special value "AUTO"
aquantity :: Quantity, aquantity :: Quantity, -- numeric quantity, or zero in case of "AUTO"
aismultiplier :: Bool, -- ^ kludge: a flag marking this amount and posting as a multiplier aismultiplier :: Bool, -- ^ kludge: a flag marking this amount and posting as a multiplier
-- in a TMPostingRule. In a regular Posting, should always be false. -- in a TMPostingRule. In a regular Posting, should always be false.
astyle :: AmountStyle, astyle :: AmountStyle,