@extends('layouts.admin') @section('title','Students') @section('page-title','Students') @section('content') {{-- Filters --}}
{{ $students->total() }} students
@forelse($students as $student) @empty @endforelse
Student Reg Number State Profile Status Actions
@if($student->studentProfile?->passport_photo) @else
{{ strtoupper(substr($student->name, 0, 1)) }}
@endif
{{ $student->name }}
{{ $student->email }}
{{ $student->studentProfile?->reg_number ?? '—' }} {{ $student->studentProfile?->state_of_origin ?? '—' }} @if($student->studentProfile?->profile_complete) Complete @else Incomplete @endif @if($student->is_active) Active @else Suspended @endif
@csrf @method('PATCH')
No students found.
@if($students->hasPages()) @endif
@endsection