gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed May 24 12:46:59 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/0da40819 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/66f4b4c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b0292d78 (commit)
	from  https://github.com/Gnucash/gnucash/commit/8a5b3721 (commit)



commit 0da408191b9af976993cc8507224807e28f8ee1f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 22 16:13:39 2023 +0800

    [gnc-budget-view.c] simplify totals_col_source, decl before use

commit 66f4b4c2ae9a3f3f8ac07d0c153eae3fcd606534
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 21 23:48:54 2023 +0800

    [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.

commit b0292d789321f53bc79cf835ea80bd5c015e8fb4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 21 15:21:05 2023 +0800

    [budget.scm] budget report's *actual* amounts link to a trep
    
    showing the exact transactions comprising the *actual* period total.



Summary of changes:
 gnucash/gnome/gnc-budget-view.c            | 123 ++++++++++-------------------
 gnucash/report/reports/standard/budget.scm |  46 +++++++++--
 2 files changed, 80 insertions(+), 89 deletions(-)



More information about the gnucash-patches mailing list