@extends('components.admin-layout') @section('content')

Overview

Welcome to Fortlink Dashboard.

Total Amount Deposited
{{-- ₦ --}} ${{ number_format($totalDeposit, 2, '.', ',') }}
Total Users
{{ $TotalUser }}
Total Amount Withdrawn
${{ number_format($totalWithdrawn, 2, '.', ',') }}
New Users
{{-- search will enter here --}}
Profile
Username
Email
Phone
Verified
Joined At
Status
@foreach ($lastTenUsers as $user)
@if ($user->phone) {{ $user->phone }} @else **** @endif
  • @if ($user->isverified) Verified @else Not Verified @endif
{{ date('d M,Y', strtotime($user->createdAt)) }}
@if ($user->isUserSuspended == 'FALSE') Active @else Suspended @endif
@endforeach
@if ($lastTenUsers->count() < 1) @endif
Latest Deposits
{{-- search will enter here --}}
Creator
Type
Transaction id
Amount
{{--
proof
--}}
Created At
{{--
Action
--}}
@foreach ($lastTenDeposits as $tnx)
{{ $tnx->tnxId }}
${{ number_format($tnx->amount, 2, '.', ',') }}
{{ date('d M,Y', strtotime($tnx->createdAt)) }}
@endforeach
@if ($lastTenDeposits->count() < 1) @endif
Latest Withdrawal
Creator
Type
Transaction id
Amount
{{--
proof
--}}
Created At
{{--
Action
--}}
@foreach ($lastTenWithdrawals as $tnx)
{{ $tnx->tnxId }}
${{ number_format($tnx->amount, 2, '.', ',') }}
{{--
proof of payment
--}}
{{ date('d M,Y', strtotime($tnx->createdAt)) }}
@endforeach
@if ($lastTenWithdrawals->count() < 1) @endif
@endsection