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:
32d3fef
)
tax refactor vs. internal taxation, RT#77679
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 23 Sep 2017 01:17:48 +0000
(18:17 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 23 Sep 2017 01:17:48 +0000
(18:17 -0700)
FS/FS/TaxEngine/internal.pm
patch
|
blob
|
history
diff --git
a/FS/FS/TaxEngine/internal.pm
b/FS/FS/TaxEngine/internal.pm
index
dbe9a99
..
5f5d229
100644
(file)
--- 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;