@php $i=1; if($faq->currentPage()>1){ $page=$faq->currentPage()-1; $i=$page*$faq->perPage(); $i++; } @endphp @foreach($faq as $key => $faq_res) @php $i++; @endphp @endforeach
Id Name Status Display Order Actions
{{ $i }} {{ $faq_res->name }}
{{ $faq->links('vendor.pagination.custom') }}