X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=a6352e07a3e83af18cc12972577b91f9750e886e;hb=63973c641c4be00765fa27e55c57cc5b9aa4da19;hp=b1598838703dbce2f9b3dbe97513bbdc4f0d79cc;hpb=ae613d832c5f9fa00f476aa4d5c79450ba6cd159;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index b15988387..a6352e07a 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -2,20 +2,17 @@ <%= include('header', 'My Account') %> Hello <%= $name %>!

-<%= $small_custview %> + +<%= include('small_custview') %> +
-<%= if ( $access_pkgnum ) { - $OUT .= qq!Balance: \$$balance

!; - } - ''; -%> <%= $OUT .= qq! View All Invoices     !; %> <%= if ( $balance > 0 ) { - if (scalar(grep $_, @hide_payment_fields)) { + if (scalar(grep $_, @hide_payment_fields)) { # this sucks $OUT .= qq! Make a payment

!; } else { $OUT .= qq! Make a payment
!; @@ -34,17 +31,17 @@ Hello <%= $name %>!

$OUT .= ''. ''; my $link = qq!!; + my $td = qq!$td${a}Invoice #". $invoice->{'invnum'}. "$td". "$td$a". $invoice->{'date'}. "$td". - qq!'. ''; $col = $col eq $col1 ? $col2 : $col1; @@ -59,20 +56,21 @@ Hello <%= $name %>!

if ( @support_services ) { $OUT .= '
Open Invoices
!; my $a=qq!'; $OUT .= "
$a\$!. $invoice->{'owed'}. + qq!$a\$!. $invoice->{'owed'}. '
'. ''. - ''. + ''. ''; - my $col1 = "ffffff"; - my $col2 = "dddddd"; + my $col1 = $stripe1_bgcolor || '#ffffff'; + my $col2 = $stripe2_bgcolor || '#dddddd'; my $col = $col1; foreach my $support ( @support_services ) { - my $td = qq!$td$a". $support->{'pkgnum'}. "". - $td.$a. $support->{'pkg'}. "". - $td.$a. $support->{'time'}. "". + "". + $td.$a. $support->{'pkg'}. "". + $td.' '. + $td.$a. $support->{'time'}. "". ''; $col = $col eq $col1 ? $col2 : $col1; } @@ -82,6 +80,11 @@ Hello <%= $name %>!

} %> -<%= include('ticket_summary') if @tickets %> +<%= if (@tickets) { + $OUT .= include('ticket_summary'); + } else { + $OUT .= ''; + } +%> <%= include('footer') %>
Support Time Remaining
#Package
PackageTime Remaining
!; + my $td = qq!!; my $a = qq!'; $OUT .= - "