@extends('backEnd.master') @section('title') @lang('student.student_promote') @endsection @section('mainContent')

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'student-current-search', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_promoteA']) }}
@if ($errors->has('current_session')) {{ $errors->first('current_session') }} @endif
loader
@if ($errors->has('current_class')) {{ $errors->first('current_class') }} @endif
loader
@if ($errors->has('section')) {{ $errors->first('section') }} @endif
@if ($errors->has('exam')) {{ $errors->first('exam') }} @endif
@if ($errors->has('result')) {{ $errors->first('result') }} @endif
{{ Form::close() }}
@if(isset($students))

@lang('student.promote_student_in_next_session')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'student-promote-store', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'student_promote_submit']) }}
@foreach( @$students['students'] ? @$students['students']: $students as $student) {{$student->result}} @php if (@$student->result!='F') { $type='disabled'; } else { $type=''; } @endphp {{-- --}} {{-- --}} @if ($student->class_name) @else @endif @endforeach
@lang('student.admission_no') @lang('common.class')/@lang('common.section') @lang('common.name') @lang('student.current_result')
{{$student->admission_no}}
{{@$student->class_name !=""?@$student->class_name:""}} ({{@$student->class_name !=""?@$student->class_name:""}}){{$student->class !=""?$student->class->class_name:""}}{{@$student->studentinfo ? $student->studentinfo->first_name .' '.$student->studentinfo->last_name : $student->first_name .' '.$student->last_name}} @if(in_array($student->id,$passesdStudentIds)) @lang('student.pass') @else @lang('student.fail') @endif
@lang('common.the_session_is_required')
@if(userPermission(82))
@endif
{{ Form::close() }}
@endif @endsection