@php $role = Auth::user(); $hrRole = Spatie\Permission\Models\Role::where('name', HR_ROLE)->first(); @endphp
| {{$valueId}} | @if($role->hasRole(VP_ROLE) || $role->hasRole('Executive-Admin'))HOD Rating | @endif @if($role->hasRole('Principal'))Principal Rating | @endif|||
|---|---|---|---|---|---|
| {{$appraisal_data->details}} | @if($role->hasRole(VP_ROLE) || $role->hasRole('Executive-Admin'))@endif @if($role->hasRole('Principal')) | @endif | |||