@extends('layouts.admin') @section('title', 'Students') @section('page-title', 'Students') @section('page-subtitle', 'Manage Children Ministry students') @section('content')

Students

Add Student
@forelse($students as $student) @empty @endforelse
Student Class Age Parent Parent Phone Status
@if($student->profile_photo) {{ $student->full_name }} @else
{{ substr($student->first_name, 0, 1) }}{{ substr($student->last_name ?? '', 0, 1) }}
@endif {{ $student->full_name }}
{{ $student->class?->name ?? 'N/A' }} {{ $student->age }} yrs

{{ $student->parent_name }}

{{ $student->parent_email ?? '' }}

{{ $student->parent_phone }} {{ ucfirst($student->status) }}
No students found. Add one
{{ $students->links() }}
@endsection