@extends('backEnd.master') @push('css') @if (moduleStatusCheck('University')) @endif @endpush @section('title') @lang('student.student_profile') @endsection @section('mainContent') @php $setting = generalSetting(); if (!empty($setting->currency_symbol)) { $currency = $setting->currency_symbol; } else { $currency = '$'; } @endphp

@lang('student.student_profile')

@if (is_show('photo')) @endif
@lang('student.student_name')
{{ $student_detail->first_name . ' ' . $student_detail->last_name }}
@if (is_show('admission_number'))
@lang('student.admission_no')
{{ $student_detail->admission_no }}
@endif @if (generalSetting()->multiple_roll == 0) @if (is_show('roll_number'))
@if (moduleStatusCheck('Lead') == true) @lang('student.id_number') @else @lang('student.roll_number') @endif
{{ $student_detail->roll_no }}
@endif @endif
@lang('student.class')
@if ($student_detail->defaultClass != '') {{ @$student_detail->defaultClass->class->class_name }} {{-- ({{@$academic_year->year}}) --}} @elseif ($student_detail->studentRecord != '') {{ @$student_detail->studentRecord->class->class_name }} @endif
@lang('student.section')
@if ($student_detail->defaultClass != '') {{ @$student_detail->defaultClass->section->section_name }} @elseif ($student_detail->studentRecord != '') {{ @$student_detail->studentRecord->section->section_name }} @endif
@if (is_show('gender'))
@lang('common.gender')
{{ @$student_detail->gender != '' ? @$student_detail->gender->base_setup_name : '' }}
@endif @if (moduleStatusCheck('BehaviourRecords'))
@lang('behaviourRecords.behaviour_records_point')
@php $totalBehaviourPoints = 0; foreach ($studentBehaviourRecords as $studentBehaviourRecord) { $totalBehaviourPoints += $studentBehaviourRecord->point; } @endphp {{ $totalBehaviourPoints }}
@endif

@lang('student.personal_info')

@if (is_show('admission_date'))
@lang('student.admission_date')
{{ @$student_detail->admission_date != '' ? dateConvert(@$student_detail->admission_date) : '' }}
@endif @if (is_show('date_of_birth'))
@lang('common.date_of_birth')
{{ @$student_detail->date_of_birth != '' ? dateConvert(@$student_detail->date_of_birth) : '' }}
@endif @if (is_show('student_category_id'))
@lang('common.type')
{{ @$student_detail->category->category_name }}
@endif @if (is_show('religion'))
@lang('student.religion')
@if (!empty($student_detail->religion)) {{ @$student_detail->religion->base_setup_name }} @endif
@endif @if (is_show('phone_number'))
@lang('common.phone_number')
{{ $student_detail->mobile }}
@endif @if (is_show('email_address'))
@lang('common.email_address')
{{ $student_detail->email }}
@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')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->fathers_name }} @endif
@endif @if (is_show('fathers_occupation'))
@lang('student.occupation')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->fathers_occupation }} @endif
@endif @if (is_show('fathers_phone'))
@lang('common.phone_number')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->fathers_mobile }} @endif
@endif
@if (is_show('mothers_photo'))
@endif
@lang('student.mother_name')
@if (is_show('mothers_name'))
@if (!empty($student_detail->parents)) {{ $student_detail->parents->mothers_name }} @endif
@endif
@lang('student.occupation')
@if (is_show('mothers_occupation'))
@if (!empty($student_detail->parents)) {{ $student_detail->parents->mothers_occupation }} @endif
@endif
@if (is_show('mothers_phone'))
@lang('common.phone_number')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->mothers_mobile }} @endif
@endif
@if (is_show('guardians_photo'))
@endif
@if (is_show('guardians_name'))
@lang('student.guardian_name')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->guardians_name }} @endif
@endif @if (is_show('guardians_email'))
@lang('common.email_address')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->guardians_email }} @endif
@endif @if (is_show('guardians_phone'))
@lang('common.phone_number')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->guardians_mobile }} @endif
@endif
@lang('student.relation_with_guardian')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->guardians_relation }} @endif
@if (is_show('guardians_occupation'))
@lang('student.occupation')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->guardians_occupation }} @endif
@endif @if (is_show('guardians_address'))
@lang('student.guardian_address')
@if (!empty($student_detail->parents)) {{ $student_detail->parents->guardians_address }} @endif
@endif
@if (isMenuAllowToShow('transport') || isMenuAllowToShow('dormitory'))

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

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

