@php $generalSetting= generalSetting(); if(!empty($generalSetting)){ $school_name =$generalSetting->school_name; $site_title =$generalSetting->site_title; $school_code =$generalSetting->school_code; $address =$generalSetting->address; $phone =$generalSetting->phone; } $exam=App\SmExamType::find(@$exam_id); $class=App\SmClass::find(@$class_id); if($section_id==0){ $section='All Sections'; }else{ $section=App\SmSection::find(@$section_id); $section=$section->section_name; } @endphp

{{isset(generalSetting()->school_name)?generalSetting()->school_name:'Infix School Management ERP'}}

{{isset(generalSetting()->address)?generalSetting()->address:'Infix School Address'}}

@lang('exam.exam_schedule')

@lang('exam.exam') : {{ @$exam->title}}

@lang('common.class'): {{ @$class->class_name}}

@lang('common.section'): {{ @$section}}

@lang('common.academic_year'): {{ @$academic_year->title}} ({{ @$academic_year->year}})


@if($section_id==0) @endif @foreach($exam_periods as $exam_period) @endforeach @foreach($assign_subjects as $assign_subject) @if($section_id==0) @endif @foreach($exam_periods as $exam_period) @php $assigned_routine = App\SmExamSchedule::assignedRoutine($class_id, $assign_subject->section_id, $exam_id, $assign_subject->subject_id, $exam_period->id); // $assigned_routine = getScheduleSubject($class_id, $section_id, $exam_id, $exam_period->id, $exam_date); @endphp @endforeach @endforeach
@lang('common.subject')@lang('common.class_Sec'){{ @$exam_period->period}}
{{date('h:i A', strtotime(@$exam_period->start_time))}}
To
{{ date('h:i A', strtotime(@$exam_period->end_time))}}
{{ @$assign_subject->subject !=""?@$assign_subject->subject->subject_name:""}}{{$assign_subject->class->class_name.'('.$assign_subject->section->section_name.')'}} @if(@$assigned_routine == "") @else
{{@$assigned_routine->classRoom->room_no}}
{{@$assigned_routine->date != ""? dateConvert(@$assigned_routine->date):''}}
@endif