X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=c9ca0c5f0de0af3fc85f6815736a5773737fd095;hp=546ca1112c22ac64142dbe8e68a6ddd1a31375b2;hb=32db3ad86bcf04e4f34705a396b718061d333f20;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html
index 546ca1112..c9ca0c5f0 100644
--- a/fs_selfservice/FS-SelfService/cgi/myaccount.html
+++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html
@@ -8,7 +8,11 @@ Hello <%= $name %>!
<%= $small_custview %>
<%= if ( $balance > 0 ) {
- $OUT .= qq! Make a payment
!;
+ if (scalar(grep $_, @hide_payment_field)) {
+ $OUT .= qq! Make a payment
!;
+ } else {
+ $OUT .= qq! Make a payment
!;
+ }
} %>
<%=
if ( @open_invoices ) {
@@ -30,16 +34,65 @@ Hello <%= $name %>!
'';
$col = $col eq $col1 ? $col2 : $col1;
}
- $OUT .= '';
+ $OUT .= '
';
} else {
$OUT .= 'You have no outstanding invoices.
';
}
%>
-
-