gnucash maint: Bug 797188 - Default invoice prints credit note as invoice

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gnucash maint: Bug 797188 - Default invoice prints credit note as invoice

Christopher Lam-2
Updated via  https://github.com/Gnucash/gnucash/commit/6e7a4ccc (commit)
        from  https://github.com/Gnucash/gnucash/commit/19bbeaa6 (commit)



commit 6e7a4ccc77972e94003b1040bde11a23c4429d83
Author: Christopher Lam <[hidden email]>
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(-)

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches