X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=65b98427defb9e4d6503f39742c36cdcfa04a59b;hp=421a866f15236f24c6478fd9688d5055895e46e7;hb=2f3b4161da680cd0fff8c91dbdc50fe5e974610e;hpb=91caf036bc222d20d078e31f1d28c2d6c86805e1 diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index 421a866f1..65b98427d 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 .= ''; } %>