r21931 - gnucash/trunk/src/report/business-reports - Restore missing customer|vendor in easy invoice.

Geert Janssens gjanssens at code.gnucash.org
Fri Feb 3 08:49:15 EST 2012


Author: gjanssens
Date: 2012-02-03 08:49:15 -0500 (Fri, 03 Feb 2012)
New Revision: 21931
Trac: http://svn.gnucash.org/trac/changeset/21931

Modified:
   gnucash/trunk/src/report/business-reports/easy-invoice.scm
   gnucash/trunk/src/report/business-reports/invoice.scm
Log:
Restore missing customer|vendor in easy invoice.
This got broken in r21552

Modified: gnucash/trunk/src/report/business-reports/easy-invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/easy-invoice.scm	2012-02-03 13:16:23 UTC (rev 21930)
+++ gnucash/trunk/src/report/business-reports/easy-invoice.scm	2012-02-03 13:49:15 UTC (rev 21931)
@@ -712,6 +712,7 @@
 
     (if (not (null? invoice))
 	(begin
+	  (set! owner (gncInvoiceGetOwner invoice))
 	  (let ((type (gncInvoiceGetType invoice)))
 	    (cond
 	      ((eqv? type GNC-INVOICE-CUST-INVOICE)

Modified: gnucash/trunk/src/report/business-reports/invoice.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/invoice.scm	2012-02-03 13:16:23 UTC (rev 21930)
+++ gnucash/trunk/src/report/business-reports/invoice.scm	2012-02-03 13:49:15 UTC (rev 21931)
@@ -668,7 +668,7 @@
 
     (if (not (null? invoice))
 	(begin
-  (set! owner (gncInvoiceGetOwner invoice)) 
+	  (set! owner (gncInvoiceGetOwner invoice)) 
 	  (let ((type (gncInvoiceGetType invoice)))
 	    (cond
 	      ((eqv? type GNC-INVOICE-CUST-INVOICE)



More information about the gnucash-changes mailing list