@extends('admin.layouts.app') @section('title', 'KYC Reviews — ExtraCash Admin') @section('page-title', 'KYC Reviews') @section('breadcrumb', 'Identity verification queue') @section('content') {{-- Stats bar --}}
@foreach(['Pending'=>$counts['pending'],'Verified'=>$counts['verified'],'Rejected'=>$counts['rejected'],'Total'=>$counts['total']] as $label => $val)

{{ $label }}

{{ number_format($val) }}

@endforeach
{{-- Filter tabs --}}
@foreach(['all'=>'All','pending'=>'Pending','verified'=>'Verified','rejected'=>'Rejected'] as $val => $lbl) {{ $lbl }} @endforeach
@forelse($records as $kyc) @empty @endforelse
User ID Type ID Number Status Submitted Actions

{{ $kyc->user?->name }}

{{ $kyc->user?->email }}

{{ $kyc->id_type ?? '—' }} {{ $kyc->id_number ?? '—' }} {{ $kyc->status?->value ?? '—' }} {{ $kyc->created_at->format('M d, Y') }}
@if($kyc->status?->value === 'Pending')
@csrf
@csrf
@else Reviewed @endif View
No KYC records found
@if($records->hasPages())
{{ $records->withQueryString()->links() }}
@endif
@endsection