{{-- Balance Display --}}
Current Balance
{{ number_format($stats['wallet_balance'], 2) }}
{{-- Recent Entries --}}
@if($recentWalletEntries->count() > 0)
@foreach($recentWalletEntries as $entry)
{{ str_replace('_', ' ', ucfirst($entry->source_type ?? 'Transaction')) }}
{{ $entry->created_at?->diffForHumans() ?? '' }}
{{ $entry->entry_type === 'credit' ? '+' : '-' }}
{{ number_format(abs((float) $entry->amount), 2) }}
@endforeach
@else
No wallet activity yet
@endif