r22970 - gnucash/trunk/src/report/standard-reports - Bug #622778 Miscalculation in cashflow reports - Step 02

Geert Janssens gjanssens at code.gnucash.org
Fri May 10 15:06:29 EDT 2013


Author: gjanssens
Date: 2013-05-10 15:06:28 -0400 (Fri, 10 May 2013)
New Revision: 22970
Trac: http://svn.gnucash.org/trac/changeset/22970

Modified:
   gnucash/trunk/src/report/standard-reports/cash-flow.scm
Log:
Bug #622778 Miscalculation in cashflow reports - Step 02

- functional change within the cash flow calculation:
Instead of using a recursive call to (define (calc-money-in-out-internal ...))
to loop through the list of selected accounts a for-each loop is introduced.

- functional correction:
As the cash flow result data has been turned to global objects with the previous patch,
these objects need to be reset before the call to the cash flow calculator.
This is now added in the document renderer.

- further comments introduced
This is used to help identifying the function change that will be
introduced with the next patch for fixing 622778.

Author:    Carsten Rinke <carsten.rinke at gmx.de>



More information about the gnucash-patches mailing list