r21405 - gnucash/trunk/src/report/business-reports - Add link to split in its account register to all payment lines on the

Geert Janssens gjanssens at code.gnucash.org
Sun Oct 9 17:06:14 EDT 2011


Author: gjanssens
Date: 2011-10-09 17:06:14 -0400 (Sun, 09 Oct 2011)
New Revision: 21405
Trac: http://svn.gnucash.org/trac/changeset/21405

Modified:
   gnucash/trunk/src/report/business-reports/owner-report.scm
Log:
Add link to split in its account register to all payment lines on the
owner report.

Modified: gnucash/trunk/src/report/business-reports/owner-report.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/owner-report.scm	2011-10-09 21:06:02 UTC (rev 21404)
+++ gnucash/trunk/src/report/business-reports/owner-report.scm	2011-10-09 21:06:14 UTC (rev 21405)
@@ -341,7 +341,10 @@
           (gnc:invoice-anchor-text invoice)
           inv-str))
         inv-str))
-       ((equal? type TXN-TYPE-PAYMENT) (_ "Payment, thank you"))
+       ((equal? type TXN-TYPE-PAYMENT)
+        (gnc:make-html-text
+	 (gnc:html-markup-anchor
+	  (gnc:split-anchor-text split) (_ "Payment, thank you"))))
        (else (_ "Unknown"))))
      )
 



More information about the gnucash-changes mailing list