[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi make_payment.html, 1.20, 1.20.2.1

Erik Levinson levinse at wavetail.420.am
Wed May 4 19:38:38 PDT 2011


Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv24829/fs_selfservice/FS-SelfService/cgi

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	make_payment.html 
Log Message:
better SS payment process UI for negative balances, RT12728

Index: make_payment.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/make_payment.html,v
retrieving revision 1.20
retrieving revision 1.20.2.1
diff -u -w -d -r1.20 -r1.20.2.1
--- make_payment.html	22 Sep 2010 19:16:18 -0000	1.20
+++ make_payment.html	5 May 2011 02:38:35 -0000	1.20.2.1
@@ -17,7 +17,12 @@
   <TH ALIGN="right">Payment&nbsp;amount</TH>
   <TD COLSPAN=7>
     <TABLE><TR><TD BGCOLOR="#ffffff">
-      $<INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%=sprintf("%.2f",$balance)%>">
+<%=
+    $amt = '';
+    $amt = sprintf("%.2f",$balance) if $balance > 0;
+    '';
+%>
+      $<INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%=$amt%>">
     </TD></TR></TABLE>
   </TD>
 </TR>



More information about the freeside-commits mailing list