@extends('admin.layouts.master') @section('title') {{ translate('Members - Detail') }} @endsection @section('content')
{{ translate('Overview') }}
@csrf
@csrf
Profile Image
@foreach ($images as $image)
@endforeach

{{ translate('Basic Information') }}

{{-- --}} {{-- --}} @if ($children) @else @endif @if($cast) @else @endif @if($subcast) @else @endif
{{ translate('Username') }} {{ $user->user_name }}
{{ translate('Frist Name') }} {{ $user->first_name }} {{ translate('Last Name') }} {{ $user->last_name }}
{{ translate('Email') }} {{ $user->email }}Password {{ $user->password }}
{{ translate('Origin') }} {{ $originName }} @if($user->Origin) {{$user->Origin->name}} @else N/A @endif {{ translate('Gender') }} {{ $user->gender }}
{{ translate('Date Of Birth') }} {{ formatDate($user->dob) }} {{ translate('Age') }} {{ $user->age }}
{{ translate('Religion') }} {{ $religionName }} {{ translate('Relation Status') }} {{ $relationName }}
{{ translate('Am Looking for') }} {{ $amLookingName }} {{ translate('Childrens') }}{{ $children->name }}N/A
Cast{{ $cast->name }}N/ASub cast{{ $subcast->name }}N/A
{{ translate('Short Description') }} {{ $user->short_description }}
{{ translate('Block status') }} {{ $user->block == 0 ? 'Blocked' : 'Unblocked' }}
{{-- Living --}}

{{ translate('Living') }}

{{ translate('Country') }} @if($userDetails && $userDetails->country_id) {{ $countryName}} @else N/A @endif {{ translate('State') }} @if($userDetails && $userDetails->state_id) {{ $stateName }} @else N/A @endif
{{ translate('City') }} @if($userDetails && $userDetails->city_id) {{ $cityName }} @else N/A @endif
{{-- end sample --}} {{-- About Me --}}

{{ translate('About Me') }}

{{ translate('Length') }} @if($userDetails && $userDetails->length_id) {{ $lengthName }} @else N/A @endif
{{ translate('Eye Color') }} @if($userDetails && $userDetails->eye_color_id) {{ $eyeColorName }} @else N/A @endif {{ translate('Hair Color') }} @if($userDetails && $userDetails->hair_color_id) {{ $hairColorName}} @else N/A @endif
{{ translate('Body Type') }} @if($userDetails && $userDetails->body_type_id) {{ $bodyTypeName }} @else N/A @endif {{ translate('Weight') }} @if($userDetails && $userDetails->weight) {{ $userDetails->weight }} @else N/A @endif
{{ translate('Appearance') }} @if($userDetails && $userDetails->appearance_id) {{ $appearanceName}} @else N/A @endif {{ translate('Clothing Styles') }} @if($userDetails && $userDetails->clothing_style_id) {{ $clothingName }} @else N/A @endif
{{ translate('Intelligence') }} @if($userDetails && $userDetails->intelligence_id) {{ $intelligenceName }} @else N/A @endif {{ translate('Languages') }} @if($userDetails && $userDetails->languages) {{ $languageName }} @else N/A @endif
{{-- end sample --}}

{{ translate('Education') }}

{{-- --}}
{{ translate('Diploma') }} @if($userDetails && $userDetails->diploma_id) {{ $diplomaName}} @else N/A @endif
Degree Institution Start End Status
data placeholder data placeholder data placeholder data placeholder data placeholder

{{ translate('Career') }}

{{-- --}}
{{ translate('Career') }} @if($userDetails && $userDetails->working_sector_id) {{ $workingName}} @else N/A @endif
Designation Company Start End Status
data placeholder data placeholder data placeholder data placeholder data placeholder

{{ translate('Language') }}

{{ translate('Mother Tangue') }} @if($userDetails && $userDetails->mother_tongue_id) {{ $motherTongueName}} @else N/A @endif {{ translate('Known Languages') }} @if($userDetails && $userDetails->known_languages) {{ $knownLanguageName }} @else N/A @endif
{{--

Physical Attributes

Height data placeholder Weight data placeholder
Eye Color data placeholder Hair Color data placeholder
Complexion data placeholder Blood Group data placeholder
Body Type data placeholder Body Art data placeholder
Disability data placeholder
--}}

{{ translate('Hobbies & Interest') }}

{{ translate('Sports') }} @if($userDetails && $userDetails->sports) {{ $sportName }} @else N/A @endif {{ translate('Music') }} @if($userDetails && $userDetails->music) {{ $musicName }} @else N/A @endif
{{ translate('Kitchen') }} @if($userDetails && $userDetails->kitchen) {{ $kitchenName}} @else N/A @endif {{ translate('Reading') }} @if($userDetails && $userDetails->reading) {{ $readingName }} @else N/A @endif
{{ translate('TV Shows') }} @if($userDetails && $userDetails->tv_shows) {{ $tvShowName }} @else N/A @endif

