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

Student Violation Timeline

{{ $student->name }}

Exam: {{ $exam->title }}. Review each recorded screenshot and the reason attached to it.

Registration No

{{ $student->registration_no ?? 'N/A' }}

Email

{{ $student->email }}

Total Violations

{{ $violations->count() }}

Reason Breakdown

@foreach($reasonBreakdown as $reason => $count)

{{ $reason }}

{{ $count }}

@endforeach

Captured Evidence

@foreach($violations as $violation)
@php($imageUrl = route('admin.violations.image', $violation)) Violation evidence

{{ $violation->reason }}

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

Stored as: {{ $violation->image_path }}

@endforeach
@endsection