serial_usr)->first(); if($isDirector == 'DIRECTOR' && $currentUser->serial_usr!=1 && $userEmployee->serial_emp>0){ $directorSection=EmployeeSection::where('serial_scy','=',$serialScy) ->where('serial_set','=',$item->serial_set) ->where('serial_emp','=',$userEmployee->serial_emp) ->where('type_user','=','DIRECTOR') ->where('status','=','ACTIVE') ->first(); if(!$directorSection){ $showSection=false; } } ?>
  • name_set; ?>