From 5de6205d74e89fb3227402662d6848c8d52eadb7 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Mon, 2 Mar 2015 13:14:34 -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 7b723f984..ac13b520f 100644 --- a/FS/FS/cust_credit_bill_pkg.pm +++ b/FS/FS/cust_credit_bill_pkg.pm @@ -117,7 +117,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.20.1