[freeside-commits] freeside/FS/FS cust_main.pm,1.405,1.406

Jeff Finucane,420,, jeff at wavetail.420.am
Wed Feb 4 07:58:38 PST 2009


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv2003

Modified Files:
	cust_main.pm 
Log Message:
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

Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.405
retrieving revision 1.406
diff -u -d -r1.405 -r1.406
--- cust_main.pm	26 Jan 2009 04:22:33 -0000	1.405
+++ cust_main.pm	4 Feb 2009 15:58:36 -0000	1.406
@@ -2927,16 +2927,6 @@
                   })
     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;



More information about the freeside-commits mailing list