X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=d1f567187e873fbf9aedcb15b62d943ae7734c0f;hb=5e05724a635a22776f1b973f5d7e77989da4e048;hp=546ca1112c22ac64142dbe8e68a6ddd1a31375b2;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0;p=freeside.git
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html
index 546ca1112..d1f567187 100644
--- a/fs_selfservice/FS-SelfService/cgi/myaccount.html
+++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html
@@ -30,12 +30,66 @@ Hello <%= $name %>!
'';
$col = $col eq $col1 ? $col2 : $col1;
}
- $OUT .= '';
+ $OUT .= '
';
} else {
$OUT .= 'You have no outstanding invoices.
';
}
%>
+<%=
+ if ( @support_services ) {
+ $OUT .= '
';
+ } else {
+ $OUT .= '';
+ }
+%>
+
+<%=
+ if ( @tickets ) {
+ $OUT .= ''.
+ 'Open Tickets |
'.
+ '# | Subject | Priority | Queue | '.
+ 'Status |
';
+ my $col1 = "ffffff";
+ my $col2 = "dddddd";
+ my $col = $col1;
+
+ foreach my $ticket ( @tickets ) {
+ my $td = qq!!;
+ $OUT .=
+ " | $td". $ticket->{'id'}. "".
+ $td. $ticket->{'subject'}. "".
+ $td. ($ticket->{'content'} || $ticket->{'priority'}). "".
+ $td. $ticket->{'queue'}. "".
+ $td. $ticket->{'status'}. "".
+ '
';
+ $col = $col eq $col1 ? $col2 : $col1;
+ }
+ $OUT .= '
';
+ } else {
+ $OUT .= '';
+ }
+%>
+
powered by freeside