Captain Management

@if($pendingCaptains->count() > 0)
@foreach($pendingCaptains as $profile) @endforeach
Captain Contact Vehicle Documents Status Actions
{{ strtoupper(substr($profile->user->name, 0, 1)) }}
{{ $profile->user->name }}
{{ $profile->user->email }}
ID: {{ $profile->user_id }}
@if($profile->user->phone_number) {{ $profile->user->phone_number }} @else N/A @endif
Type: {{ $profile->vehicle_type ?? 'N/A' }} Make/Model: {{ $profile->vehicle_make ?? 'N/A' }} {{ $profile->vehicle_model ?? 'N/A' }} License: {{ $profile->license_number ?? 'N/A' }}
@if($profile->license_image_path) License @endif @if($profile->cnic_image_path) CNIC @endif
{{ ucfirst($profile->status->value) }}
@csrf
@csrf
@else
No pending captains found.
@endif
@if($approvedCaptains->count() > 0)
@foreach($approvedCaptains as $profile) @endforeach
Captain Contact Vehicle Documents Status Actions
{{ strtoupper(substr($profile->user->name, 0, 1)) }}
{{ $profile->user->name }}
{{ $profile->user->email }}
ID: {{ $profile->user_id }}
@if($profile->user->phone_number) {{ $profile->user->phone_number }} @else N/A @endif
Type: {{ $profile->vehicle_type ?? 'N/A' }} Make/Model: {{ $profile->vehicle_make ?? 'N/A' }} {{ $profile->vehicle_model ?? 'N/A' }} License: {{ $profile->license_number ?? 'N/A' }}
@if($profile->license_image_path) License @endif @if($profile->cnic_image_path) CNIC @endif
{{ ucfirst($profile->status->value) }}
@else
No approved captains found.
@endif