@extends('frontend.layouts.member_panel')
@section('panel_content')
@include('frontend.member.profile.basic_info')
@php
$present_address = \App\Models\Address::where('type','present')->where('user_id',$member->id)->first();
$present_country_id = $present_address->country_id ?? "";
$present_state_id = $present_address->state_id ?? "";
$present_city_id = $present_address->city_id ?? "";
$present_postal_code = $present_address->postal_code ?? "";
@endphp
@if(get_setting('member_present_address_section') == 'on')
@include('frontend.member.profile.present_address')
@endif
@if(get_setting('member_education_section') == 'on')
@include('frontend.member.profile.education.index')
@endif
@if(get_setting('member_career_section') == 'on')
@include('frontend.member.profile.career.index')
@endif
@if(get_setting('member_physical_attributes_section') == 'on')
@include('frontend.member.profile.physical_attributes')
@endif
@if(get_setting('member_language_section') == 'on')
@include('frontend.member.profile.language')
@endif
@if(get_setting('member_hobbies_and_interests_section') == 'on')
@include('frontend.member.profile.hobbies_interest')
@endif
@if(get_setting('member_personal_attitude_and_behavior_section') == 'on')
@include('frontend.member.profile.attitudes_behavior')
@endif
@if(get_setting('member_residency_information_section') == 'on')
@include('frontend.member.profile.residency_information')
@endif
@php
$member_religion_id = $member->spiritual_backgrounds->religion_id ?? "";
$member_caste_id = $member->spiritual_backgrounds->caste_id ?? "";
$member_sub_caste_id = $member->spiritual_backgrounds->sub_caste_id ?? "";
@endphp
@if(get_setting('member_spiritual_and_social_background_section') == 'on')
@include('frontend.member.profile.spiritual_backgrounds')
@endif
@if(get_setting('member_life_style_section') == 'on')
@include('frontend.member.profile.lifestyle')
@endif
@if(get_setting('member_astronomic_information_section') == 'on')
@include('frontend.member.profile.astronomic_information')
@endif
@php
$permanent_address = \App\Models\Address::where('type','permanent')->where('user_id',$member->id)->first();
$permanent_country_id = $permanent_address->country_id ?? "";
$permanent_state_id = $permanent_address->state_id ?? "";
$permanent_city_id = $permanent_address->city_id ?? "";
$permanent_postal_code = $permanent_address->postal_code ?? "";
@endphp
@if(get_setting('member_permanent_address_section') == 'on')
@include('frontend.member.profile.permanent_address')
@endif
@if(get_setting('member_family_information_section') == 'on')
@include('frontend.member.profile.family_information')
@endif
@php
$partner_religion_id = $member->partner_expectations->religion_id ?? "";
$partner_caste_id = $member->partner_expectations->caste_id ?? "";
$partner_sub_caste_id = $member->partner_expectations->sub_caste_id ?? "";
$partner_country_id = $member->partner_expectations->preferred_country_id ?? "";
$partner_state_id = $member->partner_expectations->preferred_state_id ?? "";
@endphp
@if(get_setting('member_partner_expectation_section') == 'on')
@include('frontend.member.profile.partner_expectation')
@endif
@if(get_setting('additional_profile_section') == 'on')
@include('frontend.member.profile.additional_attributes')
@endif
@endsection
@section('modal')
@include('modals.create_edit_modal')
@include('modals.delete_modal')
@endsection
@section('script')
@endsection