mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix problem where changing the reconciliation date of a "reverse
balance" account would cause the proposed account balance to show the wrong sign. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8083 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
documentation comments, improved doxygen output. At least the most
|
||||
important header files will now show up in doxygen.
|
||||
|
||||
2003-03-14 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome/window-reconcile.c (gnc_start_recn_date_changed):
|
||||
Don't reverse the account balance here. The routine called to
|
||||
retrieve the account balance has already taken care of reversing
|
||||
the sign where necessary.
|
||||
|
||||
2003-03-13 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/app-utils/option-util.c (gnc_option_get_range_info): Reapply
|
||||
|
||||
@@ -325,10 +325,6 @@ gnc_start_recn_date_changed (GtkWidget *widget, startRecnWindowData *data)
|
||||
new_balance = gnc_ui_account_get_balance_as_of_date (data->account, new_date,
|
||||
data->include_children);
|
||||
|
||||
/* use the correct sign */
|
||||
if (gnc_reverse_balance (data->account))
|
||||
new_balance = gnc_numeric_neg (new_balance);
|
||||
|
||||
/* update the amount edit with the amount */
|
||||
gnc_amount_edit_set_amount (GNC_AMOUNT_EDIT (data->end_value),
|
||||
new_balance);
|
||||
|
||||
Reference in New Issue
Block a user