SYMPTOMS
There is no setting in HSPcomplete 3.3.2 (or earlier) which allows to disable subscription termination request option in Control Panel. Such setting will be added in HSPcomplete 3.3.3.RESOLUTION
In HSPcomplete 3.3.2 we can remove this option using screen based customization.Create module /var/opt/hspc-root/custom/screen/01_04_18_14.pm
with the following code:
#####################
package HSPC::Custom::Screen::01_04_18_14;
use strict;
use HSPC::Custom::Screen;
sub customize
{
my ($stream) = @_;
$stream =~
s#<a href="/cp/index.cgi/subscription/general/request_subscr_termination.*?</a>##g;
return $stream;
}
1;
#################
Restart hspcd:
service hspcd restart Link 'Request Subscription Termination' will be removed from the screen.
Also, edit screen tips on screen 01.04.18.14.01 in Control Panel. You can edit tips
by clicking on question mark icon in screen tips green box. This icon presents
on the screen if you login to Control Panel from Provider's Control Center, using button 'Login to CP'.
Keywords: hspc subscription termination request