summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-03-02 13:14:34 -0800
committerMark Wells <mark@freeside.biz>2015-03-02 13:14:45 -0800
commit5de6205d74e89fb3227402662d6848c8d52eadb7 (patch)
tree70ef980c7ba92e38aa4cdcf5f6f57524e9902258
parente3e006a4e2d532e5643e8e7cbb1de4b7f1d21135 (diff)
fix application of credits to tax-exempt sales items, #33772, from #18509
-rw-r--r--FS/FS/cust_credit_bill_pkg.pm2
1 files changed, 1 insertions, 1 deletions
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(