Patch by Tristan Faujour:
Proposed patch: make reports ignore book-closing entries
I chose to:
- Change the reports' default behavior to have them ignore the book-closing
entries.
- Do not change anything in reports that deal explicitly with them.
Here is the content of this patch (everything is under gnucash/src/report):
- In function gnc:account-get-trans-type-balance-interval, depending on an
argument, closing entries can be ignored (they are identified by
xaccTransGetIsClosingTxn).
- Some report utility functions are duplicated (with a "-with closing" suffix)
to provide the legacy feature.
- Equity statement and Profit & Loss reports are modified to call the
*-with-closing functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20404 57a11ea4-9604-0410-9ed3-97b8803252fd