Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gnc-budget-view.c] much simpler negation rule: always negate.
previously negation was dependent on the row type and account type. this change will modify the rule to *always* negate the total amount prior to rendering. this is because budget amounts are now natural numbers, i.e. budget income usually negative, budget expense usually positive. the total of budget amounts in a period (asset+liability+income+expense+equity) should be zero. the compulsory negation will ensure the budget equation is now much more intuitive, i.e. an income *adds* to the budget, and an expense *deducts* from budget; the "remaining to budget" is thus positive if there is unallocated budget.
- Loading branch information
1 parent
b0292d7
commit 66f4b4c
Showing
1 changed file
with
5 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters