@extends('layouts.admin_lbb') @section('page-title', 'Kelola Peserta Ujian') @section('content')

{{ $exam->name }}

{{ $exam->description ?? 'Tanpa deskripsi' }}

{{ $exam->start_date->format('d M Y, H:i') }} - {{ $exam->end_date->format('H:i') }}
{{ $exam->duration }} menit
{{ $registeredParticipantsCount }}
Peserta Terdaftar
{{ $completedParticipantsCount }}
Sudah Mengerjakan
{{ $availableStudentsCount }}
Siswa Tersedia
{{ $exam->duration }} Menit
Durasi Ujian
@foreach($registeredParticipants as $participant) @endforeach
Nama Siswa Kelas Tanggal Terdaftar Status Pengerjaan Aksi
{{ $participant->student->user->name }}
{{ $participant->student->user->email }}
{{ $participant->student->classModel->name }} {{ $participant->registered_at->format('d M Y, H:i') }} @if($participant->examAttempts()->exists()) Sudah Mengerjakan @if($participant->examAttempts->count() > 1) {{ $participant->examAttempts->count() }}× Attempt @endif @else Belum Mengerjakan @endif
@if($participant->examAttempts()->exists()) @php $latestAttempt = $participant->examAttempts()->latest()->first(); @endphp @endif
@foreach($availableStudents as $student) @endforeach
Nama Siswa Kelas Email Status
{{ $student->user->name }}
{{ $student->user->phone }}
{{ $student->classModel->name }} {{ $student->user->email }} @if($student->status->value === 'active') Aktif @else Nonaktif @endif
@csrf
@csrf @method('DELETE')
@endsection