api: Typeable/Data/Generic instances for Account
This commit is contained in:
		
							parent
							
								
									96977afef5
								
							
						
					
					
						commit
						8f432b651e
					
				| @ -295,7 +295,7 @@ data Account = Account { | |||||||
|   aibalance :: MixedAmount, -- ^ this account's balance, including subaccounts |   aibalance :: MixedAmount, -- ^ this account's balance, including subaccounts | ||||||
|   aparent :: Maybe Account, -- ^ parent account |   aparent :: Maybe Account, -- ^ parent account | ||||||
|   aboring :: Bool           -- ^ used in the accounts report to label elidable parents |   aboring :: Bool           -- ^ used in the accounts report to label elidable parents | ||||||
|   } |   } deriving (Typeable, Data, Generic) | ||||||
| 
 | 
 | ||||||
| -- | A Ledger has the journal it derives from, and the accounts | -- | A Ledger has the journal it derives from, and the accounts | ||||||
| -- derived from that. Accounts are accessible both list-wise and | -- derived from that. Accounts are accessible both list-wise and | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user