X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fprovision.html;h=7c0f861e47508b4c3a9d1ae71a7f586370707e54;hp=326f90229f2f919d4fc772f8e9b843832dd44f9b;hb=d7eafc9c9aae2bf47ea19a56cc5bb1380c5874e4;hpb=6ced9264b8ec79e4b460be90ede25ec72a7dfc16 diff --git a/fs_selfservice/FS-SelfService/cgi/provision.html b/fs_selfservice/FS-SelfService/cgi/provision.html index 326f90229..7c0f861e4 100644 --- a/fs_selfservice/FS-SelfService/cgi/provision.html +++ b/fs_selfservice/FS-SelfService/cgi/provision.html @@ -1,77 +1,6 @@ -MyAccount -MyAccount

<%= $url = "$selfurl?session=$session_id;action="; ''; %> - -<%= include('myaccount_menu') %> -
-Setup services

+<%= include('header', 'Setup my services') %> - +<%= include('provision_list') %> -<%= foreach my $pkg ( - grep { scalar(@{$_->{part_svc}}) - || scalar(@{$_->{cust_svc}}) - } @cust_pkg - ) { - - $OUT .= ''. - ''; - - my $col1 = "ffffff"; - my $col2 = "dddddd"; - my $col = $col1; - - foreach my $cust_svc ( @{ $pkg->{cust_svc} } ) { - my $td = qq!'. - "$td>". $cust_svc->{label}[1]. ''. - "$td>"; - - #if ( $cust_svc->{label}[2] eq 'svc_acct' ) { - # $OUT .= qq!(!. - # 'change pw) '; - #} - - unless ( $cust_svc->{'svcnum'} == $svcnum ) { - $OUT .= qq!(!. - 'delete)'; - - } - $OUT .= ''; - $col = $col eq $col1 ? $col2 : $col1; - } - - $OUT .= '' - if scalar(@{$pkg->{part_svc}}) && scalar(@{$pkg->{cust_svc}}); - - my $col = $col1; - - foreach my $part_svc ( @{ $pkg->{part_svc} } ) { - - my $td = qq!'; - $col = $col eq $col1 ? $col2 : $col1; - } - - $OUT .= '
'. - $pkg->{'pkg'}. - '
". $cust_svc->{label}[0]. ':
!. - 'Setup '. $part_svc->{'svc'}. ' '. - '('. $part_svc->{'num_avail'}. ' available)'. - '

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