bad shortcut causes taxes not to be charged
authorjeff <jeff>
Fri, 5 Dec 2008 04:20:09 +0000 (04:20 +0000)
committerjeff <jeff>
Fri, 5 Dec 2008 04:20:09 +0000 (04:20 +0000)
FS/FS/cust_main_county.pm

index 796e0c4..62dadad 100644 (file)
@@ -235,8 +235,7 @@ sub taxline {
       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];