@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['value'] }}
{{ $stat['description'] }}
@endforeach