diff options
author | jeff <jeff> | 2009-02-04 15:58:36 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-02-04 15:58:36 +0000 |
commit | 37962c0795fe6069c51a50648de038d965bd8a3a (patch) | |
tree | 9692b072e1cd2aa05c02e72cada65f1e28d9e797 | |
parent | d51b66e2ba1ea7378096bbe28037f7eb459d6011 (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.pm | 10 |
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; |