diff --git a/gnucash/report/business-reports/receipt.eguile.scm b/gnucash/report/business-reports/receipt.eguile.scm index 3b70108d58..e0b852b8b7 100644 --- a/gnucash/report/business-reports/receipt.eguile.scm +++ b/gnucash/report/business-reports/receipt.eguile.scm @@ -30,8 +30,8 @@ (let* (; invoice and company details (invoiceid (gncInvoiceGetID opt-invoice)) (book (gncInvoiceGetBook opt-invoice)) - (postdate (gncInvoiceGetDatePosted opt-invoice)) - (duedate (gncInvoiceGetDateDue opt-invoice)) + (postdate (gncInvoiceGetDatePostedTT opt-invoice)) + (duedate (gncInvoiceGetDateDueTT opt-invoice)) (billingid (gncInvoiceGetBillingID opt-invoice)) (notes (gncInvoiceGetNotes opt-invoice)) (terms (gncInvoiceGetTerms opt-invoice)) @@ -68,8 +68,8 @@ (lambda (s1 s2) (let ((t1 (xaccSplitGetParent s1)) (t2 (xaccSplitGetParent s2))) - (< (car (gnc-transaction-get-date-posted t1)) - (car (gnc-transaction-get-date-posted t2)))))))) + (< (xaccTransGetDate t1) + (xaccTransGetDate t2))))))) ; pre-scan invoice entries to look for discounts and taxes (for entry in entries do @@ -142,7 +142,7 @@

-

+

 

Attn:


@@ -193,7 +193,7 @@ (dsc-total 'add currency rdiscval) ?> - + @@ -254,7 +254,7 @@ (inv-total 'add c a) ?> - +