X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fmyaccount.html;h=66e2c692ed6a451f60fcae8196b766fb047228be;hb=3564f619654c5cbf22fc2acbe7eff0c08308e859;hp=6b4187f368eb60eb53ca681df68975075d2e2f10;hpb=5250c44bd7f282c7d782bf0e8349af12376929df;p=freeside.git diff --git a/fs_selfservice/FS-SelfService/cgi/myaccount.html b/fs_selfservice/FS-SelfService/cgi/myaccount.html index 6b4187f36..66e2c692e 100644 --- a/fs_selfservice/FS-SelfService/cgi/myaccount.html +++ b/fs_selfservice/FS-SelfService/cgi/myaccount.html @@ -1,17 +1,18 @@ -<%= $url = "$selfurl?session=$session_id;action="; ''; %> +<%= $url = "$selfurl?action="; ''; %> <%= include('header', 'My Account') %> Hello <%= $name %>!

-<%= $small_custview %> + +<%= include('small_custview') %> +
-<%= if ( $access_pkgnum ) { - $OUT .= qq!Balance: \$$balance

!; - } - ''; + +<%= + $OUT .= qq! View All Invoices     !; %> <%= if ( $balance > 0 ) { - if (scalar(grep $_, @hide_payment_fields)) { + if (scalar(grep $_, @hide_payment_fields)) { # this sucks $OUT .= qq! Make a payment

!; } else { $OUT .= qq! Make a payment
!; @@ -30,17 +31,17 @@ Hello <%= $name %>!

$OUT .= ''. ''; my $link = qq!!; + my $td = qq!$td${a}Invoice #". $invoice->{'invnum'}. "$td". "$td$a". $invoice->{'date'}. "$td". - qq!'. ''; $col = $col eq $col1 ? $col2 : $col1; @@ -55,20 +56,21 @@ Hello <%= $name %>!

if ( @support_services ) { $OUT .= '
Open Invoices
!; my $a=qq!'; $OUT .= "
$a\$!. $invoice->{'owed'}. + qq!$a\$!. $invoice->{'owed'}. '
'. ''. - ''. + ''. ''; - my $col1 = "ffffff"; - my $col2 = "dddddd"; + my $col1 = $stripe1_bgcolor || '#ffffff'; + my $col2 = $stripe2_bgcolor || '#dddddd'; my $col = $col1; foreach my $support ( @support_services ) { - my $td = qq!$td$a". $support->{'pkgnum'}. "". - $td.$a. $support->{'pkg'}. "". - $td.$a. $support->{'time'}. "". + "". + $td.$a. $support->{'pkg'}. "". + $td.' '. + $td.$a. $support->{'time'}. "". ''; $col = $col eq $col1 ? $col2 : $col1; } @@ -78,31 +80,11 @@ Hello <%= $name %>!

} %> -<%= - if ( @tickets ) { - $OUT .= '
Support Time Remaining
#Package
PackageTime Remaining
!; + my $td = qq!!; my $a = qq!'; $OUT .= - "
'. - ''. - ''. - ''; - my $col1 = "ffffff"; - my $col2 = "dddddd"; - my $col = $col1; - - foreach my $ticket ( @tickets ) { - my $td = qq!$td". $ticket->{'id'}. "". - $td. $ticket->{'subject'}. "". - $td. ($ticket->{'content'} || $ticket->{'priority'}). "". - $td. $ticket->{'queue'}. "". - $td. $ticket->{'status'}. "". - ''; - $col = $col eq $col1 ? $col2 : $col1; +<%= if (@tickets) { + $OUT .= include('ticket_summary'); + } else { + $OUT .= ''; } - $OUT .= '
Open Tickets
#SubjectPriorityQueueStatus
!; - $OUT .= - "
'; - } else { - $OUT .= ''; - } %> <%= include('footer') %>