@extends('backend.layouts.app') @section('head') @endsection @section('content')
@if($exams->isNotEmpty()) @foreach ($exams as $exam) @php $st_data = $exam->studentData->where('student_id', Auth::user()->id)->first(); @endphp @if($st_data || strtotime($exam->end_date_time) < strtotime("now"))

{{ ucwords($exam->title) }}

{{$exam->description}}

{{get_time_format($exam->date_and_time)}}
Unique Exam Id #{{$exam->exam_id}}
Start Date & Time {{date('d-m-Y H:i:s', strtotime($exam->date_and_time))}}
Duration {{$exam->duration}} Minutes
View Report {{--
date_and_time == $latest_exam->date_and_time) id="count_down" @endif>
date_and_time == $latest_exam->date_and_time) id="countdown-container" @endif class="time_text">
--}}
@endif @endforeach @endif
@endsection @section('script') @endsection