@if ($users instanceof \Illuminate\Pagination\LengthAwarePaginator)
{{ $users->firstItem() + $loop->index }}
@else
{{ $loop->iteration }}
@endif
|
{{ $user->name }}
|
Email: {{ $user->email }}
Phone: {{ $user->phone_number }}
SEO Experience: {{ $user->company_experience }}
Perior Experience: {{ $user->experience }}
Date of Joining: {{ $user->date_of_joining }}
Disable Login:
@if ($user->disable_login)
Yes
@else
No
@endif
View All Projects: {{ $user->allow_all_projects ? 'Yes' : 'No' }}
Special Permission:
@if ($user->roles->contains('name', 'Admin'))
Yes
@else
No
@endif
|
{{ $user->roles->pluck('name')->first() }}
Dept: {{ $user->department->name ?? '-' }}
Emp Code: {{ $user->employee_code }}
Reporting: {{ $user->reportingPerson?->name ?? '-' }}
|
Monthly: {{ $user->monthly_target }}
Incentive: {{ $user->upsell_incentive }}%
|
|
@endforeach
@if ($users instanceof \Illuminate\Pagination\LengthAwarePaginator && $users->hasPages())
@else
@endif