@foreach($admitcards as $admitcard)
{{generalSetting()->school_name}}

{{generalSetting()->school_name}}

@if($setting->school_address)

{{generalSetting()->address}}

@lang('common.email') :{{generalSetting()->email}} , @lang('common.phone') : {{generalSetting()->phone}}

@endif

@lang('examplan::exp.admit_card')

@if($setting->exam_name) {{@$admitcard->examType->title}} @endif
@if($setting->student_photo) {{--
--}} @endif
@if($setting->admission_no)
@lang('student.admission_no') : {{@$admitcard->studentRecord->studentDetail->admission_no}}
@endif
@if($setting->student_name)
@lang('common.name') : {{@$admitcard->studentRecord->studentDetail->full_name}}
@endif @if($setting->class_section || $setting->academic_year)

@endif @if($setting->class_section) @lang('student.class') - {{@$admitcard->studentRecord->class->class_name}} ( {{@$admitcard->studentRecord->section->section_name}} ) @endif @if($setting->academic_year) {{@$admitcard->studentRecord->academic->year}} @endif @if($setting->class_section || $setting->academic_year)

@endif
@if($setting->gaurdian_name)
@lang('student.guardian') : {{@$admitcard->studentRecord->studentDetail->parents->guardians_name}}
@isset($admitcard->studentRecord->studentDetail->category->category_name)

@lang('student.category') - {{@$admitcard->studentRecord->studentDetail->category->category_name}}

@endisset
@endif

@lang('examplan::exp.exam_routine')

@foreach($exam_routines as $date => $exam_routine) @if($loop->iteration % 2 == 1 ) @endif @if($loop->last && $exam_routines->count() %2 == 1 && $exam_routine->id) @endif @if($loop->iteration % 2 == 0 || $loop->last % 2 == 1) @endif @endforeach
@lang('examplan::exp.date_time') @lang('examplan::exp.subject') @lang('examplan::exp.date_time') @lang('examplan::exp.subject')
{{ dateConvert($exam_routine->date) }} [{{ date('h:i A', strtotime(@$exam_routine->start_time)) }} - {{ date('h:i A', strtotime(@$exam_routine->end_time)) }}] {{ $exam_routine->subject ? $exam_routine->subject->subject_name :'' }} {{ $exam_routine->subject ? '('.$exam_routine->subject->subject_code .')':'' }}
@if($setting->class_teacher_signature)
@if($setting->teacher_signature_photo) @endif
@lang('examplan::exp.class_teacher')
@endif @if($setting->principal_signature)
@if($setting->teacher_signature_photo) @endif
@lang('examplan::exp.principal_signature')
@endif
@endforeach