summaryrefslogtreecommitdiff
path: root/FS/FS/TaxEngine.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-06-20 16:32:09 -0700
committerIvan Kohler <ivan@freeside.biz>2017-06-20 16:32:09 -0700
commit5f2511bd9a1d2919ae6b3c619bdfe929823936bf (patch)
tree16b562821ad3b710f8c9af4d39951f21ef222e66 /FS/FS/TaxEngine.pm
parente7cecbe67f14245eb17aaf0ebe4c371d93afe1ff (diff)
Compliance Solutions <http://csilongwood.com/> integration, RT#75262
Diffstat (limited to 'FS/FS/TaxEngine.pm')
-rw-r--r--FS/FS/TaxEngine.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/FS/FS/TaxEngine.pm b/FS/FS/TaxEngine.pm
index 4560142..e92bf76 100644
--- a/FS/FS/TaxEngine.pm
+++ b/FS/FS/TaxEngine.pm
@@ -124,6 +124,8 @@ sub calculate_taxes {
if ( !@raw_taxlines ) {
return;
} elsif ( !ref $raw_taxlines[0] ) { # error message
+ #this isn't actually handled by our caller... better for make_taxlines to
+ # die, that'll be caught be the eval around us in cust_main/Billing.pm
return $raw_taxlines[0];
}
@@ -296,7 +298,10 @@ a string on failure.
sub add_taxproduct {
my $class = shift;
- "$class does not allow manually adding taxproducts";
+ #my $classname = ref($class);
+ #my $vendor = (split('::',$classname))[2];
+ my $vendor = ref($class) || $class;
+ "$vendor does not allow manually adding taxproducts";
}
=item transfer_batch (batch-style only)