@forelse($records as $record) @php $recordIdentifier = $useRefId ? $record->refid : $record->id; @endphp
@empty
@lang('No records found.')
@endforelse
@if ($records instanceof \Illuminate\Pagination\LengthAwarePaginator && $records->hasPages())
{{-- Previous --}} @if ($records->onFirstPage()) ← @else @endif {{-- Page indicator --}} {{ $records->currentPage() }} of {{ $records->lastPage() }} {{-- Next --}} @if ($records->hasMorePages()) @else → @endif
@endif