diff options
Diffstat (limited to 'fs_selfservice')
-rw-r--r-- | fs_selfservice/FS-SelfService/cgi/make_payment.html | 8 |
1 files changed, 7 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..3bce67433 100644 --- a/fs_selfservice/FS-SelfService/cgi/make_payment.html +++ b/fs_selfservice/FS-SelfService/cgi/make_payment.html @@ -17,7 +17,13 @@ <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 = $balance; + $amt += $amt * $credit_card_surcharge_percentage/100 + if $credit_card_surcharge_percentage > 0; + ''; +%> + $<INPUT TYPE="text" NAME="amount" SIZE=8 VALUE="<%=sprintf("%.2f",$amt)%>"> </TD></TR></TABLE> </TD> </TR> |