@php use App\Service\UserUtility; $hasEmployeeAllDataAccess = Auth::user()->branchId == 1 && UserUtility::hasAccessAllData(Auth::user(), 389); $optionalTab = \DB::table('hr_config')->where('title', 'employee_special_reference_module')->select('config_content')->first(); @endphp