From: jeff Date: Wed, 4 Feb 2009 15:58:36 +0000 (+0000) Subject: with usage classes, the probability of a taxless line item tranche is too high for... X-Git-Tag: root_of_webpay_support~88 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=37962c0795fe6069c51a50648de038d965bd8a3a 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 --- 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;