diff options
| author | ivan <ivan> | 2009-05-27 22:32:04 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2009-05-27 22:32:04 +0000 | 
| commit | ba4e502ef582e72601a1548d04dd059e20735c71 (patch) | |
| tree | e7ba57cf5849f01990f86be68d55dc4939bc5acb /httemplate | |
| parent | dc313675fc24fa04a619cc980d48de9e4cf2f876 (diff) | |
and multiple taxlcasses.  i think that should actually do it for now on RT#5446
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/search/cust_bill_pkg.cgi | 5 | 
1 files changed, 4 insertions, 1 deletions
| 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 | 
