diff options
author | C.J. Adams-Collier <cjac@colliertech.org> | 2014-09-25 13:15:18 -0700 |
---|---|---|
committer | C.J. Adams-Collier <cjac@colliertech.org> | 2014-09-25 13:15:29 -0700 |
commit | 7bcf726ffbb331ad01e717f7de36bfb42f5ca4ba (patch) | |
tree | fc34a2ef6d2752ae9c235d0b44e5bce6b01d4fc8 /fs_selfservice | |
parent | a6def4c68914a9d8a282eaa34dcff5f6fd002568 (diff) |
FS RT #30362 - added configuration option to disable package modification in selfservice
checking for this value before displaying change link or accepting form submission data
Diffstat (limited to 'fs_selfservice')
-rw-r--r-- | fs_selfservice/FS-SelfService/cgi/provision_list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/provision_list.html b/fs_selfservice/FS-SelfService/cgi/provision_list.html index 24d6ff436..b558337de 100644 --- a/fs_selfservice/FS-SelfService/cgi/provision_list.html +++ b/fs_selfservice/FS-SelfService/cgi/provision_list.html @@ -13,8 +13,8 @@ foreach my $pkg ( my $susp = $pkg->{'susp'} || ''; my @pkg_actions = (); if ( ! $susp ) { - push @pkg_actions, [ 'customer_change_pkg' => 'change' ]; - push @pkg_actions, [ 'process_suspend_pkg' => 'suspend' ] + push @pkg_actions, [ 'customer_change_pkg' => 'change' ] unless $pkg->{'immutable'}; + push @pkg_actions, [ 'process_suspend_pkg' => 'suspend' ] if $self_suspend_reason; } |