gnucash maint: [new-owner-report] for payment rows, hide empty invoice rows

Christopher Lam clam at code.gnucash.org
Wed Jan 13 08:46:19 EST 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/08d50374 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e138818a (commit)



commit 08d50374c8dca9a489ca40a10958f6f99f729261
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jan 13 21:38:16 2021 +0800

    [new-owner-report] for payment rows, hide empty invoice rows
    
    Whereby a payment covers multiple invoices, the Description column
    shows all invoice payment split memos. If memos were empty, it'd show
    multiple empty rows.
    
    This commit modifies this behaviour to skip adding <br/> into the
    Description column whereby the invoice posting split memo is empty.
    This change applies only for payment's description cells.
    
    splits->desc is also used for invoice->payments RHS list to handle
    non-document splits, and this must not skip empty memos because
    non-document splits will dump both memos and amounts.



Summary of changes:
 gnucash/report/reports/standard/new-owner-report.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)



More information about the gnucash-patches mailing list