projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge webpay support in with autoselection of old realtime_bop and realtime_refund_bop
[freeside.git]
/
fs_selfservice
/
FS-SelfService
/
cgi
/
myaccount.html
diff --git
a/fs_selfservice/FS-SelfService/cgi/myaccount.html
b/fs_selfservice/FS-SelfService/cgi/myaccount.html
index
cb5ed35
..
c9ca0c5
100644
(file)
--- a/
fs_selfservice/FS-SelfService/cgi/myaccount.html
+++ b/
fs_selfservice/FS-SelfService/cgi/myaccount.html
@@
-8,7
+8,11
@@
Hello <%= $name %>!<BR><BR>
<%= $small_custview %>
<BR>
<%= if ( $balance > 0 ) {
<%= $small_custview %>
<BR>
<%= if ( $balance > 0 ) {
- $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!;
+ if (scalar(grep $_, @hide_payment_field)) {
+ $OUT .= qq! <B><A HREF="${url}make_payment">Make a payment</A></B><BR><BR>!;
+ } else {
+ $OUT .= qq! <B><A HREF="${url}make_thirdparty_payment&payby_method=CC">Make a payment</A></B><BR><BR>!;
+ }
} %>
<%=
if ( @open_invoices ) {
} %>
<%=
if ( @open_invoices ) {