Skip to content

Commit

Permalink
dev:journalBalanceTransactions: styling comment
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Aug 31, 2023
1 parent 104ff7a commit bbc1113
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hledger-lib/Hledger/Data/Balancing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@ journalBalanceTransactions bopts' j' =
-- display precisions used in balanced checking
styles = Just $ journalCommodityStyles j
bopts = bopts'{commodity_styles_=styles}
-- XXX ^ The commodity directive styles and default style and inferred styles
-- are merged into the command line styles in commodity_styles_ - why ?
-- Mainly for the precisions, used during amount and cost inference and balanced checking ?
-- balance assignments are not allowed on accounts affected by auto postings
autopostingaccts = S.fromList . map (paccount . tmprPosting) . concatMap tmpostingrules $ jtxnmodifiers j
in
Expand Down

0 comments on commit bbc1113

Please sign in to comment.