@extends('admin.layout') @section('title', 'Users') @section('page-title', 'Users Management') @section('content')

All Users ({{ $users->total() }})

➕ Add User
@forelse($users as $user) @empty @endforelse
User Phone Type KYC Status Admin Joined Actions
{{ substr($user->name, 0, 1) }}
{{ $user->name }}
{{ $user->email }}
{{ $user->phone ?? 'N/A' }} {{ ucfirst($user->user_type ?? 'passenger') }} @if($user->is_verified) Verified @elseif($user->verification_document) Pending @else Not Submitted @endif @if($user->is_admin) Yes @else No @endif {{ $user->created_at->format('M d, Y') }}
Edit @if(!$user->is_verified && $user->verification_document)
@csrf
@endif
@csrf
@if($user->id !== auth()->id())
@csrf @method('DELETE')
@endif
No users found
{{ $users->links() }}
@endsection