mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
oops,droped a line for the cleared balance
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@292 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
1e493d882d
commit
efc60b618c
@ -861,8 +861,8 @@ regRecalculateBalance( RegWindow *regData )
|
||||
* Note, however, that this algorithm will provide confusing
|
||||
* results unless all transactions are absolutely ordered.
|
||||
* That is, date order is not enough, if several transactions
|
||||
* occur on the same date: they MUST be completely disambiguated
|
||||
* and absolutely ordered.
|
||||
* occur on the same date: the same transactions must occur
|
||||
* *IN THE SAME ORDER* in the different accounts.
|
||||
*/
|
||||
if (is_credit) {
|
||||
tmp = xaccGetBalance (credit_acc, trans);
|
||||
@ -898,6 +898,7 @@ regRecalculateBalance( RegWindow *regData )
|
||||
* bank account, and a debit to the income account.
|
||||
* Thus, positive and negative are interchanged */
|
||||
prt_balance = dbalance;
|
||||
prt_clearedBalance = dclearedBalance;
|
||||
if( (EXPENSE == regData->type) ||
|
||||
(INCOME == regData->type) ||
|
||||
(INC_LEDGER == regData->type) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user