diff options
author | jeff <jeff> | 2008-12-05 04:20:09 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-12-05 04:20:09 +0000 |
commit | 812a61c2aea8a9afd53cbf5c245a8a9ddbf6fd33 (patch) | |
tree | 97d8d47ed7b65cf8ed8270d5509660583b5033b4 /FS/FS/cust_main_county.pm | |
parent | e7a52321f87e5a1468a397a52457b7d99bcdb0e6 (diff) |
bad shortcut causes taxes not to be charged
Diffstat (limited to 'FS/FS/cust_main_county.pm')
-rw-r--r-- | FS/FS/cust_main_county.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/cust_main_county.pm b/FS/FS/cust_main_county.pm index 796e0c4..62dadad 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]; |