@extends('backEnd.master') @section('title') @lang('exam.exam_schedule_create') @endsection @section('mainContent')

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'exam_schedule_create_store', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_student']) }}
@if(moduleStatusCheck('University'))
@includeIf('university::common.session_faculty_depart_academic_semester_level', ['required' => ['USN', 'UD', 'UA', 'US', 'USL', 'USEC'],'hide'=> ['USUB'] ])
{{ Form::select('exam_type',["" =>__('exam.select_exam').'*'], null , ['class' => 'primary_select form-control'. ($errors->has('exam_type') ? ' is-invalid' : ''), 'id'=>'select_exam_typ_subject']) }}
loader
@if ($errors->has('exam_type')) {{ @$errors->first('exam_type') }} @endif
@else
@if ($errors->has('exam_type')) {{ $errors->first('exam_type') }} @endif
@if ($errors->has('class')) {{ $errors->first('class') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@endif
{{ Form::close() }}
@if(moduleStatusCheck('University')) @includeIf('university::exam.exam_routine') @else @if(isset($assign_subjects))

@lang('exam.exam_schedule')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'exam_schedule_store', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'exam_schedule_store']) }} @if(!moduleStatusCheck('University')) @endif
@foreach($exam_periods as $exam_period) @endforeach @php $section_id_all = $section_id; @endphp @foreach($assign_subjects as $assign_subject) @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); @endphp @endforeach @endforeach
@lang('exam.subject') @lang('common.class_Sec'){{ @$exam_period->period}}
{{date('h:i A', strtotime(@$exam_period->start_time)).'-'.date('h:i A', strtotime(@$exam_period->end_time))}}
{{@$assign_subject->subject !=""?@$assign_subject->subject->subject_name:""}} {{@$assign_subject->class !=""? @$assign_subject->class->class_name:""}}({{@$assign_subject->section !=""?@$assign_subject->section->section_name:""}}) @if(@$assigned_routine == "") @if(@$assigned_routine_subject == "") @if(userPermission('add-exam-routine-modal')) @endif @endif @else
{{@$assigned_routine->classRoom !=""?@$assigned_routine->classRoom->room_no:""}}
{{@$assigned_routine->date != ""? dateConvert($assigned_routine->date):''}}
@endif
{{ Form::close() }}
@endif @endif @endsection