summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorivan <ivan>2009-11-17 07:42:34 +0000
committerivan <ivan>2009-11-17 07:42:34 +0000
commit56fd2a280fa3aba5ae8fcc65ab775ef28dd730d9 (patch)
tree79686c9fc5c526fc911d088b82a7d46e0b3bb286 /httemplate/search/elements
parent432baf42fed3c38b150a12f662e7152d51cbb044 (diff)
add otaker to payment/refund search, RT#6407
Diffstat (limited to 'httemplate/search/elements')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/elements/cust_pay_or_refund.html b/httemplate/search/elements/cust_pay_or_refund.html
index 874bd8aa3..b1296d1b0 100755
--- a/httemplate/search/elements/cust_pay_or_refund.html
+++ b/httemplate/search/elements/cust_pay_or_refund.html
@@ -209,6 +209,10 @@ if ( $cgi->param('magic') ) {
push @search, "cust_$thing.payinfo = '$1'";
}
+ if ( $cgi->param('otaker') =~ /^(\w+)$/ ) {
+ push @search, "cust_$thing.otaker = '$1'";
+ }
+
#for cust_pay_pending... statusNOT=done
if ( $cgi->param('statusNOT') =~ /^(\w+)$/ ) {
push @search, "status != '$1'";