r22235 - gnucash/trunk/src/report/business-reports - Invoice report - display Job info in new line
Geert Janssens
gjanssens at code.gnucash.org
Sat Jun 23 10:42:35 EDT 2012
Author: gjanssens
Date: 2012-06-23 10:42:35 -0400 (Sat, 23 Jun 2012)
New Revision: 22235
Trac: http://svn.gnucash.org/trac/changeset/22235
Modified:
gnucash/trunk/src/report/business-reports/invoice.scm
Log:
Invoice report - display Job info in new line
Modified: gnucash/trunk/src/report/business-reports/invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/invoice.scm 2012-06-23 12:25:22 UTC (rev 22234)
+++ gnucash/trunk/src/report/business-reports/invoice.scm 2012-06-23 14:42:35 UTC (rev 22235)
@@ -758,12 +758,15 @@
(let* ((term (gncInvoiceGetTerms invoice))
(terms (gncBillTermGetDescription term)))
(if (and terms (> (string-length terms) 0))
- (gnc:html-document-add-object!
- document
- (gnc:make-html-text
- (string-append
- (_ "Terms") ": "
- (string-expand terms #\newline "<br>")))))))
+ (begin
+ (gnc:html-document-add-object!
+ document
+ (gnc:make-html-text
+ (string-append
+ (_ "Terms") ": "
+ (string-expand terms #\newline "<br>"))))
+ (make-break! document))
+ )))
;(make-break! document)
More information about the gnucash-changes
mailing list