projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc31367
)
and multiple taxlcasses. i think that should actually do it for now on RT#5446
author
ivan
<ivan>
Wed, 27 May 2009 22:32:04 +0000
(22:32 +0000)
committer
ivan
<ivan>
Wed, 27 May 2009 22:32:04 +0000
(22:32 +0000)
httemplate/search/cust_bill_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_bill_pkg.cgi
b/httemplate/search/cust_bill_pkg.cgi
index
188ddc0
..
4654425
100644
(file)
--- 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