{{ __('Dashboard') }}

Wallet Information

Total Amount ${{ $walletBalance }}
Last Updated {{ $lastUpdated }}

Batches Information

Approved

{{ $batches['approve'] }}

Rejected

{{ $batches['reject'] }}

Pending

{{ $batches['pending'] }}

Approved Amount

{{ "Total: $" . number_format($batches['approveAmount'], 2) }}

Pending Amount

{{ "Total: $" . number_format($batches['pendingAmount'], 2) }}

Payment Information

Success Total Success Payments: {{ number_format($totalSuccessPayments, 2) }}
Pending Total Pending Payments: {{ number_format($totalPendingPayments, 2) }}
Failed Total Failed Payments: {{ number_format($totalFailedPayments, 2) }}
{{--
Rejected Total Rejected Payments: {{ number_format($totalRejectedPayments, 2) }}
--}}

Users Information

Active Total Active Users: {{ $totalActiveUsers }}
Suspended Total Suspended Users: {{ $totalSuspendedUsers }}

Recurring Transactions

Total Recurring Transactions {{ $recurringTransactionsCount }}

Closest Due Recurring Payments (Top 10)

@if ($closestDueRecurringPayments->isNotEmpty())
@foreach ($closestDueRecurringPayments as $payment)
Account: {{ $payment->account_name }} Amount: {{ number_format($payment->amount, 2) }} Due Date: {{ $payment->payment_date }}
Account Provider: {{ $payment->account_provider }} Total Users: {{ $totalUsers }} Payment Status: {{ ucfirst($payment->status) }}
@endforeach
@else No upcoming recurring payments @endif

Most Used Account Providers

@if ($topAccountProviders->isNotEmpty())

Most Used Account Provider

{{ $topAccountProviders[0]->accountProvider->name }} {{ $topAccountProviders[0]->count() ?? 0 }} times used
@else No account providers used @endif

Latest Transactions

@foreach ($recentTransactions as $transaction) @endforeach
# Name Amount Date Status
{{ $transaction->id }} {{ $transaction->account_name }} ${{ number_format($transaction->amount, 2) }} {{ $transaction->payment_date }} @if ($transaction->status == 'success') {{ ucfirst($transaction->status) }} @elseif ($transaction->status == 'pending') {{ ucfirst($transaction->status) }} @else {{ ucfirst($transaction->status) }} @endif {{-- {{ ucfirst($transaction->status) }} --}}