summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2002-02-20 03:17:13 +0000
committerjeff <jeff>2002-02-20 03:17:13 +0000
commit09b365e315a7ba825c9e1e262c50b372cf2595a2 (patch)
tree0fcc3d3d1e00b12c2d55cf2119bffc9d4f5e9863
parent8f42b751aebda2e7dce2c363bed6f1e15b411b1d (diff)
correct sense of tax generation
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index b732218e7..67b426b85 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -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;
}
}