| # |
School Name |
Logo |
Location |
Status |
Action |
@forelse ($schools as $key => $school)
| {{ $key + 1 }} |
{{ $school->name ?? '-' }} |
@if($school->image)
@else
No image
@endif
|
{{ $school->location ?? '-' }} |
@if ($school->status == 'Active' || $school->status == 'active')
Active
@else
Inactive
@endif
|
|
@empty
|
No schools found.
|
@endforelse
@if(method_exists($schools, 'links'))
{{ $schools->links('pagination::bootstrap-4') }}
@endif