@extends('layouts.app') @section('content') @include('layouts.navbars.auth.topnav', ['title' => $title])

Exam List

@if (Auth::user()->type == 3) Create New Exam @endif
@foreach ($exams as $item) @endforeach
# Title Subject Pass Score Duration Status Action
{{ $loop->iteration }} {{ $item->exam_title ?? '' }} {{ $item->subject->subject_name ?? '' }} {{ $item->passing_score ?? '' }} {{ $item->duration ?? '' }} @if ($item->status == 'R') Running @elseif ($item->status == 'D') Done @elseif ($item->status == 'P') Pending @endif
@csrf @method('DELETE')
{{-- Edit Exam Modal --}} @endsection @push('scripts') @endpush