$config['copyright'] ?? '', 'copyrightImage' => $config['copyright_img'] ?? '', 'version' => function_exists('get_crmeb_version') ? get_crmeb_version() : '', ]; } public function saveCopyright(string $copyright = '', string $copyrightImg = ''): void { /** @var SystemConfigServices $services */ $services = app()->make(SystemConfigServices::class); $services->update('copyright', ['value' => json_encode($copyright, JSON_UNESCAPED_UNICODE)], 'menu_name'); $services->update('copyright_img', ['value' => json_encode($copyrightImg, JSON_UNESCAPED_UNICODE)], 'menu_name'); SystemConfigService::clear(); } public function getSystemLicenseInfo(): array { return [ 'edition' => 'custom', 'license_source' => 'self-owned', 'crm_pro_authorized' => false, 'copyright' => $this->getCopyright(), ]; } }