Showing {{ $mentah->firstItem() }} to {{ $mentah->lastItem() }}
of {{ $mentah->total() }} results
{{-- FIRST --}}
@if ($mentah->currentPage() > 1)
«
@endif
{{-- PREV --}}
@if ($mentah->onFirstPage())
‹
@else
‹
@endif
@php
$start = max($mentah->currentPage() - 2, 1);
$end = min($mentah->currentPage() + 2, $mentah->lastPage());
@endphp
{{-- NUMBER DINAMIS --}}
@for ($i = $start; $i <= $end; $i++)
@if ($i == $mentah->currentPage())
{{ $i }}
@else
{{ $i }}
@endif
@endfor
{{-- NEXT --}}
@if ($mentah->hasMorePages())
›
@else
›
@endif
{{-- LAST --}}
@if ($mentah->currentPage() < $mentah->lastPage())
»
@endif