{{ translate('Personal Attitude & Behavior') }}

{{ translate('Personal Attitude') }} @if($userDetails && $userDetails->personal_attitude) @php // Convert the comma-separated string into an array $attitudeArray = explode(',', $userDetails->personal_attitude); $attitudeNames = []; // Initialize an array to store the attitude names @endphp @foreach ($attitudeArray as $attitudeId) @php // Fetch the attitude name based on the ID $personalAttitude = App\Models\ProfileAttributeMeta::find($attitudeId); if ($personalAttitude) { $attitudeNames[] = $personalAttitude->name; // Add each attitude name to the array } @endphp @endforeach {{ implode(', ', $attitudeNames) }} @else N/A @endif
{{--

Residency Information

Birth Country data placeholder Residency Country data placeholder
Grow Up Country data placeholder Immigration Status data placeholder
--}} {{--

Spiritual & Social Background

Religion data placeholder Caste data placeholder
Sub Caste data placeholder Ethnicity data placeholder
Personal Value data placeholder Family Value data placeholder
Community Value data placeholder
--}}

{{ translate('Life Style') }}

{{ translate('Smoke') }} {{-- @php dd($userDetails); @endphp --}} @if($userDetails && $userDetails->smoke) {{ $userDetails->smoke }} @else N/A @endif {{ translate('Drinking') }} @if($userDetails && $userDetails->drinking) {{ $userDetails->drinking }} @else N/A @endif
{{ translate('Going Out') }} @if($userDetails && $userDetails->going_out) {{ $userDetails->going_out }} @else N/A @endif
{{--

Astronomic Information

Sun Sign data placeholder Moon Sign data placeholder
Time Of Birth data placeholder Time Of Birth data placeholder
--}} {{--

Permanent Address

City data placeholder State data placeholder
Country data placeholder Postal Code data placeholder
--}} {{--

Family Information

Father data placeholder Mother data placeholder
Sibling data placeholder
--}}

{{ translate('Partner Expectation') }}

{{-- --}} {{-- --}}
{{ translate('Origin') }} @if($userPartner && $userPartner->origin_id) {{ $originsName }} @else N/A @endif {{ translate('Am Looking for') }} @if($userPartner && $userPartner->am_looking_for_id) {{ $amLookingForsName }} @else N/A @endif
{{ translate('Length') }} @if($userPartner && $userPartner->lengthe_id) {{ $lengthsName }} @else N/A @endif {{ translate('Weight') }} @if($userPartner && $userPartner->weight) {{ $userPartner->weight }} @else N/A @endif
{{ translate('Religion') }} @if($userPartner && $userPartner->religion_id) {{ $religionsName }} @else N/A @endif {{ translate('Relation Status') }} @if($userPartner && $userPartner->relation_status_id) {{ $relationsName }} @else N/A @endif
{{ translate('Education') }} @if($userPartner && $userPartner->education_id) {{ $educationsName }} @else N/A @endif {{ translate('Smoke') }} @if($userPartner && $userPartner->smoke !== null) @if($userPartner->smoke == 1) Yes @elseif($userPartner->smoke == 0) No @else N/A @endif @else N/A @endif
{{ translate('Drinking') }} @if($userPartner && $userPartner->drinking !== null) @if($userPartner->drinking == 1) Yes @elseif($userPartner->drinking == 0) No @else N/A @endif @else N/A @endif {{ translate('Going Out') }} @if($userPartner && $userPartner->going_out !== null) @if($userPartner->going_out == 1) Yes @elseif($userPartner->going_out == 0) No @else N/A @endif @else N/A @endif
{{ translate('Range Age:') }}
{{ translate('From Age') }} @if($userPartner && $userPartner->from_age) {{ $userPartner->from_age }} @else N/A @endif {{ translate('To Age') }} @if($userPartner && $userPartner->to_age) {{ $userPartner->to_age }} @else N/A @endif
{{ translate('Childeren') }} @if($userPartner && $userPartner->childeren_id) {{ $childerensName }} @else N/A @endif {{ translate('Country') }} @if($userPartner && $userPartner->country_id) {{ $countryNames }} @else N/A @endif
{{ translate('State') }} @if($userPartner && $userPartner->state_id) {{ $stateNames }} @else N/A @endif {{ translate('City') }} @if($userPartner && $userPartner->city_id) {{ $cityNames }} @else N/A @endif Drinking Acceptable data placeholder
Diet data placeholder Body Type data placeholder
Personal Value data placeholder Manglik data placeholder
Preferred Country data placeholder Preferred State ID data placeholder
Family Value data placeholder Complexion data placeholder
@endsection @section('scripts') @endsection