| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Hledger.Reports.EntriesReport
Contents
Description
Journal entries report, used by the print command.
Synopsis
- type EntriesReport = [EntriesReportItem]
- type EntriesReportItem = Transaction
- entriesReport :: ReportSpec -> Journal -> EntriesReport
- entriesReportUnsorted :: ReportSpec -> Journal -> EntriesReport
- tests_EntriesReport :: TestTree
Documentation
type EntriesReport = [EntriesReportItem] Source #
A journal entries report is a list of whole transactions as originally entered in the journal (mostly). This is used by eg hledger's print command and hledger-web's journal entries view.
type EntriesReportItem = Transaction Source #
entriesReport :: ReportSpec -> Journal -> EntriesReport Source #
Select transactions for an entries report, sorted by date.
entriesReportUnsorted :: ReportSpec -> Journal -> EntriesReport Source #
Select transactions for an entries report, keeping their journal order.
The query's change: and balance: terms, if any, are both tested against each entry's sum of postings
(an entry has no balance), converted to cost as in transaction balancing (see transactionBalancingSum),
regardless of valuation and --invert.