Chapters
{{-- Add Chapter --}}
Sl No. | Class | Books | Modules | Chapters | Chapter Description | Chapter Image | Action |
---|---|---|---|---|---|---|---|
{{ ($chapters->currentPage() - 1) * $chapters->perPage() + $index + 1 }} | {{$chapter->module->book->class->class_name}} | {{$chapter->module->book->book_name}} | {{$chapter->module->module_name}} | {{$chapter->chapter_name}}({{$chapter->id}}) | {{$chapter->description}} |
@if($chapter->chapter_img)
|
-
{{-- Previous Page Link --}}
@if ($chapters->onFirstPage())
- Previous @else
- Previous @endif {{-- Pagination Elements --}} @foreach ($chapters->getUrlRange(1, $chapters->lastPage()) as $page => $url) @if ($page == $chapters->currentPage())
- {{ $page }} @else
- {{ $page }} @endif @endforeach {{-- Next Page Link --}} @if ($chapters->hasMorePages())
- Next @else
- Next @endif