@if (request()->has('message'))
{{ urldecode(request()->get('message')) }}
@endif @if (Session::has('success'))
{{ Session::get('success') }}
@endif @if (Session::has('fail'))
{{ Session::get('fail') }}
@endif
@csrf

My Examination

@if (session('usertype') == 'Parent') @else @endif @php $i=1; @endphp @foreach ($exams as $exam) {{-- @if ($exam->attemptsRemaining > 0) --}} {{-- --}} @if (session('usertype') == 'Parent') @else @endif @php $i++; @endphp {{-- @endif --}} @endforeach
S.No. Class Subject Topic Exam Type Exam Name Exam Description Attempts Pending Exam Duration Exam Start Date & Time Exam End Date & TimeAction
{{ $i }} {{ $exam->class }} {{ $exam->subject }} {{ $exam->topic }} @if($exam->test_type ==1) Objective @else subjective @endif {{ $exam->name }} {{ $exam->description }} {{ $exam->attemptsRemaining }} {{ $exam->test_duration }} min {{ \Carbon\Carbon::parse($exam->test_start_date)->format('d-m-Y h:i A') }} {{ \Carbon\Carbon::parse($exam->test_end_date)->format('d-m-Y h:i A') }}Start Testtest_type ==1) href="{{ url('student/taketest') }}/{{ $exam->id }}" @elseif($exam->test_type ==2)href="{{ url('student/taketest-subjective') }}/{{ $exam->id }} @endif" class="badge bg-success p-2">Start Test
{{--
{!! $exams->links() !!}
--}}

Previous Exams

@foreach ($extakens as $extaken) @endforeach
S.No. Exam Type Exam Name Exam Description Exam Duration Exam Start Date & Time Exam End Date & Time Attempted On Action
{{ $loop->iteration }} {{ $extaken->exam_name }} {{ $extaken->exam_description }} {{ $extaken->duration }} min {{ \Carbon\Carbon::parse($extaken->test_start_date)->format('d-m-Y h:i A')}} {{ \Carbon\Carbon::parse($extaken->test_end_date)->format('d-m-Y h:i A')}} {{ \Carbon\Carbon::parse($extaken->test_attempted_on)->format('d-m-Y h:i A')}} Report
@endsection