@foreach($walletEntries as $entry) @endforeach
Type Source Amount Balance After Date
{{ ucfirst($entry->entry_type) }} {{ str_replace('_', ' ', ucfirst($entry->source_type)) }} @if(isset($entry->metadata['reason']))
{{ $entry->metadata['reason'] }}
@endif
{{ $entry->entry_type === 'credit' ? '+' : '-' }} ₦{{ number_format($entry->amount, 2) }} ₦{{ number_format($entry->balance_after, 2) }}
{{ $entry->created_at ? $entry->created_at->format('M d, Y H:i') : 'N/A' }}
{{ $entry->created_at ? $entry->created_at->diffForHumans() : '' }}