{{-- Expects: - $limit: User's transaction limit - $pending_deposits: Total pending deposits - $pending_withdrawals: Total pending withdrawals - $total_volume: Total transaction volume - $currency_symbol: User's currency symbol --}}

Account Statistics

@php $accountStats = [ [ 'label' => 'Transaction Limit', 'value' => $currency_symbol . number_format($limit, 2, '.', ','), 'icon' => 'fa-solid fa-gauge-high', 'color' => 'primary', 'bg' => 'from-primary-500 to-primary-600', 'description' => 'Daily limit available' ], [ 'label' => 'Pending Transactions', 'value' => $currency_symbol . number_format($pending_deposits + $pending_withdrawals, 2, '.', ','), 'icon' => 'fa-solid fa-hourglass-half', 'color' => 'yellow', 'bg' => 'from-yellow-400 to-yellow-500', 'description' => 'Awaiting processing' ], [ 'label' => 'Total Volume', 'value' => $currency_symbol . number_format($total_volume, 2, '.', ','), 'icon' => 'fa-solid fa-chart-pie', 'color' => 'green', 'bg' => 'from-green-500 to-green-600', 'description' => 'All-time transactions' ], ]; @endphp @foreach($accountStats as $stat)

{{ $stat['label'] }}

{{ $stat['value'] }}

{{ $stat['description'] }}

@endforeach
Updated in real-time