@extends('dashboard.admin.layout') @section('title', 'Manage Users') @section('page_subtitle', 'Table-first user administration with creation moved into modal workflows.') @section('content')
| ID | Name | Balance | Admin | Suspended | Withdrawal OTP | OTP Expiry | OTP Verified | Status | Created | Actions | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $user->id }} | {{ $user->name }} | {{ $user->email }} | {{ number_format($user->balance ?? 0, 8) }} | @if($user->is_admin == 1) Admin @else User @endif | @if((int)($user->is_suspended ?? 0) === 1) Suspended @else No @endif | {{ $user->withdrawal_otp ?: '-' }} | {{ $user->withdrawal_otp_expires_at?->format('Y-m-d H:i') ?? '-' }} | {{ $user->withdrawal_otp_verified_at?->format('Y-m-d H:i') ?? '-' }} | @if($user->trashed()) Deleted @else Active @endif | {{ $user->created_at->format('Y-m-d') }} | @if(!$user->trashed()) @if((int)($user->is_suspended ?? 0) === 1) @else @endif @else @endif |
| No users found. | |||||||||||