hledger/hledger-lib/Hledger/Reports
Stephen Morgan 7ed2a0aa9b lib!: lib: Remove aismultiplier from Amount.
In Amount, aismultiplier is a boolean flag that will always be False,
except for in TMPostingRules, where it indicates whether the posting
rule is a multiplier. It is therefore unnecessary in the vast majority
of cases. This posting pulls this flag out of Amount and puts it into
TMPostingRule, so it is only kept around when necessary.

This changes the parsing of journals somewhat. Previously you could
include an * before an amount anywhere in a Journal, and it would
happily parse and set the aismultiplier flag true. This will now fail
with a parse error: * is now only acceptable before an amount within an
auto posting rule.

Any usage of the library in which the aismultiplier field is read or set
should be removed. If you truly need its functionality, you should
switch to using TMPostingRule.

This changes the JSON output of Amount, as it will no longer include
aismultiplier.
2021-07-22 19:06:33 -10:00
..
AccountTransactionsReport.hs lib!: lib,cli,ui,web: For accountTransactionsReport, generate the overall 2021-07-22 19:00:37 -10:00
BalanceReport.hs lib,cli,ui,web: Add check balancednoautoconversion command, which checks that 2021-06-07 18:58:58 -10:00
BudgetReport.hs ref: bal: rename some report types to clarify/sync with docs 2021-07-15 14:22:20 -10:00
EntriesReport.hs lib: Create journalApplyValuationFromOpts. 2021-05-13 19:52:32 +10:00
MultiBalanceReport.hs lib!: lib: Remove aismultiplier from Amount. 2021-07-22 19:06:33 -10:00
PostingsReport.hs ref: bal: rename some report types to clarify/sync with docs 2021-07-15 14:22:20 -10:00
ReportOptions.hs ref: bal: rename some report types to clarify/sync with docs 2021-07-15 14:22:20 -10:00
ReportTypes.hs ref: bal: rename some report types to clarify/sync with docs 2021-07-15 14:22:20 -10:00