@use('\Illuminate\Support\Number', 'Number') Dashboard Overview
@can('view admin dashboard stats')

Total users

{{ Number::abbreviate($numberOfUsers) }}

Active Invesments

{{ Number::abbreviate($subscribers) }}

Total withdrawals

{{ Number::currency($total_withdrawn, $settings->s_currency) }}

Total deposits

{{ Number::currency($total_deposited, $settings->s_currency) }}

Blocked users

{{ Number::abbreviate($blockedusers) }}

Active users

{{ Number::format($active_users) }}

Pending withdrawals

{{ Number::currency($chart_pendwithdraw, $settings->s_currency) }}

Pending deposits

{{ Number::currency($chart_pendepsoit, $settings->s_currency) }}

@endcan @can('view users registration chart')

Users Statistics

Reload page if chart is not visible.

Recent Sessions

@foreach ($usersOnline as $user) @if (!is_null($user)) spa_mode) wire:navigate @endif>
{{ $user->name }}
{{ $user->email }}
@endif @endforeach
@endcan
@can('view activty log')
    @foreach ($activities as $activity)
  1. {{ $activity->description }}
    {{ $activity->causer->name }}
  2. @endforeach
@if ($activities->count() < 1)

No Activity Logged.

@endif
@endcan @can('view other stats')

Suggested Users

@foreach ($randomUsers as $user)
...
{{ $user->name }}
{{ $user->email }}
@can('edit user') spa_mode) wire:navigate @endif> @endcan
@endforeach
@endcan
@can('view other stats')

Transactions

Reload page if chart is not visible.
-

Top Performing Investments:

@forelse ($topPerformingInv as $item)
{{ $item->user->name }}
{{ $item->plan->name }}

{{ Number::currency($item->profit_earned, $settings->s_currency) }}

@if (!$loop->last)
@endif @empty
No Active Investment
@endforelse
@endcan
@livewireChartsScripts