@foreach($data as $k => $item) @endforeach
# Name Phone Number Agent Partner Passport Good Conduct Financier Applications Job Title Action
{{ $data->firstItem() + $k }} {{ $item->user?->name }} {{ $item->user?->phone }} {{ $item->agent->name ?? 'N/A' }} {{ $item->partner->category->name ?? 'N/A' }}
{{ $item->partner->name ?? 'N/A' }}
@if($item->passport_number) @else @endif @if($item->has_good_conduct) @else @endif {{ $item->financier->name ?? 'N/A' }} {{ $item->applications_count ?? '0' }} {{ $item->job_title }}
{!! $data->appends(request()->except('page'))->links('pagination::bootstrap-5') !!}