@lang('student.other_information')

@if (is_show('blood_group'))
@lang('student.blood_group')
{{ isset($student_detail->bloodgroup_id) ? @$student_detail->bloodGroup->base_setup_name : '' }}
@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_identification_number')
{{ isset($student_detail->national_id_no) ? $student_detail->national_id_no : '' }}
@endif @if (is_show('local_id_number'))
@lang('student.local_identification_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('accounts.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 {{-- Custom field start --}} @include('backEnd.customField._coutom_field_show') {{-- Custom field end --}}
@foreach ($records as $record) @endforeach
@php $diff = ''; @endphp @if (count($leave_details) > 0) @foreach ($leave_details as $value) @endforeach @else @endif
@lang('leave.leave_type') @lang('leave.leave_from') @lang('leave.leave_to') @lang('leave.apply_date') @lang('common.status') @lang('common.action')
{{ @$value->leaveType->type }} {{ $value->leave_from != '' ? dateConvert($value->leave_from) : '' }} {{ $value->leave_to != '' ? dateConvert($value->leave_to) : '' }} {{ $value->apply_date != '' ? dateConvert($value->apply_date) : '' }} @if ($value->approve_status == 'P') @endif @if ($value->approve_status == 'A') @endif @if ($value->approve_status == 'C') @endif
@lang('leave.not_leaves_data')
@if (moduleStatusCheck('University')) @includeIf('university::exam.student_exam_tab') @else @foreach ($student_detail->studentRecords as $record) @php $today = date('Y-m-d H:i:s'); $exam_count= count($exam_terms); @endphp @if($exam_count < 1) @endif @endforeach @endif
@if (moduleStatusCheck('University'))
@includeIf('university::exam.partials._examTabView')
@endif
@if (is_show('document_file_1')) @if ($student_detail->document_file_1 != '') @endif @endif @if (is_show('document_file_2')) @if ($student_detail->document_file_2 != '') @endif @endif @if (is_show('document_file_3')) @if ($student_detail->document_file_3 != '') @endif @endif @if (is_show('document_file_4')) @if ($student_detail->document_file_4 != '') @endif @endif @foreach ($documents as $document) @endforeach
@lang('student.document_title') @lang('common.name') @lang('common.action')
{{ $student_detail->document_title_1 }} {{ showDocument(@$student_detail->document_file_1) }} {{-- @if (userPermission(17)) --}} {{-- @endif --}}
{{ $student_detail->document_title_2 }} {{ showDocument(@$student_detail->document_file_2) }} {{-- @if (userPermission(17)) --}} {{-- @endif --}}
{{ $student_detail->document_title_3 }} {{ showDocument(@$student_detail->document_file_3) }} {{-- @if (userPermission(17)) --}} {{-- @endif --}}
{{ $student_detail->document_title_4 }} {{ showDocument(@$student_detail->document_file_4) }} {{-- @if (userPermission(17)) --}} {{-- @endif --}}
{{ @$document->title }} {{ showDocument(@$document->file) }} {{-- @if (userPermission(17)) --}} @lang('common.download') {{-- @endif --}}
@foreach ($student_detail->studentRecords as $record) @endforeach
@lang('common.class') @lang('common.section') @lang('student.id_number')
{{ $record->class->class_name }} @if ($record->is_default) {{ __('common.default') }} @endif {{ $record->section->section_name }} {{ $record->roll_no }}
@include('backEnd.parentPanel.inc._student_attendance_tab') @include('backEnd.parentPanel.inc._subject_attendance_tab') @if (moduleStatusCheck('BehaviourRecords')) @include('backEnd.studentInformation.inc._student_behaviour_record_tab') @endif @if (moduleStatusCheck('Wallet'))
@include( 'wallet::_addWallet', compact('walletAmounts', 'bankAccounts', 'paymentMethods'))
@endif
@endsection {{-- @include('backEnd.partials.data_table_js') --}} @include('backEnd.partials.date_picker_css_js')