summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-05 02:38:35 +0000
committerlevinse <levinse>2011-05-05 02:38:35 +0000
commit762d6f0c5dce007d3e539d56c4a79602dcc8d4dc (patch)
tree8ee79f8b8de985be3315c6eb35ea3ff086606224
parentdab819c23e4fe54c055fce497412e0ec6cf67bc2 (diff)
better SS payment process UI for negative balances, RT12728
-rw-r--r--fs_selfservice/FS-SelfService/cgi/make_payment.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/make_payment.html b/fs_selfservice/FS-SelfService/cgi/make_payment.html
index 645b68ec7..06440f609 100644
--- a/fs_selfservice/FS-SelfService/cgi/make_payment.html
+++ b/fs_selfservice/FS-SelfService/cgi/make_payment.html
@@ -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>