@php use App\Service\UserUtility; $user = Auth::user(); $hrModuleId = \App\ConstValue::MODULE_ID_HR; $subFunctionListId = \App\ConstValue::SUB_FUNCTION_ID_LIST; $subFunctionCreateId = \App\ConstValue::SUB_FUNCTION_ID_CREATE; $hasEmployeeAllDataAccess = Auth::user()->branchId == 1 && UserUtility::hasAccessAllData(Auth::user(), 389); $idCardPrintModule = \DB::table('hr_config') ->where('title', 'employee_idCard_printing_module') ->select('config_content') ->first(); $getHrConfig = \DB::table('hr_config')->where('title', 'employee_nid_verification')->first(); @endphp