@extends('backEnd.master') @section('title') @lang('reports.previous_record') @endsection @section('mainContent')

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'previous-records', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'search_student']) }}
@if ($errors->has('promote_session')) {{ $errors->first('promote_session') }} @endif @lang('reports.the_session_is_required')
@if ($errors->has('promote_class')) {{ $errors->first('promote_class') }} @endif
loader
@if ($errors->has('promote_section')) {{ $errors->first('promote_section') }} @endif
{{ Form::close() }}
@if (isset($students))

@lang('common.student_list') ( {{ isset($students) ? $students->count() : 0 }})

@foreach($students as $data) @php $studentInfo=json_decode($data->student_info); @endphp @endforeach
@lang('student.admission_no') @lang('student.roll_no') @lang('common.name') @lang('common.class') @lang('student.father_name') @lang('common.date_of_birth') @lang('common.gender') @lang('common.type') @lang('common.phone')
{{$data->admission_number}} {{$data->previous_roll_number }} {{$studentInfo->full_name}} {{$class->class_name}} ( {{$section->section_name}} ) {{@$data->student->parents->fathers_name }} {{ dateConvert(@$data->student->date_of_birth)}} {{@$data->student->gender->base_setup_name }} {{@$data->student->category->category_name}} {{@$data->student->mobile }}
@endif
@endsection @include('backEnd.partials.data_table_js')