@extends('layouts.staff_dashboard') @section('title', 'Exam Report') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Exam Report

{{ $exam->exam_name }} {{ $totalQuestions }} Questions {{ $stats['total_students'] }} Students

{{ $stats['total_students'] }}

Total Students

{{ $stats['attempted'] }}

Attempted

{{ $stats['not_attempted'] }}

Not Attempted

{{ $stats['avg_percentage'] }}%

Avg. Progress

@include('staff.exam.partials.report_students', [ 'exam' => $exam, 'course_name' => $course_name, 'studentReports' => $studentReports, 'totalQuestions' => $totalQuestions ])
@if($students->hasPages()) @include('staff.pagination.exam_report', [ 'paginator' => $students, 'exam' => $exam, 'perPage' => $perPage, 'search' => $search ?? '' ]) @endif
@endsection