@extends('layouts.admin') @section('content')

Student Violation Overview

{{ $student->name }}

Review all exams where this student triggered proctoring violations and jump into the specific timeline for each exam.

Email: {{ $student->email }} Registration No: {{ $student->registration_no ?? 'N/A' }} Semester: {{ $student->semester ?? 'N/A' }}

Exam Breakdown

{{ $examSummaries->count() }} exams
@forelse($examSummaries as $summary)

{{ $summary->exam->title }}

{{ $summary->exam->subject ?: 'No subject' }}

Last violation: {{ \Carbon\Carbon::parse($summary->latest_violation_at)->format('d M Y, h:i A') }}

Violations

{{ $summary->violations_count }}

Open Exam Timeline
@empty
No violations found for this student.
@endforelse

Recent Captures

{{ $recentViolations->count() }} items
@foreach($recentViolations as $violation) @php($imageUrl = route('admin.violations.image', $violation))
Violation evidence

{{ $violation->reason }}

{{ $violation->exam?->title ?? 'Unknown exam' }}

{{ $violation->created_at?->format('d M Y, h:i:s A') }}

@endforeach
@endsection