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

Department Exams

{{ $department }}

Manage exams for this department and semester from 6th to 1st.

@if(session('success'))
{{ session('success') }}
@endif
Reset
@foreach($semesterSections as $section)

{{ $section['name'] }} Semester

Showing {{ $department }} exams available for {{ $section['name'] }} semester.

@forelse($section['exams'] as $exam) @php $examSemesters = empty($exam->semester) ? 'All' : implode(', ', (array) $exam->semester); @endphp @empty @endforelse
Title Semester Questions Duration Status Actions
{{ $exam->title }}
{{ $exam->subject }}
{{ $examSemesters }} {{ $exam->questions_count ?? $exam->questions->count() }} {{ $exam->duration_minutes }} mins {{ ucfirst($exam->status) }}
View AI Builder
@csrf
@csrf @method('DELETE')
No exams found for {{ $section['name'] }} semester.
@endforeach
@endsection