@extends('layouts.admin') @section('title', 'Manage Students') @section('content')

All Students

Manage and view student records

Add Student

Student Records

@if($students->count() > 0)
@foreach($students as $student) @endforeach
Student
Jamb Reg Number Course Applied Subject Combination Date Registered Actions
{{ $student->surname }} {{ $student->other_name }}
ID: {{ $student->id }}
{{ $student->jupeb_number }}
{{ $student->course_applied }}
{{ $student->subjectCombination?->subjects->pluck('name')->join(', ') ?? '—' }}
{{ $student->created_at->format('M j, Y') }}
@csrf @method('DELETE')
Showing {{ $students->firstItem() }} to {{ $students->lastItem() }} of {{ $students->total() }} results
{{ $students->links() }}
@else

No students found

@if(request('search')) No students match your search criteria. Clear search @else There are no students in the database yet. @endif

Add First Student {{-- --}}
@endif
@endsection @push('scripts') @endpush