@extends('backEnd.master') @section('title') {{@$pt}} @endsection @section('mainContent')
{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'disabled_student_search', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }}

@lang('common.select_criteria')

@if(moduleStatusCheck('University')) @includeIf('university::common.session_faculty_depart_academic_semester_level',['hide'=>['USUB']])
@else @include('backEnd.common.search_criteria', [ 'div'=>'col-lg-3', 'required'=>['class'], 'visiable'=>['class', 'section'], ])
@endif
{{ Form::close() }}

{{@$pt}}

@if(generalSetting()->with_guardian) @endif {{-- @foreach($students as $student) {{-- --}} {{-- @if(generalSetting()->with_guardian) @endif @endforeach --}}
@lang('student.admission_no') @lang('student.roll_no') @lang('student.name') @lang('common.class')@lang('student.father_name')@lang('common.date_of_birth') @lang('common.gender') @lang('common.type') @lang('common.phone') @lang('common.actions')
{{$student->admission_no}} {{$student->roll_no}} {{$student->first_name.' '.$student->last_name}} @php $class_sec=[]; foreach ($student->studentRecords as $classSec) { $class_sec[]=$classSec->class->class_name.'('. $classSec->section->section_name .'), ' ; } if (request()->class) { $sections = []; $class = $student->recordClass ? $student->recordClass->class->class_name : ''; if (request()->section) { $sections [] = $student->recordSection != "" ? $student->recordSection->section->section_name:""; } else { foreach ($student->recordClasses as $section) { $sections [] = $section->section->section_name; } } echo $class .'('.implode(', ', $sections).'), '; } else{ echo implode(', ', $class_sec); } @endphp {{$student->class !=""?$student->class->class_name:""}}{{$student->parents !=""?$student->parents->fathers_name:""}} {{$student->date_of_birth != ""? dateConvert($student->date_of_birth):''}} {{$student->gender != ""? $student->gender->base_setup_name :''}} {{$student->category != ""? $student->category->category_name:''}} {{$student->mobile}} @lang('common.view') @if(userPermission('disable_student_delete')) @lang('common.delete') @endif @lang('common.enable')
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.server_side_datatable') @push('script') @endpush