@include('flash_msg')
{{--
Displaying {{$coupons->count()}} of {{ $coupons->total() }} Add coupons.
{{ $coupons->appends(request()->all())->links() }}
--}}
-
@if ($coupons->currentPage() > 1)
- < @endif @if ($coupons->currentPage() > 3)
- 1
- ... @endif @foreach(range(max(1, $coupons->currentPage() - 2), min($coupons->lastPage(), $coupons->currentPage() + 2)) as $page)
- {{ $page }} @endforeach @if ($coupons->currentPage() < $coupons->lastPage() - 2)
- ...
- {{ $coupons->lastPage() }} @endif @if ($coupons->hasMorePages())
- > @endif