Staff List ({{count($employees)}})
@if(Auth::user()->hasRole(['consultant', 'super-admin'])) Add user @endif {{-- pagination --}}
@if(Auth::user()->hasRole(['consultant', 'super-admin'])) @endif @foreach ($employees as $employee) @if(Auth::user()->hasRole(['consultant', 'super-admin'])) @endif @endforeach
  Name Email PhoneMarketing preference Position/Title Completed profile Primary Contact Send registration email Status  
{{--
@if($employee->user && $employee->user->profile_photo_path) @else @endif
--}}
@if($employee->user && $employee->user->first_name && Auth::user()->hasRole(['consultant', 'super-admin'])) {{$employee->user->first_name}} {{$employee->user->last_name}} @else {{$employee->user->first_name}} {{$employee->user->last_name}} @endif @if($employee->user && $employee->user->email) {{$employee->user->email}} @endif @if($employee->user && $employee->user->phone) {{$employee->user->phone}} @endif @if($employee->contact_type) @foreach ($employee->contact_type as $contact_type) {{$contact_type->title}}@if(!$loop->last), @endif @endforeach @endif @if($employee->job_title) @foreach ($employee->job_title as $job_title) {{$job_title->title}}@if(!$loop->last), @endif @endforeach @endif @if($employee->user && $employee->user->email_verified_at) @else @endif @if($employee->primary_contact) @else @endif @if(!$employee->send_registration_email)
No
@else
Yes
@endif
@if($employee->user->disabled)
Disabled
@else
Enabled
@endif
{{ $employees->onEachSide(1)->links() }}