{{-- @can('Create Employee') --}}
@if(auth()->user()->userGroup && auth()->user()->hasPermission('create user') || auth()->user()->role== 'HotelAdmin') + New Employee @endif
{{-- @endcan --}}
@foreach($actives as $key=> $act) @endforeach
Name Contact Address Joined Status
@if ($act->avatar) employees @else @endif
{{$act->name}}
#0000{{$key +1}} {{$act->email}}
{{$act->phone}}

{{$act->address}}

{{$act->created_at->DiffForHumans()}}
ACTIVE
{{$actives->links()}}
@foreach($inactives as $act) @endforeach
Name Contact Address Joined
@if ($act->avatar) employees @else @endif
{{$act->name}}
#0000{{$key +1}} {{$act->email}}
{{$act->phone}}

{{$act->address}}

{{$act->created_at->DiffForHumans()}}