projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r10640,
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
make_payment.html
diff --git
a/fs_selfservice/FS-SelfService/cgi/make_payment.html
b/fs_selfservice/FS-SelfService/cgi/make_payment.html
index
96a17ba
..
3bce674
100644
(file)
--- a/
fs_selfservice/FS-SelfService/cgi/make_payment.html
+++ b/
fs_selfservice/FS-SelfService/cgi/make_payment.html
@@
-1,7
+1,6
@@
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('header') %>
+<%= include('header'
, 'Make a payment'
) %>
-<FONT SIZE=4>Make a payment</FONT><BR><BR>
<FORM NAME="OneTrueForm" METHOD="POST" ACTION="<%=$selfurl%>" onSubmit="document.OneTrueForm.process.disabled=true">
<INPUT TYPE="hidden" NAME="session" VALUE="<%=$session_id%>">
<INPUT TYPE="hidden" NAME="action" VALUE="payment_results">
<FORM NAME="OneTrueForm" METHOD="POST" ACTION="<%=$selfurl%>" onSubmit="document.OneTrueForm.process.disabled=true">
<INPUT TYPE="hidden" NAME="session" VALUE="<%=$session_id%>">
<INPUT TYPE="hidden" NAME="action" VALUE="payment_results">
@@
-18,10
+17,18
@@
<TH ALIGN="right">Payment amount</TH>
<TD COLSPAN=7>
<TABLE><TR><TD BGCOLOR="#ffffff">
<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>
</TD></TR></TABLE>
</TD>
-</TR><TR>
+</TR>
+<%= include('discount_term') %>
+<TR>
<TH ALIGN="right">Card type</TH>
<TD COLSPAN=7>
<SELECT NAME="card_type"><OPTION></OPTION>
<TH ALIGN="right">Card type</TH>
<TD COLSPAN=7>
<SELECT NAME="card_type"><OPTION></OPTION>
@@
-35,8
+42,8
@@
<%= include('card') %>
<TR>
<TD COLSPAN=8>
<%= include('card') %>
<TR>
<TD COLSPAN=8>
- <INPUT TYPE="checkbox"
CHECKED
NAME="save" VALUE="1">
- Remember this
information
+ <INPUT TYPE="checkbox"
<%= $save_unchecked ? '' : 'CHECKED' %>
NAME="save" VALUE="1">
+ Remember this
card and billing address
</TD>
</TR><TR>
<TD COLSPAN=8>
</TD>
</TR><TR>
<TD COLSPAN=8>