@extends('layouts.admin') @section('title', 'Citizen List') @section('content')
All Citizens
@if(request('search') || request('kyc')) Clear @endif
@forelse($citizens as $citizen) @empty @endforelse
Name Contact Center KYC Docs Action
{{ $citizen->name }}
DOB: {{ $citizen->dob?->format('d M Y') ?: '—' }} | Community: {{ $citizen->community ?: '—' }}
{{ $citizen->email }}
{{ $citizen->mobile_no ?: '—' }}
{{ $citizen->center?->code ?: '—' }} @if($citizen->kyc_verified) Verified @else Pending @endif @if(is_array($citizen->documents)) @foreach($citizen->documents as $name => $path) {{ $name }} @endforeach @else @endif @if(!$citizen->kyc_verified)
@csrf @method('PATCH')
@else Verified @endif
No citizens found.
{{ $citizens->links() }}
@endsection