{{--

@lang('student.personal_info')

--}} @if (is_show('admission_date'))
@lang('student.admission_date')
{{ !empty($student_detail->admission_date) ? dateConvert($student_detail->admission_date) : '' }}
@endif @if (is_show('date_of_birth'))
@lang('student.date_of_birth')
{{ !empty($student_detail->date_of_birth) ? dateConvert($student_detail->date_of_birth) : '' }}
@endif
@lang('student.age')
{{ \Carbon\Carbon::parse($student_detail->date_of_birth)->diff(\Carbon\Carbon::now())->format('%y years') }}
@if (is_show('student_category_id'))
@lang('student.category')
{{ $student_detail->category != '' ? $student_detail->category->category_name : '' }}
@endif
@lang('student.group')
{{ $student_detail->group ? $student_detail->group->group : '' }}
@if (is_show('religion'))
@lang('student.religion')
{{ $student_detail->religion != '' ? $student_detail->religion->base_setup_name : '' }}
@endif @if (is_show('phone_number'))
@lang('student.phone_number')
@if ($student_detail->mobile) {{ @$student_detail->mobile }} @endif
@endif @if (is_show('email_address'))
@lang('common.email_address')
@if ($student_detail->email) {{ @$student_detail->email }} @endif
@endif {{-- changes for lead module --abunayem --}} @if (moduleStatusCheck('Lead') == true)
@lang('lead::lead.city')
{{ @$student_detail->leadCity->city_name }}
@lang('lead::lead.source')
{{ @$student_detail->source->source_name }}
@endif {{-- end --}} @if (is_show('current_address'))
@lang('student.present_address')
{{ @$student_detail->current_address }}
@endif @if (is_show('permanent_address'))
@lang('student.permanent_address')
{{ @$student_detail->permanent_address }}
@endif

@lang('student.Parent_Guardian_Details')

@if (is_show('fathers_photo'))
@endif
@if (is_show('fathers_name'))
@lang('student.father_name')
{{ @$student_detail->parents->fathers_name }}
@endif @if (is_show('fathers_occupation'))
@lang('student.occupation')
{{ @$student_detail->parents != '' ? @$student_detail->parents->fathers_occupation : '' }}
@endif @if (is_show('fathers_phone'))
@lang('student.phone_number')
{{ @$student_detail->parents != '' ? @$student_detail->parents->fathers_mobile : '' }}
@endif
@if (is_show('mothers_photo'))
@endif
@lang('student.mother_name')
@if (is_show('mothers_name'))
{{ $student_detail->parents != '' ? @$student_detail->parents->mothers_name : '' }}
@endif
@lang('student.occupation')
@if (is_show('mothers_occupation'))
{{ $student_detail->parents != '' ? @$student_detail->parents->mothers_occupation : '' }}
@endif
@if (is_show('mothers_phone'))
@lang('student.phone_number')
{{ $student_detail->parents != '' ? @$student_detail->parents->mothers_mobile : '' }}
@endif
@if (is_show('guardians_photo'))
@endif
@if (is_show('guardians_name'))
@lang('student.guardian_name')
{{ $student_detail->parents != '' ? @$student_detail->parents->guardians_name : '' }}
@endif @if (is_show('guardians_email'))
@lang('student.email_address')
{{ $student_detail->parents != '' ? @$student_detail->parents->guardians_email : '' }}
@endif @if (is_show('guardians_phone'))
@lang('student.phone_number')
{{ $student_detail->parents != '' ? @$student_detail->parents->guardians_mobile : '' }}
@endif
@lang('student.relation_with_guardian')
{{ $student_detail->parents != '' ? @$student_detail->parents->guardians_relation : '' }}
@if (is_show('guardians_occupation'))
@lang('student.occupation')
{{ $student_detail->parents != '' ? @$student_detail->parents->guardians_occupation : '' }}
@endif @if (is_show('guardians_address'))
@lang('student.guardian_address')
{{ $student_detail->parents != '' ? @$student_detail->parents->guardians_address : '' }}
@endif
@if(isMenuAllowToShow('transport') || isMenuAllowToShow('dormitory'))

@lang('student.'.(isMenuAllowToShow('transport')? 'transport' : ''). (isMenuAllowToShow('transport') && isMenuAllowToShow('dormitory')? '_and_' : '').(isMenuAllowToShow('dormitory')? 'dormitory' : '').'_info')

@if(isMenuAllowToShow('transport')) @if (is_show('route')) @if (!empty($student_detail->route_list_id))
@lang('student.route')
{{ isset($student_detail->route_list_id) ? @$student_detail->route->title : '' }}
@endif @endif @if (is_show('vehicle')) @if (isset($student_detail->vehicle)) @if (!empty($vehicle_no))
@lang('student.vehicle_number')
{{ $student_detail->vehicle != '' ? @$student_detail->vehicle->vehicle_no : '' }}
@endif @endif @endif @if (isset($driver_info)) @if (!empty($driver_info->full_name))
@lang('student.driver_name')
{{ $student_detail->vechile_id != '' ? @$driver_info->full_name : '' }}
@endif @endif @if (isset($driver_info)) @if (!empty($driver_info->mobile))
@lang('student.driver_phone_number')
{{ $student_detail->vechile_id != '' ? @$driver_info->mobile : '' }}
@endif @endif @endif @if (is_show('dormitory_name') && isMenuAllowToShow('dormitory')) @if (isset($student_detail->dormitory)) @if (!empty($student_detail->dormitory->dormitory_name))
@lang('student.dormitory_name')
{{ isset($student_detail->dormitory_id) ? @$student_detail->dormitory->dormitory_name : '' }}
@endif @endif @endif @endif

@lang('student.other_information')

@if (is_show('blood_group'))
@lang('common.blood_group')
{{ isset($student_detail->bloodgroup_id) ? @$student_detail->bloodGroup->base_setup_name : '' }}
@endif @if (is_show('student_group_id'))
@lang('student.student_group')
{{ isset($student_detail->student_group_id) ? @$student_detail->group->group : '' }}
@endif @if (is_show('height'))
@lang('student.height')
{{ isset($student_detail->height) ? @$student_detail->height : '' }}
@endif @if (is_show('weight'))
@lang('student.weight')
{{ isset($student_detail->weight) ? @$student_detail->weight : '' }}
@endif @if (is_show('previous_school_details'))
@lang('student.previous_school_details')
{{ isset($student_detail->previous_school_details) ? @$student_detail->previous_school_details : '' }}
@endif @if (is_show('national_id_number'))
@lang('student.national_id_number')
{{ isset($student_detail->national_id_no) ? @$student_detail->national_id_no : '' }}
@endif @if (is_show('local_id_number'))
@lang('student.local_id_number')
{{ isset($student_detail->local_id_no) ? @$student_detail->local_id_no : '' }}
@endif @if (is_show('bank_account_number'))
@lang('accounts.bank_account_number')
{{ isset($student_detail->bank_account_no) ? @$student_detail->bank_account_no : '' }}
@endif @if (is_show('bank_name'))
@lang('student.bank_name')
{{ isset($student_detail->bank_name) ? @$student_detail->bank_name : '' }}
@endif @if (is_show('ifsc_code'))
@lang('student.ifsc_code')
{{ isset($student_detail->ifsc_code) ? @$student_detail->ifsc_code : '' }}
@endif @if (is_show('custom_field')) {{-- Custom field start --}} @include('backEnd.customField._coutom_field_show') {{-- Custom field end --}} @endif