[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:
Christopher Lam 2023-05-24 21:39:56 +08:00
parent 6bdaa161eb
commit ad7bae8222

View File

@ -1344,7 +1344,7 @@ totals_col_source (GtkTreeViewColumn *col, GtkCellRenderer *cell,
GNCAccountType acctype;
currency = gnc_account_get_currency_or_parent (account);
acctype = xaccAccountGetType (account);
acctype = xaccAccountTypeGetFundamental (xaccAccountGetType (account));
neg = gnc_reverse_balance (account);