@extends('layouts.school') @section('title', 'Students') @section('header', 'Students') @section('content')
@if(request()->filled('search') || request()->filled('class_id') || request()->filled('campus_id') || request()->filled('status') || request()->filled('gender')) Clear @endif
Promote ID Cards Export CSV Import CSV + Add Student
@forelse($students as $student) @empty @endforelse
Student Admission No Class Parent/Guardian Gender Status
@if($student->photo_url) @else {{ $student->initials }} @endif {{ $student->full_name }} @if($student->phone){{ $student->phone }}@endif {{ $student->admission_no }} {{ $student->class?->name ?? '—' }} @if($student->parent) {{ $student->parent->full_name }} @else Not linked @endif {{ ucfirst($student->gender ?? '—') }} {{ $student->status_label }}
No students found.
{{ $students->links() }}
@endsection