summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2009-02-04 15:58:36 +0000
committerjeff <jeff>2009-02-04 15:58:36 +0000
commit37962c0795fe6069c51a50648de038d965bd8a3a (patch)
tree9692b072e1cd2aa05c02e72cada65f1e28d9e797
parentd51b66e2ba1ea7378096bbe28037f7eb459d6011 (diff)
with usage classes, the probability of a taxless line item tranche is too high for this to be a fatal error. we risk overlooking misconfigured taxes/packages
-rw-r--r--FS/FS/cust_main.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index fa2ccaa2b..1d234a765 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -2927,16 +2927,6 @@ sub _gather_taxes {
})
if scalar(@taxclassnums);
- # maybe eliminate this entirely, along with all the 0% records
- unless ( @taxes ) {
- return
- "fatal: can't find tax rate for geocode/taxproduct/pkgpart ".
- join('/', $geocode,
- $part_pkg->taxproduct_description,
- $part_pkg->pkgpart
- );
- }
-
warn "Found taxes ".
join(',', map{ ref($_). " ". $_->get($_->primary_key) } @taxes). "\n"
if $DEBUG;