diff options
-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> |