X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=d6527fe76e3bd1cc8e9349d40d82ad0c2d701816;hb=99100d7e0d0b22a1844dde88acd529e79d096463;hp=49a2648b4eef560088d3eab5e2f8780bb699e829;hpb=8c8fcedb6c24e54ae4d13c8107ef03db35934622;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index 49a2648b4..d6527fe76 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -1,14 +1,21 @@ -MyAccount -MyAccount

<%= $url = "$selfurl?session=$session_id;action="; ''; %> -<%= include('myaccount_menu') %> - +<%= include('header') %> Hello <%= $name %>!

<%= $small_custview %>
+<%= if ( $pkgnum ) { + $OUT .= qq!Balance: \$$balance

!; + } + ''; +%> + <%= if ( $balance > 0 ) { - $OUT .= qq! Make a payment

!; + if (scalar(grep $_, @hide_payment_fields)) { + $OUT .= qq! Make a payment

!; + } else { + $OUT .= qq! Make a payment

!; + } } %> <%= if ( @open_invoices ) { @@ -37,10 +44,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 .= ''; } %> @@ -59,8 +85,8 @@ Hello <%= $name %>!

$OUT .= "$td". $ticket->{'id'}. "". $td. $ticket->{'subject'}. "". - $td. $ticket->{'priority'}. "". - $td. $ticket->{'name'}. "". + $td. ($ticket->{'content'} || $ticket->{'priority'}). "". + $td. $ticket->{'queue'}. "". $td. $ticket->{'status'}. "". ''; $col = $col eq $col1 ? $col2 : $col1; @@ -71,10 +97,4 @@ Hello <%= $name %>!

} %> - -
-powered by freeside - - - - +<%= include('footer') %>