X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=cb5ed352efc801c8b0532f2d3c6f548fadc80cce;hb=8e219ac3d60ba254c9bbc40adfeb2ebe40fd2b5f;hp=546ca1112c22ac64142dbe8e68a6ddd1a31375b2;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index 546ca1112..cb5ed352e 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -30,16 +30,65 @@ Hello <%= $name %>!

''; $col = $col eq $col1 ? $col2 : $col1; } - $OUT .= ''; + $OUT .= '
'; } else { $OUT .= 'You have no outstanding invoices.

'; } %> - -
-powered by freeside - +<%= + 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 .= ''; + } +%> + + +<%= include('footer') %>