X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=d1f567187e873fbf9aedcb15b62d943ae7734c0f;hb=f8a8f142236a338fde4b733df48e022d19748c88;hp=421a866f15236f24c6478fd9688d5055895e46e7;hpb=ec0b7b798c328387e09e9a65b87330e2dffcb9ca;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index 421a866f1..d1f567187 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -37,10 +37,29 @@ Hello <%= $name %>!

%> <%= - if ( defined($support_time) ) { + if ( @support_services ) { $OUT .= ''. - ''. - "
Support Time Remaining
$support_time

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

"$td". $ticket->{'id'}. "". $td. $ticket->{'subject'}. "". $td. ($ticket->{'content'} || $ticket->{'priority'}). "". - $td. $ticket->{'name'}. "". + $td. $ticket->{'queue'}. "". $td. $ticket->{'status'}. "". ''; $col = $col eq $col1 ? $col2 : $col1;