From 1183337f7bcc30422b525ff14c0b67d48f08f07f Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 2 Mar 2015 13:16:07 -0800 Subject: [PATCH] fix application of credits to tax-exempt sales items, #33772, from #18509 --- FS/FS/cust_credit_bill_pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_credit_bill_pkg.pm b/FS/FS/cust_credit_bill_pkg.pm index 1f741b289..080a83aaa 100644 --- a/FS/FS/cust_credit_bill_pkg.pm +++ b/FS/FS/cust_credit_bill_pkg.pm @@ -112,7 +112,7 @@ sub insert { if ($taxable_per_month >= 0) { #panic if its subzero? my $groupby = join(',', - qw(taxnum year month exempt_monthly exempt_cust + qw(taxnum taxtype year month exempt_monthly exempt_cust exempt_cust_taxname exempt_setup exempt_recur)); my $sum = 'SUM(amount)'; my @exemptions = qsearch( -- 2.11.0