correct sense of tax generation
authorjeff <jeff>
Wed, 20 Feb 2002 03:17:13 +0000 (03:17 +0000)
committerjeff <jeff>
Wed, 20 Feb 2002 03:17:13 +0000 (03:17 +0000)
FS/FS/cust_main.pm

index b732218..67b426b 100644 (file)
@@ -976,10 +976,10 @@ sub bill {
         $total_recur += $recur;
         $taxable_setup += $setup
           unless $part_pkg->dbdef_table->column('setuptax')
-                 || $part_pkg->setuptax =~ /^Y$/i;
+                 && $part_pkg->setuptax =~ /^Y$/i;
         $taxable_recur += $recur
           unless $part_pkg->dbdef_table->column('recurtax')
-                 || $part_pkg->recurtax =~ /^Y$/i;
+                 && $part_pkg->recurtax =~ /^Y$/i;
       }
     }