summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2009-11-17 07:42:35 +0000
committerivan <ivan>2009-11-17 07:42:35 +0000
commite9cefec48652035f9e7fe3b7de47c21a369c38d0 (patch)
tree21bfe28c5d0f31ebe25ed726879f008193ca044d /httemplate
parent81231926bf1cc4d85e70c013d7e92d2cd280395b (diff)
add otaker to payment/refund search, RT#6407
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/elements/cust_pay_or_refund.html4
-rw-r--r--httemplate/search/report_cust_pay.html2
-rw-r--r--httemplate/search/report_cust_refund.html2
3 files changed, 8 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'";
diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html
index dd2358ad1..1dc1d7a7d 100644
--- a/httemplate/search/report_cust_pay.html
+++ b/httemplate/search/report_cust_pay.html
@@ -61,6 +61,8 @@
)
%>
+ <% include( '/elements/tr-select-otaker.html' ) %>
+
<TR>
<TD ALIGN="right" VALIGN="center">Payment</TD>
<TD>
diff --git a/httemplate/search/report_cust_refund.html b/httemplate/search/report_cust_refund.html
index 2197593da..90d15ec31 100644
--- a/httemplate/search/report_cust_refund.html
+++ b/httemplate/search/report_cust_refund.html
@@ -61,6 +61,8 @@
)
%>
+ <% include( '/elements/tr-select-otaker.html' ) %>
+
<TR>
<TD ALIGN="right" VALIGN="center">Refund</TD>
<TD>