diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2015-06-26 01:08:34 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-06 22:40:30 -0500 |
| commit | fe51a669f4f72c3c932a1fec138b60632666f982 (patch) | |
| tree | c186fa4ef7c733330ea786a864d1177406b7f2df /fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html | |
| parent | a2ecc0866f644783f4704067ddc1f58c70dce91c (diff) | |
RT#24684: Payments for Online Bill Pay
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html')
| -rwxr-xr-x | fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html b/fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html index 9a5678e8f..8c5b1a85a 100755 --- a/fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html +++ b/fs_selfservice/FS-SelfService/cgi/make_thirdparty_payment.html @@ -8,16 +8,23 @@ onSubmit="document.OneTrueForm.process.disabled=true"> <INPUT TYPE="hidden" NAME="action" VALUE="post_thirdparty_payment"> <INPUT TYPE="hidden" NAME="payby_method" VALUE="<%= $payby_method %>"> <TABLE BGCOLOR="#cccccc"> +<%= +if ($balance > 0) { + $OUT .= <<EOF; <TR> <TH ALIGN="right">Balance due</TH> <TD COLSPAN=7> - <SPAN STYLE="background-color: #ffffff;">$<%=sprintf("%.2f", $balance)%> + <SPAN STYLE="background-color: #ffffff;">$money_char$balance</SPAN> </TD> </TR> +EOF +} +%> + <TR> <TH ALIGN="right">Payment amount</TH> <TD COLSPAN=7> - $<INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%=sprintf("%.2f", $balance)%>"> + <%= $money_char %><INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%= ($balance > 0) ? $balance : '' %>"> </TD> </TR> <TR><TH></TH> |
