r22971 - gnucash/trunk/src/report/standard-reports - Bug #622778 Miscalculation in cashflow reports - Step 03

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


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

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

Introduce solution and some minor modifications to save some function calls.

Solution:

- Save the current split value
- Calculate the parent total transaction value
- Calculate the ratio of the split to the transaction value
- only consider splits of opposite sign for the flow colletion
- only consider the split value multiplied with the calculated
  ratio of those splits with opposite sign

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



More information about the gnucash-patches mailing list