hledger/hledger-lib/Hledger/Reports
Simon Michael 45127dc5f5 feat: new type: query for easy matching by account type
type:TYPES, where TYPES is any of the (case insensitive) letters
ALERXCV, matches accounts by their declared or inferred type.
(See https://hledger.org/hledger.html#account-types.)
This should work with most commands, eg:

    hledger bal type:al
    hledger reg type:x

API changes:

Journal has a new jaccounttypes map.
The journalAccountType lookup function makes it easy to check an account's type.
The journalTags and journalInheritedTags functions look up an account's tags.
Functions like journalFilterPostings and journalFilterTransactions,
and new matching functions matchesAccountExtra, matchesPostingExtra
and matchesTransactionExtra, use these to allow more powerful matching
that is aware of account types and tags.
2022-01-31 16:44:13 -10:00
..
AccountTransactionsReport.hs areg: begin respecting --date2: show txns' date2 (#1731) 2021-10-10 10:34:45 -10:00
BalanceReport.hs imp: cost: Generate totally balanced conversion postings for amounts with costs. 2021-12-21 10:50:13 -10:00
BudgetReport.hs fix: budget: Make sure boring parents of unbudgeted accounts are not 2022-01-21 09:11:04 -10:00
EntriesReport.hs imp: cost: Generate totally balanced conversion postings for amounts with costs. 2021-12-21 10:50:13 -10:00
MultiBalanceReport.hs feat: new type: query for easy matching by account type 2022-01-31 16:44:13 -10:00
PostingsReport.hs ref: Return the interval split in reportSpan, to reduce the number 2022-01-26 08:05:37 -10:00
ReportOptions.hs ref: Return the interval split in reportSpan, to reduce the number 2022-01-26 08:05:37 -10:00
ReportTypes.hs lib!: Semigroup instance of PeriodicReportRow and PeriodicReport now 2021-11-07 07:56:08 -10:00