lib: note aquantity zero with AUTO amounts
This commit is contained in:
		
							parent
							
								
									5908414d77
								
							
						
					
					
						commit
						cd1455e9ea
					
				@ -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,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user