X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=cb5ed352efc801c8b0532f2d3c6f548fadc80cce;hb=8e219ac3d60ba254c9bbc40adfeb2ebe40fd2b5f;hp=9997d7059a1500d81a9221d89460c4349feae957;hpb=6ced9264b8ec79e4b460be90ede25ec72a7dfc16;p=freeside.git
diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html
index 9997d7059..cb5ed352e 100644
--- a/fs_selfservice/FS-SelfService/cgi/myaccount.html
+++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html
@@ -1,7 +1,6 @@
MyAccount
MyAccount
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-
<%= include('myaccount_menu') %>
@@ -31,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 .= '
';
+ } 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 .= '';
+ }
+%>
+
+
+<%= include('footer') %>