Plans
Sl No. | Plan | Pricing | Book | Class | Plan Type | Duration | Action |
---|---|---|---|---|---|---|---|
{{ ($plans->currentPage() - 1) * $plans->perPage() + $index + 1 }} | {{$plan->plan_name}} | {{$plan->price}} | {{ optional($plan->book)->book_name ?? 'No Book' }} | {{ optional($plan->book)->class->class_name ?? 'No Class' }} | @if($plan->type == '0') Monthly @elseif($plan->type == '1') Yearly @else No Plan @endif | {{$plan->duration}} @if($plan->type == '0') Month @elseif($plan->type == '1') Year @else No Plan @endif |
-
{{-- Previous Page Link --}}
@if ($plans->onFirstPage())
- Previous @else
- Previous @endif {{-- Pagination Elements --}} @foreach ($plans->getUrlRange(1, $plans->lastPage()) as $page => $url) @if ($page == $plans->currentPage())
- {{ $page }} @else
- {{ $page }} @endif @endforeach {{-- Next Page Link --}} @if ($plans->hasMorePages())
- Next @else
- Next @endif