@include('admin.members.edit.introduction')
@php
$present_address = \App\Models\Address::where('type','present')->where('user_id',$member->id)->first();
$present_street_address = $present_address->address ?? "";
$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
@include('admin.members.edit.present_address')
@php
$permanent_address = \App\Models\Address::where('type','permanent')->where('user_id',$member->id)->first();
$permanent_street_address = $permanent_address->address ?? "";
$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
@include('admin.members.edit.permanent_address')
@include('admin.members.edit.education')
@include('admin.members.edit.career')
@include('admin.members.edit.physical_attributes')
@include('admin.members.edit.language')
@include('admin.members.edit.hobbies_interest')
@include('admin.members.edit.attitudes_behavior')
@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
@include('admin.members.edit.spiritual_backgrounds')
@include('admin.members.edit.lifestyle')
@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
@include('admin.members.edit.partner_expectation')