summaryrefslogtreecommitdiff
path: root/FS/FS/TaxEngine/internal.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-01-30 20:50:05 -0800
committerMark Wells <mark@freeside.biz>2016-01-30 20:50:05 -0800
commitc5dd9bdf09dff2b5cc6d9a9681894664fe5147ef (patch)
tree1c9fa5e88b9ad0316557a0e193d244835ac0b98d /FS/FS/TaxEngine/internal.pm
parentc0607591ac4db28b1c4dee0a65546e88c5d62166 (diff)
but without breaking other kinds of exemptions
Diffstat (limited to 'FS/FS/TaxEngine/internal.pm')
-rw-r--r--FS/FS/TaxEngine/internal.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/TaxEngine/internal.pm b/FS/FS/TaxEngine/internal.pm
index 91b547c..a9b32d1 100644
--- a/FS/FS/TaxEngine/internal.pm
+++ b/FS/FS/TaxEngine/internal.pm
@@ -243,7 +243,6 @@ sub taxline {
exempt_monthly => 'Y',
year => $year,
month => $mon,
- taxnum => $tax_object->taxnum,
});
$taxable_charged -= $addl;
@@ -262,6 +261,8 @@ sub taxline {
# attach them to the line item
foreach my $ex (@new_exemptions) {
+ $ex->set('taxnum', $taxnum);
+
if ( $cust_bill_pkg->billpkgnum ) {
# the exempted item is already inserted (it should be, these days) so
# insert the exemption record now: