gnucash maint: Bug 796509 - Saved reports don't respect *some* 'Edit report options'
Geert Janssens
gjanssens at code.gnucash.org
Sun Jun 24 16:21:38 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/246257de (commit)
from https://github.com/Gnucash/gnucash/commit/5f46553f (commit)
commit 246257de563404fca6d01aefe5527bc7a0e1ecb5
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sun Jun 24 22:19:48 2018 +0200
Bug 796509 - Saved reports don't respect *some* 'Edit report options'
This was due to some leftovers of the fix for bug 734168. That fix initially
went too far but for some reason the reversal of these parts never got
committed.
diff --git a/gnucash/report/business-reports/taxinvoice.eguile.scm b/gnucash/report/business-reports/taxinvoice.eguile.scm
index e6fde67..4a81bec 100644
--- a/gnucash/report/business-reports/taxinvoice.eguile.scm
+++ b/gnucash/report/business-reports/taxinvoice.eguile.scm
@@ -450,23 +450,7 @@
(let* ((owner (gncInvoiceGetOwner opt-invoice))
(endowner (gncOwnerGetEndOwner owner))
(ownertype (gncOwnerGetType endowner)))
- (if (not (eqv? ownertype GNC-OWNER-CUSTOMER))
- (begin
- (set! opt-report-title "Vendor Bill")
- (set! opt-extra-notes "")
- (set! opt-payment-recd-heading "Payment")
- (set! opt-invoice-number-text "Bill number")
- (display-report opt-invoice owner endowner ownertype)
- )
- (begin
- (set! opt-report-title "Customer Invoice")
- (set! opt-extra-notes "")
- (set! opt-payment-recd-heading "Payment")
- (set! opt-invoice-number-text "Invoice number")
- (display-report opt-invoice owner endowner ownertype)
- )
- )
- ))
+ (display-report opt-invoice owner endowner ownertype)))
?>
</div>
Summary of changes:
gnucash/report/business-reports/taxinvoice.eguile.scm | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
More information about the gnucash-changes
mailing list