gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Nov 9 19:58:50 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/6f7c6b9d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/97798f9f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b7205213 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/72c20a07 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9f4677e3 (commit)
	from  https://github.com/Gnucash/gnucash/commit/f0701da8 (commit)



commit 6f7c6b9de3326d27bfaa0857069b8df4a2d22c74
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 10 03:50:55 2019 +0800

    [new-aging] step 3 - only render APAR details if APAR-accounts>1
    
    This commit will hide the APAR account anchor if there's only one
    found. So, for majority of users with single AP/AR accounts, the aging
    report will be very similar to old one. For users with multi APAR
    accounts, each one will be shown with header (and anchor) and
    indenting to highlight grouping.

commit 97798f9fd1b5c7864b359e84b9f76f2d8915c2c9
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 10 04:07:08 2019 +0800

    [new-aging] step 2 - reduce indentation level by 1
    
    merge two let* together

commit b72052137b562888421fdc9d4e7c7d05867c0186
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Nov 9 17:19:50 2019 +0800

    [new-aging] step 1 - split loops into processing vs building table
    
    Instead of rendering html-table all incrementally, build
    account-and-owners and owners-and-aging lists first, leaving building
    the html-table for the end. tofree is a list of owners which are
    generated and must be freed after use.

commit 72c20a07c36fbf719691f5cc35e2df4037218d23
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Nov 9 14:45:11 2019 +0800

    [new-owner-report] merge setup-query and setup-job-query
    
    They were very similar.
    
    and remove html-document-set-title! because the document headline will
    override title in the renderer.

commit 9f4677e34651a35b409a1fcdc967bbbd2b6e5020
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Nov 9 14:31:24 2019 +0800

    [new-owner-report] apply total-label-cell to label
    
    Previous used 'total-number-cell' thereby unnecessarily right-aligning
    total label cells.
    
    Also xaccTransGetAccountAmount is more appropriate than
    xaccTransGetAccountValue because the latter may retrieve numbers in a
    currency other than APAR currency.



Summary of changes:
 gnucash/report/business-reports/new-aging.scm      | 205 ++++++++++++---------
 .../report/business-reports/new-owner-report.scm   |  39 +---
 2 files changed, 126 insertions(+), 118 deletions(-)



More information about the gnucash-patches mailing list