gnucash master: Bug 797770 - Reconciliation report does not consider credit transactions

Christopher Lam clam at code.gnucash.org
Wed May 27 07:28:52 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/64198574 (commit)
	from  https://github.com/Gnucash/gnucash/commit/12680ebb (commit)



commit 641985746226d16f63d56169af96effdd231715f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 25 20:21:14 2020 +0800

    Bug 797770 - Reconciliation report does not consider credit transactions
    
    A few preparatory changes...
    
    * calculated-cells augmented to allow 7 fields instead of 6. 7th field
    defines whether cell is mergeable for subtotal-table. note only the
    first element in calculated-cells is currently considered for the
    subtotal-table accumulator.
    
    * backward compatible upgrade to trep-engine's add-subtotal-row --
    handles both 6-field and 7-field calculated-cells. 7th field, if
    missing, is assumed to be #f.
    
    * transaction report: unlock subtotal-table when amount='double in
    addition to 'single.
    
    And finally the bug fix itself:
    
    * reconcile-report: fix subtotal-table accumulator to consider both Dr
    and Cr



Summary of changes:
 .../report/reports/standard/reconcile-report.scm   |  4 +-
 gnucash/report/trep-engine.scm                     | 46 ++++++++++++++--------
 2 files changed, 32 insertions(+), 18 deletions(-)



More information about the gnucash-patches mailing list