hledger-0.4: A ledger-compatible text-based accounting tool.Source codeContentsIndex
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.
Synopsis
showTransaction :: Transaction -> String
flattenEntry :: (Entry, Int) -> [Transaction]
accountNamesFromTransactions :: [Transaction] -> [AccountName]
sumTransactions :: [Transaction] -> MixedAmount
Documentation
showTransaction :: Transaction -> StringSource
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.
accountNamesFromTransactions :: [Transaction] -> [AccountName]Source
sumTransactions :: [Transaction] -> MixedAmountSource
Produced by Haddock version 2.6.0