X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=d1f567187e873fbf9aedcb15b62d943ae7734c0f;hb=f8a8f142236a338fde4b733df48e022d19748c88;hp=f48fdedea4e1f8e7129365bcf044e3e6bf0d1f5b;hpb=eb9668a6f3181ee02cb335272c5ee4616e61fd09;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index f48fdedea..d1f567187 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -1,10 +1,8 @@ MyAccount MyAccount

<%= $url = "$selfurl?session=$session_id;action="; ''; %> -
-MyAccount
- -
+<%= include('myaccount_menu') %> + Hello <%= $name %>!

<%= $small_custview %> @@ -15,7 +13,7 @@ Hello <%= $name %>!

<%= if ( @open_invoices ) { $OUT .= ''. - ''; my $link = qq!!

''; $col = $col eq $col1 ? $col2 : $col1; } - $OUT .= '
Open Invoices'; + '
Open Invoices
'; + $OUT .= '

'; } else { $OUT .= 'You have no outstanding invoices.

'; } %> +<%= + if ( @support_services ) { + $OUT .= ''. + ''. + ''. + ''; + my $col1 = "ffffff"; + my $col2 = "dddddd"; + my $col = $col1; + + foreach my $support ( @support_services ) { + my $td = qq!$td$a". $support->{'pkgnum'}. "". + $td.$a. $support->{'pkg'}. "". + $td.$a. $support->{'time'}. "". + ''; + $col = $col eq $col1 ? $col2 : $col1; + } + $OUT .= '
Support Time Remaining
#PackageTime Remaining
!; + my $a = qq!'; + $OUT .= + "

'; + } else { + $OUT .= ''; + } +%> + +<%= + if ( @tickets ) { + $OUT .= ''. + ''. + ''. + ''; + my $col1 = "ffffff"; + my $col2 = "dddddd"; + my $col = $col1; + + foreach my $ticket ( @tickets ) { + my $td = qq!$td". $ticket->{'id'}. "". + $td. $ticket->{'subject'}. "". + $td. ($ticket->{'content'} || $ticket->{'priority'}). "". + $td. $ticket->{'queue'}. "". + $td. $ticket->{'status'}. "". + ''; + $col = $col eq $col1 ? $col2 : $col1; + } + $OUT .= '
Open Tickets
#SubjectPriorityQueueStatus
!; + $OUT .= + "
'; + } else { + $OUT .= ''; + } +%> +
powered by freeside