[freeside-commits] freeside/httemplate/misc recharge_svc.html, 1.6, 1.7
Ivan,,,
ivan at wavetail.420.am
Wed Jul 13 09:34:34 PDT 2011
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv2357
Modified Files:
recharge_svc.html
Log Message:
fix backend recharge w/prepaid card, RT#13478
Index: recharge_svc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/recharge_svc.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- recharge_svc.html 16 Mar 2008 16:58:54 -0000 1.6
+++ recharge_svc.html 13 Jul 2011 16:34:32 -0000 1.7
@@ -18,14 +18,17 @@
}
}
</SCRIPT>
+% if ($recharge_label) {
<TR>
- <TD><INPUT TYPE="radio" NAME="payby" onchange="toggle_prep(this)" VALUE="PREP" <% $payby eq "PREP" ? 'checked' : '' %> <% $recharge_label ? '' : 'disabled' %>></TD>
+ <TD><INPUT TYPE="radio" NAME="payby" onchange="toggle_prep(this)" VALUE="PREP" <% $payby eq "PREP" ? 'checked' : '' %>></TD>
<TD>Prepaid Card</TD>
-% if ($recharge_label) {
<TD><INPUT TYPE="radio" NAME="payby" onchange="toggle_prep(this)" VALUE="<% $cust_svc->cust_pkg->cust_main->payby %>" <% $payby eq "PREP" ? '' : 'checked' %>></TD>
<TD><% $recharge_label %></TD>
-% }
</TR>
+% } else {
+% $payby = 'PREP';
+ <INPUT TYPE="hidden" NAME="payby" VALUE="PREP">
+% }
<TR>
<TD>Enter prepaid card: </TD>
<TD><INPUT TYPE="text" NAME="prepaid" VALUE="<% $prepaid |h %>" <% $payby eq "PREP" ? '' : 'disabled' %>></TD>
More information about the freeside-commits
mailing list