From: ivan Date: Wed, 27 May 2009 22:32:04 +0000 (+0000) Subject: and multiple taxlcasses. i think that should actually do it for now on RT#5446 X-Git-Tag: root_of_svc_elec_features~1166 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ba4e502ef582e72601a1548d04dd059e20735c71 and multiple taxlcasses. i think that should actually do it for now on RT#5446 --- diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi index 188ddc067..4654425c9 100644 --- a/httemplate/search/cust_bill_pkg.cgi +++ b/httemplate/search/cust_bill_pkg.cgi @@ -95,7 +95,10 @@ if ( $cgi->param('classnum') =~ /^(\d+)$/ ) { } } -push @where, map ' taxclass = '.dbh->quote($_), $cgi->param('taxclass') +push @where, ' ( '. join(' OR ', + map ' taxclass = '.dbh->quote($_), $cgi->param('taxclass') + ). + ' ) ' if $cgi->param('taxclass') && ! $cgi->param('istax'); #no part_pkg.taxclass in this case #(should we save a taxclass or a link to taxnum