mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[gnc-budget-view.c] tally budget totals for toplevel types BANK etc
Budget assumed toplevel accounts are of type ASSET/LIABILITY etc when tallying the summary 4 rows. It failed to tally values from accounts of type CASH/BANK/CHECKING/SAVINGS etc. Enable tallying for these toplevel accounts.
This commit is contained in:
parent
6bdaa161eb
commit
ad7bae8222
@ -1344,7 +1344,7 @@ totals_col_source (GtkTreeViewColumn *col, GtkCellRenderer *cell,
|
|||||||
GNCAccountType acctype;
|
GNCAccountType acctype;
|
||||||
|
|
||||||
currency = gnc_account_get_currency_or_parent (account);
|
currency = gnc_account_get_currency_or_parent (account);
|
||||||
acctype = xaccAccountGetType (account);
|
acctype = xaccAccountTypeGetFundamental (xaccAccountGetType (account));
|
||||||
|
|
||||||
neg = gnc_reverse_balance (account);
|
neg = gnc_reverse_balance (account);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user