@extends('admin.layout') @section('title', 'KYC Verification') @section('page-title', 'KYC Verification') @section('content')
{{ $pending_count }}
Pending Verification
{{ $verified_count }}
Verified Users
{{ $rejected_count }}
Rejected
📄
{{ $total_submitted }}
Total Submitted

⏳ Pending KYC Requests

@if($pending_users->count() > 0)
@foreach($pending_users as $user)
{{ substr($user->name, 0, 1) }}
{{ $user->name }}
{{ $user->email }}
{{ $user->phone ?? 'No phone' }}
{{ ucfirst($user->user_type ?? 'passenger') }} Submitted: {{ $user->updated_at->diffForHumans() }}
📄 Submitted Documents
@if($user->cnic)
CNIC Number {{ $user->cnic }}
@endif @if($user->address)
Address {{ Str::limit($user->address, 30) }}
@endif @if($user->verification_document) @endif
@csrf
@csrf
@endforeach
@else
No Pending KYC Requests
All submissions have been processed
@endif

✅ Recently Verified Users

@forelse($verified_users as $user) @empty @endforelse
User CNIC Type Verified On Actions
{{ substr($user->name, 0, 1) }}
{{ $user->name }}
{{ $user->email }}
{{ $user->cnic ?? 'N/A' }} {{ ucfirst($user->user_type ?? 'passenger') }} {{ $user->updated_at->format('M d, Y') }}
@csrf
No verified users yet
@endsection