@extends('backEnd.master') @section('title') @lang('student.student_edit') @endsection @section('css') @endsection @push('css') @endpush @section('mainContent')
{{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'student_update', 'method' => 'POST', 'enctype' => 'multipart/form-data', 'id' => 'student_form', ]) }}

@lang('student.student_edit')

@if ($errors->any()) @foreach ($errors->all() as $error) @if ($error == 'The email address has already been taken.')
{{ 'The email address has already been taken, You can find out in student list or disabled student list' }}
@endif @endforeach @endif @if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif

@lang('student.academic_info')

@if (is_show('admission_number'))
@if ($errors->has('admission_number')) {{ $errors->first('admission_number') }} @endif
@endif @if (generalSetting()->multiple_roll == 0) @if (is_show('roll_number'))
@endif @endif @if (is_show('admission_date'))
{{ $errors->first('admission_date') }}
@endif @if (moduleStatusCheck('Lead') == true)
@if ($errors->has('source_id')) {{ $errors->first('source_id') }} @endif
@endif @if (is_show('student_group_id'))
@if ($errors->has('student_group_id')) {{ $errors->first('student_group_id') }} @endif
@endif

@lang('student.personal_info')

@if (is_show('first_name'))
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@endif @if (is_show('last_name'))
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@endif @if (is_show('gender'))
@if ($errors->has('gender')) {{ $errors->first('gender') }} @endif
@endif @if (is_show('date_of_birth'))
{{ $errors->first('date_of_birth') }}
@endif @if (is_show('religion'))
@if ($errors->has('religion')) {{ $errors->first('religion') }} @endif
@endif @if (is_show('caste'))
@endif @if (is_show('photo'))
@endif

@lang('student.contact_info')

@if (is_show('email_address'))
@if ($errors->has('email_address')) {{ $errors->first('email_address') }} @endif
@endif @if (is_show('phone_number'))
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@endif

@lang('student.student_address_info')

@if (moduleStatusCheck('Lead') == true)
@if ($errors->has('lead_city')) {{ $errors->first('lead_city') }} @endif
@endif @if (is_show('current_address'))
@endif @if (is_show('permanent_address'))
@endif

@lang('student.medical_record')

@if (is_show('blood_group'))
@if ($errors->has('blood_group')) {{ $errors->first('blood_group') }} @endif
@endif @if (is_show('student_category_id'))
@if ($errors->has('student_category_id')) {{ $errors->first('student_category_id') }} @endif
@endif @if (is_show('heightheightheight'))
@endif @if (is_show('weight'))
@endif
@if (generalSetting()->with_guardian)
@endif

@lang('common.fathers_info')

@if (is_show('fathers_name'))
@if ($errors->has('fathers_name')) {{ $errors->first('fathers_name') }} @endif
@endif @if (is_show('fathers_occupation'))
@endif @if (is_show('fathers_phone'))
@if ($errors->has('fathers_phone')) {{ $errors->first('fathers_phone') }} @endif
@endif @if (is_show('fathers_photo'))
{{ $errors->first('fathers_photo') }}
@endif

@lang('common.mothers_info')

@if (is_show('mothers_name'))
@if ($errors->has('mothers_name')) {{ $errors->first('mothers_name') }} @endif
@endif @if (is_show('mothers_occupation'))
@endif @if (is_show('mothers_phone'))
@if ($errors->has('mothers_phone')) {{ $errors->first('mothers_phone') }} @endif
@endif @if (is_show('mothers_photo'))
{{ $errors->first('mothers_photo') }}
@endif
@if (generalSetting()->with_guardian) @if (count($siblings) > 1)

@lang('student.siblings')

@foreach ($siblings as $sibling) @if ($sibling->id != $student->id)
{{ $student->parents->fathers_name }}
@lang('student.full_name')
{{ $sibling->full_name }}
@lang('student.admission_number')
{{ $sibling->admission_no }}
@lang('common.class')
{{ $sibling->class != '' ? $sibling->class->class_name : '' }}
@lang('common.section')
{{ $sibling->section != '' ? $sibling->section->section_name : '' }}
@endif @endforeach
@endif

@lang('student.parents_and_guardian_info')

@if (is_show('guardians_phone') || is_show('guardians_email'))

@lang('student.relation_with_guardian') *

parents->relation == 'F' ? 'checked' : '' }}>
parents->relation == 'M' ? 'checked' : '' }}>
parents->relation == 'O' ? 'checked' : '' }}>
@endif
@if (is_show('guardians_name'))
@if ($errors->has('guardians_name')) {{ $errors->first('guardians_name') }} @endif
@endif @php if ($student->parents->guardians_relation == 'F') { $show_relation = 'Father'; } if ($student->parents->guardians_relation == 'M') { $relashow_relationtion = 'Mother'; } if ($student->parents->guardians_relation == 'O') { $show_relation = 'Other'; } @endphp @if (is_show('guardians_phone') || is_show('guardians_email'))
@endif @if (is_show('guardians_email'))
@if ($errors->has('guardians_email')) {{ $errors->first('guardians_email') }} @endif
@endif @if (is_show('guardians_photo'))
{{ $errors->first('guardians_photo') }}
@endif
@if (is_show('guardians_phone'))
@if ($errors->has('guardians_phone')) {{ $errors->first('guardians_phone') }} @endif
@endif @if (is_show('guardians_occupation'))
@endif
@if (is_show('guardians_address'))
@if ($errors->has('guardians_address')) {{ $errors->first('guardians_address') }} @endif
@endif
@endif

@lang('common.fathers_info')

@if (is_show('national_id_number'))
@if ($errors->has('national_id_number')) {{ $errors->first('national_id_number') }} @endif
@endif @if (is_show('local_id_number'))
@endif @if (is_show('additional_notes'))
@endif

@lang('common.fathers_info')

@if (is_show('bank_account_number'))
@endif @if (is_show('bank_name'))
@endif @if (is_show('ifsc_code'))
@endif
@if (is_show('document_file_1'))
@endif
@if (is_show('document_file_2'))
@endif
@if (is_show('document_file_3'))
@endif
@if (is_show('document_file_4'))
@endif
@if (is_show('previous_school_details'))
@endif

@lang('student.transport_info')

@if (is_show('route'))
@if ($errors->has('route')) {{ $errors->first('route') }} @endif
@endif @if (is_show('vehicle'))
loader
@if ($errors->has('vehicle')) {{ $errors->first('vehicle') }} @endif
@endif

@lang('student.dormitory_info')

@if (is_show('dormitory_name'))
@if ($errors->has('dormitory_name')) {{ $errors->first('dormitory_name') }} @endif
@endif @if (is_show('room_number'))
loader
@if ($errors->has('room_number')) {{ $errors->first('room_number') }} @endif
@endif
@if (is_show('custom_field')) @if (count($custom_fields) && is_show('custom_field') && isMenuAllowToShow('custom_field'))

@lang('student.custom_field')

@include('backEnd.studentInformation._custom_field') @endif @endif
{{-- here --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--

@lang('student.transport_and_dormitory_info')

--}} {{--
--}} {{--
--}} {{--

@lang('student.Other_info')

--}} {{--
--}} {{--
--}} {{--

@lang('student.document_info')

--}}
{{ Form::close() }}
{{-- student photo --}} {{-- end student photo --}} {{-- father photo --}} {{-- end father photo --}} {{-- mother photo --}} {{-- end mother photo --}} {{-- mother photo --}} {{-- end mother photo --}} @endsection @include('backEnd.partials.date_picker_css_js') @section('script') @endsection