X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2FFS-SelfService%2Fcgi%2Fprovision.html;h=808e4b54dbf31a121be06ec16d28da52dcb9dc4b;hb=8f1188e8550992bf3d9078e7a6042420eaf92bd5;hp=326f90229f2f919d4fc772f8e9b843832dd44f9b;hpb=6ced9264b8ec79e4b460be90ede25ec72a7dfc16;p=freeside.git
diff --git a/fs_selfservice/FS-SelfService/cgi/provision.html b/fs_selfservice/FS-SelfService/cgi/provision.html
index 326f90229..808e4b54d 100644
--- a/fs_selfservice/FS-SelfService/cgi/provision.html
+++ b/fs_selfservice/FS-SelfService/cgi/provision.html
@@ -1,10 +1,8 @@
-
MyAccount
-MyAccount
-<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-
-<%= include('myaccount_menu') %>
-
-Setup services
+<%= $heading1 = "Setup my services";
+ $heading1 = "Package list" if $wholesale_view;
+ $provision_list = "provision_list";
+ $provision_list = "ws_list" if $wholesale_view;
+ ''; %>
-<%= foreach my $pkg (
- grep { scalar(@{$_->{part_svc}})
- || scalar(@{$_->{cust_svc}})
- } @cust_pkg
- ) {
+<%= include('header', $heading1) %>
- $OUT .= ''.
- ''.
- $pkg->{'pkg'}.
- ' | ';
+<%= include($provision_list) %>
- my $col1 = "ffffff";
- my $col2 = "dddddd";
- my $col = $col1;
-
- foreach my $cust_svc ( @{ $pkg->{cust_svc} } ) {
- my $td = qq!". $cust_svc->{label}[0]. ': | '.
- "$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!!.
- 'Setup '. $part_svc->{'svc'}. ' '.
- '('. $part_svc->{'num_avail'}. ' available)'.
- ' | ';
- $col = $col eq $col1 ? $col2 : $col1;
- }
-
- $OUT .= ' ';
-
-} %>
-
- |
-
-powered by freeside
-
+<%= include('footer') %>