gnucash maint: [trep-engine] upgrade to include 'balance brought forward'

Christopher Lam clam at
Mon Jan 6 09:36:31 EST 2020

Updated	 via (commit)
	from (commit)

commit 741eb480168f1ecb8b10b4b61240a565be87bdad
Author: Christopher Lam <christopher.lck at>
Date:   Mon Jan 6 22:03:53 2020 +0800

    [trep-engine] upgrade to include 'balance brought forward'
    This fairly complex-looking change is actually simple.
    default-calculated-cells is redefined so that the running-balance
    column has a custom subheading renderer. The subheading renderer was
    formerly used solely for the account->friendly-debit/credit-string
    renderer, and is now upgraded to handle hard-coded symbols.
    If the friendly-heading-fn is a symbol 'bal-bf, it'll print the
    split->account->balance at begindate.
    Other columns may also be upgraded for novel subheading renderers. No
    forward/backward compatibility issues are expected at all. This change
    looks complex because the begindate is not available to
    make-split-table and has to be passed on as an argument to be
    available for use, and the subheading-renderer will test whether to
    display the friendly-fn-renderer at a later stage than previously.

Summary of changes:
 gnucash/report/report-system/trep-engine.scm | 68 ++++++++++++++++------------
 1 file changed, 40 insertions(+), 28 deletions(-)

More information about the gnucash-patches mailing list