@php $page = 'dashboard' @endphp @extends('includes.layout') @section('content')

Dashboard

@if ($user->role == 'user')

Total Asset

${{ number_format($user->balance, 2) }}

= {{ number_format($btc_value, 8) }} BTC

Deposit
@if ($settings && $settings->kyc_verification == 'yes' && !$user->is_verified)
Proceed

KYC Verification!

To comply with regulation, each participant will have to go through indentity verification (KYC/AML) to prevent fraud causes.

@endif

Use the below link to invite your friends.

{{--

Main Balance

${{ number_format($user->balance, 2) }}

Referral Bonus

${{ number_format($user->ref_balance, 2) }}

--}}

Active Potfolios ({{ count($active_investments) }})

View All Potfolios
@php $counter = 1; @endphp @forelse ($active_investments as $item) @php $counter++; @endphp @empty

No recent potfolios

@endforelse
S/N Plan Amount Interest Plan Duration Status Date
{{ $counter }} {{ optional($item->plan)->name }} PLAN ${{ number_format($item->amount, 2) }} ${{ number_format($item->interest, 2) }} {{ optional($item->plan)->duration }} Day(s) {{ Str::ucfirst($item->invest_status) }} {{ $item->created_at->diffForHumans() }}

Recent Earning

View All Earning
@php $counter = 1; @endphp @forelse ($recent_earnings as $item) @php $counter++; @endphp @empty

No recent Earning

@endforelse
S/N Type Amount Status Date
{{ $counter }} {{ Str::ucfirst($item->type) }} ${{ number_format($item->amount, 2) }} {{ Str::ucfirst($item->status) }} {{ $item->created_at->diffForHumans() }}
@else
Total Users
{{ count($all_users) }}
Active Users
{{ count($active_users) }}
Blocked Users
{{ count($blocked_users) }}
Active Subscribers
{{ count($subscribers) }}
Total Withdrawal
${{ number_format($admin_total_withdrawal, 2) }}
Pending Withdrawal
${{ number_format($admin_pending_withdrawal, 2) }}
Total Deposits
${{ number_format($admin_total_deposit, 2) }}
Pending Deposit
${{ number_format($admin_pending_deposit, 2) }}

Latest Users

@php $counter = 1; @endphp @forelse ($recent_users as $item) @php $counter++; @endphp @empty

No User Found

@endforelse
S/N Name Email Phone Balance Country Status Date Joined
{{ $counter }} {{ $item->name }} {{ $item->email }} {{ $item->phone }} ${{ number_format($item->balance, 2) }} {{ $item->country }} {{ Str::ucfirst($item->status) }} {{ $item->created_at->diffForHumans() }}

Recent Withdrawals

@php $counter = 1; @endphp @forelse ($recent_withdrawals as $item) @php $counter++; @endphp @empty

No Recent Withdrawals Found

@endforelse
S/N Client Amount Charge Payment Method Type Status Date
{{ $counter }} {{ optional($item->user)->name }} ${{ number_format($item->amount, 2) }} ${{ number_format($item->charge, 2) }} {{optional($item->user_wallet)->system_wallet->name ?? 'Unknown' }} {{$item->type == 'main_balance' ? 'Main Balance' : 'Referral Bonus'}} {{ Str::ucfirst($item->status) }} {{ $item->created_at->diffForHumans() }}
@endif
@endsection @push('scripts') @endpush