@extends('layouts.app') @section('title', 'Students') @section('crumbs') Dashboard/Students @endsection @section('content')
{{ $students->total() }} student(s) on record
| Adm. No | Name | Gender | @can('viewContact', $students->first() ?? new \App\Models\People\Student)Phone | @endcanClass | @can('viewAny', \App\Models\People\Guardian::class)Guardian | @endcanStatus | Actions |
|---|---|---|---|---|---|---|---|
| {{ $student->admission_no }} |
{{ $student->full_name }}
@can('viewContact', $student)
Born {{ $student->date_of_birth?->format('d M Y') }}
@endcan
|
{{ ucfirst($student->gender) }} | @can('viewContact', $student){{ $student->phone ?? '—' }} | @endcan{{ $student->enrollments->last()?->schoolClass?->name ?? '—' }} @if ($student->enrollments->last()?->section) Sec {{ $student->enrollments->last()->section->name }} @endif | @can('viewAny', \App\Models\People\Guardian::class){{ $student->guardians->first()?->full_name ?? '—' }} | @endcan{{ ucfirst($student->status) }} | View @can('update', $student) Edit @endcan |
| No students match your filters. | |||||||