mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-08-14 06:54:43 -05:00
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
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user