[freeside-commits] freeside/httemplate/search report_cust_pay.html,
1.12, 1.13
Ivan,,,
ivan at wavetail.420.am
Wed Sep 13 09:01:56 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv11871
Modified Files:
report_cust_pay.html
Log Message:
add check # search, here for now...
Index: report_cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pay.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- report_cust_pay.html 23 Aug 2006 22:25:38 -0000 1.12
+++ report_cust_pay.html 13 Sep 2006 16:01:54 -0000 1.13
@@ -8,7 +8,7 @@
<TR>
<TD ALIGN="right">Payments of type: </TD>
<TD>
- <SELECT NAME="payby">
+ <SELECT NAME="payby" onChange="payby_changed(this)">
<OPTION VALUE="">all</OPTION>
<OPTION VALUE="CARD">credit card (all)</OPTION>
<OPTION VALUE="CARD-VisaMC">credit card (Visa/MasterCard)</OPTION>
@@ -25,6 +25,29 @@
</TD>
</TR>
+ <SCRIPT TYPE="text/javascript">
+
+ function payby_changed(what) {
+ if ( what.options[what.selectedIndex].value == 'BILL' ) {
+ document.getElementById('checkno_caption').style.color = '#000000';
+ what.form.payinfo.disabled = false;
+ what.form.payinfo.style.backgroundColor = '#ffffff';
+ } else {
+ document.getElementById('checkno_caption').style.color = '#bbbbbb';
+ what.form.payinfo.disabled = true;
+ what.form.payinfo.style.backgroundColor = '#dddddd';
+ }
+ }
+
+ </SCRIPT>
+
+ <TR>
+ <TD ALIGN="right"><FONT ID="checkno_caption" COLOR="#bbbbbb">Check #: </FONT></TD>
+ <TD>
+ <INPUT TYPE="text" NAME="payinfo" DISABLED STYLE="background-color: #dddddd">
+ </TD>
+ </TR>
+
<% include( '/elements/tr-select-agent.html',
$cgi->param('agentnum'),
'label' => 'for agent: ',
More information about the freeside-commits
mailing list