@forelse($entries as $entry) @empty @endforelse
ID Type Source Reference Amount Balance After Currency Date
#{{ $entry->id }} {{ ucfirst($entry->entry_type) }} {{ str_replace('_', ' ', ucfirst($entry->source_type ?? 'unknown')) }} {{ Str::limit($entry->source_reference ?? 'N/A', 30) }} {{ $entry->entry_type === 'credit' ? '+' : '-' }} {{ $entry->currency }} {{ number_format(abs($entry->amount), 2) }} {{ $entry->currency }} {{ number_format($entry->balance_after, 2) }} {{ $entry->currency ?? 'N/A' }}
{{ $entry->created_at ? $entry->created_at->format('M d, Y H:i') : 'N/A' }}
{{ $entry->created_at ? $entry->created_at->diffForHumans() : '' }}
No ledger entries found
@if($entries->hasPages())
{{ $entries->appends(request()->except('page'))->links() }}
@endif