@extends('layouts.admin-sidebar') @section('title', 'User Management') @section('page-title', 'User Management') @section('page-description', 'Manage platform users, wallets, and verification status') @section('content')

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

@if($users->count() > 0)
@foreach($users as $user) @endforeach
User Contact Wallet Status KYC Joined Actions
{{ strtoupper(substr($user->first_name, 0, 1) . substr($user->last_name, 0, 1)) }}
{{ $user->full_name }}
ID: {{ $user->id }}
{{ $user->email }}
{{ $user->phone }}
@if($user->wallet)
₦{{ number_format($user->wallet->balance, 2) }}
@if($user->wallet->is_frozen) Frozen @endif @else No wallet @endif
@if($user->is_active) Active @else Inactive @endif @if($user->is_blocked) Blocked @endif
@if($user->kycVerification) @if($user->kycVerification->status === 'verified') Verified @elseif($user->kycVerification->status === 'pending') Pending @elseif($user->kycVerification->status === 'failed') Failed @elseif($user->kycVerification->status === 'expired') Expired @else {{ ucfirst($user->kycVerification->status) }} @endif @else Not Submitted @endif {{ $user->created_at->format('M d, Y') }} View @if($user->wallet) Wallet @endif
{{ $users->links() }}
@else

No users found

No users match your current filters.

@endif
@endsection