@extends('front.student.profile.master') @section('page-title')

{{ $student->name }}'s Exam Schedule

@endsection @section('content')

Subject and Exam Wise Syllabus

@php($exams = exam($studentClass->year,$studentClass->class_id)) @foreach($exams as $exam) @endforeach @php($sectionId = $studentClass->classInfo->section_id) @php($sl=1) @if($sectionId==1 or $sectionId==2) @foreach($classSubjects as $classSubject) @foreach($exams as $exam) @php($syllabus = studentExamSyllabus($exam->id,$classSubject->subject_id)) @endforeach @endforeach @else @foreach($classSubjects as $classSubject) @php($status = subjectCheck($student->id,$studentClass->class_id,$classSubject->subject_id)) @if($status===true) @foreach($exams as $exam) @php($syllabus = studentExamSyllabus($exam->id,$classSubject->subject_id)) @endforeach @endif @endforeach @endif
Sl Code Subject Name{{ $exam->name }}
{{ $sl++ }} {{ $classSubject->sub_code }} {{ $classSubject->subject->name }} @if(isset($syllabus)) @php($currentDate = Carbon\Carbon::parse(date('Y-m-d'))) @php($examDate = Carbon\Carbon::parse($syllabus->exam_date)) @if($examDate->lessThan($currentDate)) Finished @else {{ dateFormat($syllabus->exam_date,'d-M-Y') }} @endif @else Comming Soon @endif
{{ $sl++ }} {{ $classSubject->sub_code }} {{ $classSubject->subject->name }} @if(isset($syllabus)) @php($currentDate = Carbon\Carbon::parse(date('Y-m-d'))) @php($examDate = Carbon\Carbon::parse($syllabus->exam_date)) @if($examDate->lessThan($currentDate)) Finished @else {{ dateFormat($syllabus->exam_date,'d-M-Y') }} @endif @else Comming Soon @endif
@endsection