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:
7badb86
)
fix bad merge
author
Mark Wells
<mark@freeside.biz>
Thu, 2 Apr 2015 18:55:39 +0000
(11:55 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 2 Apr 2015 18:55:39 +0000
(11:55 -0700)
FS/FS/TaxEngine/internal.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TaxEngine/internal.pm
b/FS/FS/TaxEngine/internal.pm
index
3b13510
..
99535ad
100644
(file)
--- a/
FS/FS/TaxEngine/internal.pm
+++ b/
FS/FS/TaxEngine/internal.pm
@@
-22,12
+22,10
@@
sub add_sale {
push @{ $self->{items} }, $cust_bill_pkg;
- my $location = $cust_pkg->tax_location; # cacheable?
-
my @loc_keys = qw( district city county state country );
my %taxhash = map { $_ => $location->get($_) } @loc_keys;
- $taxhash{'taxclass'} = $part_
pkg
->taxclass;
+ $taxhash{'taxclass'} = $part_
item
->taxclass;
my @taxes = (); # entries are cust_main_county objects
my %taxhash_elim = %taxhash;