summaryrefslogtreecommitdiff
path: root/FS/FS/TaxEngine/internal.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-09-22 18:17:48 -0700
committerIvan Kohler <ivan@freeside.biz>2017-09-22 18:17:48 -0700
commitb21864778ad131008d94a3672820a6acbd413b60 (patch)
tree768bd2c93cf12822aec69d5953fb6868b1b42226 /FS/FS/TaxEngine/internal.pm
parent32d3fef150fd4ad2d900468dacb5a98688818f37 (diff)
tax refactor vs. internal taxation, RT#77679
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 dbe9a99..5f5d229 100644
--- a/FS/FS/TaxEngine/internal.pm
+++ b/FS/FS/TaxEngine/internal.pm
@@ -23,7 +23,8 @@ sub add_sale {
my ($self, $cust_bill_pkg) = @_;
my $part_item = $cust_bill_pkg->part_X;
- my $location = $cust_bill_pkg->tax_location;
+ my $location = $cust_bill_pkg->tax_location
+ or return;
my $custnum = $self->{cust_main}->custnum;
push @{ $self->{items} }, $cust_bill_pkg;