@if(isset($OnlineExam)) @foreach($OnlineExam as $key => $exam) @endforeach @endif
Exam Date and Time Title Subject Description Action
{{ date('Y-m-d h:i a', strtotime($exam->exam_date_and_time)) }} {{ $exam->title }} {{ isset($exam->subject->subject_name) ? $exam->subject->subject_name : '' }} {!! $exam->description !!} @if (strtotime($exam->exam_date_and_time) <= time()) Take Exam @else
0 days and 0 hours
and 0 minutes and 0 seconds
@endif