Ledger.Transaction
Description
A Transaction is a RawTransaction with its parent Entry 's date and
description attached. These are what we actually query when doing reports.
- showTransaction :: Transaction -> String
- flattenEntry :: (Entry, Int) -> [Transaction]
- accountNamesFromTransactions :: [Transaction] -> [AccountName]
- sumTransactions :: [Transaction] -> MixedAmount
Documentation
flattenEntry :: (Entry, Int) -> [Transaction]Source
Convert a Entry to two or more Transactions. An id number
is attached to the transactions to preserve their grouping - it should
be unique per entry.