@extends('admin.layouts.app') @section('title', 'Users — ExtraCash Admin') @section('page-title', 'Users') @section('breadcrumb', 'All registered accounts') @section('content')
{{-- Filters --}}
{{ $users->total() }} users total
@forelse($users as $user) @empty @endforelse
Name Email Status KYC Wallet Balance Joined Actions
{{ strtoupper(substr($user->name, 0, 2)) }}
{{ $user->name }}
{{ $user->email }} @if($user->suspended_at) Suspended @else Active @endif @php $kyc = $user->kycRecords?->last(); @endphp {{ $kyc?->status?->value ?? 'Not Submitted' }} ZMW {{ number_format($user->wallet?->available_balance ?? 0, 2) }} {{ $user->created_at->format('M d, Y') }}
No users found
@if($users->hasPages())
{{ $users->withQueryString()->links() }}
@endif
@endsection