summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService/cgi/make_payment.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-06-26 01:08:34 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-06 22:40:30 -0500
commitfe51a669f4f72c3c932a1fec138b60632666f982 (patch)
treec186fa4ef7c733330ea786a864d1177406b7f2df /fs_selfservice/FS-SelfService/cgi/make_payment.html
parenta2ecc0866f644783f4704067ddc1f58c70dce91c (diff)
RT#24684: Payments for Online Bill Pay
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/make_payment.html')
-rw-r--r--fs_selfservice/FS-SelfService/cgi/make_payment.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/make_payment.html b/fs_selfservice/FS-SelfService/cgi/make_payment.html
index 5f5bc1c8e..503901edd 100644
--- a/fs_selfservice/FS-SelfService/cgi/make_payment.html
+++ b/fs_selfservice/FS-SelfService/cgi/make_payment.html
@@ -3,14 +3,21 @@
<FORM NAME="OneTrueForm" METHOD="POST" ACTION="<%=$selfurl%>" onSubmit="document.OneTrueForm.process.disabled=true">
<INPUT TYPE="hidden" NAME="action" VALUE="payment_results">
<TABLE BGCOLOR="#cccccc">
+
+<%=
+if ($balance > 0) {
+ $OUT .= <<EOF;
<TR>
<TH ALIGN="right">Amount&nbsp;Due</TH>
<TD COLSPAN=7>
<TABLE><TR><TD BGCOLOR="#ffffff">
- <FONT COLOR="#000000">$<%=sprintf("%.2f",$balance)%></FONT>
+ $money_char$balance
</TD></TR></TABLE>
</TD>
</TR>
+EOF
+}
+%>
<%= $tr_amount_fee %>