@extends('layouts.admin') @section('title', $student->name) @section('content') @can('update', $student) Edit @endcan @include('admin.students._status-actions', ['student' => $student, 'compact' => false]) @if ($student->isActive()) @can('create', App\Models\ExamAssignment::class) Assign Exam @endcan @endif @can('delete', $student) @endcan
{{ $student->name }} {{ $student->student_id }} {{ $student->email }} {{ $student->created_at?->format('d M Y H:i') }} · {{ $student->creator?->name ?? 'System' }} {{ $student->updated_at?->format('d M Y H:i') }} · {{ $student->updater?->name ?? '—' }} {{ $student->last_login_at?->format('d M Y H:i') ?? 'Never' }}
{{ $summary['total'] }}
Total
{{ $summary['active'] }}
Active
{{ $summary['cancelled'] }}
Cancelled
Assigned exams {{ $summary['total'] }} Results appear here once the attempt system exists.
@include('admin.exam-assignments._table', ['assignments' => $student->assignments, 'showStudent' => false, 'showExam' => true])
@endsection