projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c060759
)
but without breaking other kinds of exemptions
author
Mark Wells
<mark@freeside.biz>
Sun, 31 Jan 2016 04:50:05 +0000
(20:50 -0800)
committer
Mark Wells
<mark@freeside.biz>
Sun, 31 Jan 2016 04:50:05 +0000
(20:50 -0800)
FS/FS/TaxEngine/internal.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TaxEngine/internal.pm
b/FS/FS/TaxEngine/internal.pm
index
91b547c
..
a9b32d1
100644
(file)
--- 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: