diff options
author | levinse <levinse> | 2011-05-05 02:38:35 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-05-05 02:38:35 +0000 |
commit | 762d6f0c5dce007d3e539d56c4a79602dcc8d4dc (patch) | |
tree | 8ee79f8b8de985be3315c6eb35ea3ff086606224 | |
parent | dab819c23e4fe54c055fce497412e0ec6cf67bc2 (diff) |
better SS payment process UI for negative balances, RT12728
-rw-r--r-- | fs_selfservice/FS-SelfService/cgi/make_payment.html | 7 |
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 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> |