X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=9ab2622619403f2301ce6ca237edb3f6ecddbac9;hb=e710e07e4451b7c615fb477799dc64bf3490248c;hp=a57bfb14a34058bed57ff327c3d65e6b12572d93;hpb=7dc0206e7ff40bfd3e95018a7d724a63ce0af8ab;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index a57bfb14a..9ab262261 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -2,9 +2,11 @@ <%= include('header', 'My Account') %> Hello <%= $name %>!

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

!; } ''; @@ -34,17 +36,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 +61,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,33 +85,11 @@ Hello <%= $name %>!

} %> -<%= - if ( @tickets ) { - $OUT .= '
Support Time Remaining
#Package
PackageTime Remaining
!; + my $td = qq!!; my $a = qq!'; $OUT .= - "
'. - ''. - ''. - ''; - my $col1 = "ffffff"; - my $col2 = "dddddd"; - my $col = $col1; - - foreach my $ticket ( @tickets ) { - my $td = qq!$td $link". $ticket->{'id'}. "". - $td. $ticket->{'subject'}. "". - $td. ($ticket->{'content'} || $ticket->{'priority'}). "". - $td. $ticket->{'queue'}. "". - $td. $ticket->{'status'}. "". - $td. $ticket->{'created'}. "". - ''; - $col = $col eq $col1 ? $col2 : $col1; +<%= if (@tickets) { + $OUT .= include('ticket_summary'); + } else { + $OUT .= ''; } - $OUT .= '
Open Tickets
#SubjectPriorityQueueStatusCreated
!; - my $link = qq!!; - $OUT .= - "
'; - } else { - $OUT .= ''; - } %> <%= include('footer') %>