getWindow()->addError(translate('invalid_ip', 'posSettings')); } } public function getLabel() { return translate($this->title, 'posSettings'); } public static function getTypes(): array { return [ 'posSettings' => 1, ]; } public static function isAllowed() { return findModule(\Modules::NEW_POS, \Modules::SUB_TERMINAL); } }