projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab819c
)
better SS payment process UI for negative balances, RT12728
author
levinse
<levinse>
Thu, 5 May 2011 02:38:35 +0000
(
02:38
+0000)
committer
levinse
<levinse>
Thu, 5 May 2011 02:38:35 +0000
(
02:38
+0000)
fs_selfservice/FS-SelfService/cgi/make_payment.html
patch
|
blob
|
history
diff --git
a/fs_selfservice/FS-SelfService/cgi/make_payment.html
b/fs_selfservice/FS-SelfService/cgi/make_payment.html
index
645b68e
..
06440f6
100644
(file)
--- 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>