gnucash maint: [new-owner-report] bugfix: balance row needs variable linked cols

Christopher Lam clam at code.gnucash.org
Thu Dec 26 19:14:50 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/b7b81699 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7629a018 (commit)



commit b7b81699c93273e791df9ec47ce1cce2aaf6a4c7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Dec 27 07:07:29 2019 +0700

    [new-owner-report] bugfix: balance row needs variable linked cols

diff --git a/gnucash/report/business-reports/new-owner-report.scm b/gnucash/report/business-reports/new-owner-report.scm
index df0b9645e..b2c43f8fc 100644
--- a/gnucash/report/business-reports/new-owner-report.scm
+++ b/gnucash/report/business-reports/new-owner-report.scm
@@ -446,7 +446,10 @@
   (define (add-balance-row odd-row? total)
     (add-row table odd-row? used-columns start-date #f "" (_ "Balance") ""
              currency total #f #f #f #f (list (make-list link-cols #f))
-             link-option (list (make-link-blank))))
+             link-option (case link-option
+                           ((none) '(()))
+                           ((simple) '((#f)))
+                           ((detailed) (list (make-link-blank))))))
 
   (define (make-invoice->payments-table invoice)
     (define (tfr-split->row tfr-split)



Summary of changes:
 gnucash/report/business-reports/new-owner-report.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list