[freeside-commits] freeside/FS/FS cust_main_county.pm,1.20,1.21

Jeff Finucane,420,, jeff at wavetail.420.am
Thu Dec 4 20:20:11 PST 2008


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

Modified Files:
	cust_main_county.pm 
Log Message:
bad shortcut causes taxes not to be charged

Index: cust_main_county.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main_county.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- cust_main_county.pm	8 Jul 2008 02:01:41 -0000	1.20
+++ cust_main_county.pm	5 Dec 2008 04:20:09 -0000	1.21
@@ -235,8 +235,7 @@
       unless $part_pkg->recurtax =~ /^Y$/i
           || $self->recurtax =~ /^Y$/i;
 
-    return [ $name, 0 ]
-      unless $taxable_charged;
+    next unless $taxable_charged;
   
     if ( $self->exempt_amount && $self->exempt_amount > 0 ) {
       #my ($mon,$year) = (localtime($cust_bill_pkg->sdate) )[4,5];



More information about the freeside-commits mailing list