summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2008-12-05 04:20:09 +0000
committerjeff <jeff>2008-12-05 04:20:09 +0000
commit812a61c2aea8a9afd53cbf5c245a8a9ddbf6fd33 (patch)
tree97d8d47ed7b65cf8ed8270d5509660583b5033b4
parente7a52321f87e5a1468a397a52457b7d99bcdb0e6 (diff)
bad shortcut causes taxes not to be charged
-rw-r--r--FS/FS/cust_main_county.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/cust_main_county.pm b/FS/FS/cust_main_county.pm
index 796e0c460..62dadadb7 100644
--- a/FS/FS/cust_main_county.pm
+++ b/FS/FS/cust_main_county.pm
@@ -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];