@if($posts->total()) Records {{ ( $posts->currentPage() - 1 ) * $posts->perPage() + 1 }} to {{ ( $posts->currentPage() - 1 ) * $posts->perPage() + $posts->count() }} from {{ $posts->total() }} Records @else No Record @endif
| ID | Name | Action |
|---|---|---|
| {{ $post->id }} | {{ $post->name }} |