@if(in_array('employee-edit', $authRolePermissions)) {{-- @if(auth()->user()->can('employee-edit')) --}} @endif @if(in_array('employee-delete', $authRolePermissions)) @endif @php $i=1;@endphp @if(count($data)>0) @foreach($data as $key=> $list) @if(in_array('employee-edit', $authRolePermissions)) @endif @if(in_array('employee-delete', $authRolePermissions)) @endif @php $i++; @endphp @endforeach @else @endif
Sl No Name Email Phone No Designation Gender City Date Of Birth RoleEditDelete
{{$data->firstItem() + $key}} {{$list->name}} {{$list->email}} {{$list->phone_no}} {{$list->getDesignation->name}} {{$list->getGender->name}} {{$list->getCity->name}} {{ FormatedDate($list->date_of_birth) }} {{$list->getRole->role_in_project?? ''}}
No Data Found