@extends('auth.student.layouts.master') @section('content')
| SN | Title | Subject | Date | Action |
|---|---|---|---|---|
| {{++$key}} |
{{$record->title}}
@if($record->quiz)
@php
$action_path = 'quiz';
@endphp
Quiz
@else
@php
$action_path = 'exams';
@endphp
Exam
@endif
|
{{$record->class_subject->subject->name}} |
@if(isset($record->start_date))
Start date: {{date('d M, Y',strtotime($record->start_date))}} Start time: {{date('H:i A',strtotime($record->start_date))}} @endif |
@php $exam_status = $record->student_exam_status($student->id); @endphp @if($exam_status) @if($exam_status->status) @if($student->test) Restart Quiz @endif View Result @else Resume Exam @endif @else View Exam @endif |