From: jeff Date: Fri, 5 Dec 2008 04:20:09 +0000 (+0000) Subject: bad shortcut causes taxes not to be charged X-Git-Tag: root_of_webpay_support~210 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=812a61c2aea8a9afd53cbf5c245a8a9ddbf6fd33 bad shortcut causes taxes not to be charged --- 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];