summaryrefslogtreecommitdiff
path: root/FS/FS/TaxEngine/internal.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-04-02 11:55:39 -0700
committerMark Wells <mark@freeside.biz>2015-04-02 11:55:39 -0700
commita0011bf5a1f1aa762b9abf7e61dd3b4cac985fa0 (patch)
treedf5392587d5741baad45cca7d469d492687846cf /FS/FS/TaxEngine/internal.pm
parent7badb86e945f91ea4e18c8f52054d30404a43f86 (diff)
fix bad merge
Diffstat (limited to 'FS/FS/TaxEngine/internal.pm')
-rw-r--r--FS/FS/TaxEngine/internal.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/FS/FS/TaxEngine/internal.pm b/FS/FS/TaxEngine/internal.pm
index 3b13510..99535ad 100644
--- 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;