loadByHostingId($this->request->get('id')); if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE)) { return Helper\redirectByUrl(BuildUrlExtended::getProvisioningUrl('',false,false)); } return Helper\view() ->addElement(new Description('emailAccount')) ->addElement(Accounts::class) ; } }