projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
432baf4
)
add otaker to payment/refund search, RT#6407
author
ivan
<ivan>
Tue, 17 Nov 2009 07:42:34 +0000
(07:42 +0000)
committer
ivan
<ivan>
Tue, 17 Nov 2009 07:42:34 +0000
(07:42 +0000)
httemplate/search/elements/cust_pay_or_refund.html
patch
|
blob
|
history
httemplate/search/report_cust_pay.html
patch
|
blob
|
history
httemplate/search/report_cust_refund.html
patch
|
blob
|
history
diff --git
a/httemplate/search/elements/cust_pay_or_refund.html
b/httemplate/search/elements/cust_pay_or_refund.html
index
874bd8a
..
b1296d1
100755
(executable)
--- 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
dd2358a
..
1dc1d7a
100644
(file)
--- 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
2197593
..
90d15ec
100644
(file)
--- 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>