gnucash maint: Bug 797188 - Default invoice prints credit note as invoice
Christopher Lam
clam at code.gnucash.org
Thu Apr 11 06:59:42 EDT 2019
Updated via https://github.com/Gnucash/gnucash/commit/6e7a4ccc (commit)
from https://github.com/Gnucash/gnucash/commit/19bbeaa6 (commit)
commit 6e7a4ccc77972e94003b1040bde11a23c4429d83
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Thu Apr 11 18:05:43 2019 +0800
Bug 797188 - Default invoice prints credit note as invoice
Error in guile code. Using (case var (datum ...)) means that datum are
symbols, so if datum is (GNC-INVOICE-VEND-INVOICE) it would try
(eqv? type 'GNC-INVOICE-VEND-INVOICE) which would never be true. We
need (eqv? type GNC-INVOICE-VEND-INVOICE). Using (cond) is more
appropriate here.
Summary of changes:
gnucash/report/business-reports/invoice.scm | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
More information about the gnucash-patches
mailing list