with usage classes, the probability of a taxless line item tranche is too high for...
authorjeff <jeff>
Wed, 4 Feb 2009 15:58:36 +0000 (15:58 +0000)
committerjeff <jeff>
Wed, 4 Feb 2009 15:58:36 +0000 (15:58 +0000)
FS/FS/cust_main.pm

index fa2ccaa..1d234a7 100644 (file)
@@ -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;