Bug #475960: Reverse postponed reconciliation balances in suitable accounts.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17059 57a11ea4-9604-0410-9ed3-97b8803252fd
2.4
Andreas Köhler 18 years ago
parent 733d0dfe70
commit 1abe022d06

@ -1328,8 +1328,10 @@ gnc_get_reconcile_info (Account *account,
xaccAccountGetReconcilePostponeDate (account, statement_date);
if( !xaccAccountGetReconcilePostponeBalance (account, new_ending) )
{
if (xaccAccountGetReconcilePostponeBalance(account, new_ending)) {
if (gnc_reverse_balance(account))
*new_ending = gnc_numeric_neg(*new_ending);
} else {
/* if the account wasn't previously postponed, try to predict
* the statement balance based on the statement date.
*/

Loading…
Cancel
Save