@extends('layouts.admin') @push('css') @endpush @section('contents')
{{-- total users --}}

Total Users

{{ number_format($user_query->count()) }}

Email: {{ number_format($user_query->whereNotNull('email_verified_at')->count()) }} {{ number_format($user_query->whereNull('email_verified_at')->count()) }}

KYC: {{ number_format($user_query->whereNotNull('kyc_verified_at')->count()) }} {{ number_format($user_query->whereNull('kyc_verified_at')->count()) }}

{{-- balance --}}

Cummulative Bal.

{{ formatAmount($user_query->sum('balance')) }}

Users

New: Loser Mode added. When loser mode is enabled, all trades by the user will result in loss.

@csrf
@foreach ($users as $user) @endforeach
Name Email Username Balance Status Loser Mode Action
{{ $loop->iteration }} {{ $user->name ?? 'Not Set' }} {{ $user->email }} {{ $user->username ?? 'Not Set' }} {{ formatAmount($user->balance) }} @if ($user->status == 1) Active @else Suspended @endif @if ($user->loser == 1) Active @else Disabled @endif View

With selected:

@endsection @section('scripts') {{-- manage actions --}} @endsection