@php $role = Auth::user(); $hrRole = Spatie\Permission\Models\Role::where('name', HR_ROLE)->first(); $user = $employee->user; if($user->hasRole(HR_ROLE)){ $dept = 3; }else{ $dept = $employee->department; } @endphp
@csrf
Emp ID
Employee Name
Designation
Department
Date of Joining
@foreach($concerns as $concern) @endforeach
Concern Feedback
{{$concern->scf}}
Date of Concern
Brief description of the concern and how it was addressed:
Suggestions made:
Update/follow-up:
Comments
Name of the staff member raising the concern