@extends('frontend.layouts.app')
@section('title', 'My Account')
@section('content')
No More Photos Available First Name: Last Name: Subscription Status : Profile Created by : Email : Mobile no : Gender : Age : Marital Status : Height : Weight : Blood Group : Looking For : Social Media : Visa Status : State/Province : City : Hometown : Willing to relocate : Country of Residence : Metro Area : ZIP / Postal Code : Maharashtra Mandal : Smoke? : Drink? : Diet : Willing to relocate? : {!! $profile->about_myself ?? 'N/A' !!} Education : Education Details: Job Category : Job Title : Job Specification : Job Location : Father's Name : Father's Occupation : Father's Age : Mother's Name : Mother's Occupation : Mother's Age :
{{ $family->sibling_info ?? 'N/A' }}
{{ $family->additional_info ?? 'N/A' }}
Age : Education : Job : Marital StatusĀ : Smoke? : Blood Group : Height : Address Preferences : Hobbies : Diet : Others : Willing to relocate : Drink? : Visa Preferences : Visa Preferences 3 : Hide Profile From : Visa Preferences 2 : Visa Preferences 4 : Country of Residence : City : ZIP / Postal Code : State/Province : Metro Area : Membership Status: Registration Date: Next Renewal On: Today's Date:
@else
@endif
@foreach ($profilePhotos as $index => $photo)
@php
$fullName = optional($user)->name ?? 'N/A';
$nameParts = explode(' ', $fullName, 2);
$firstName = $nameParts[0] ?? 'N/A';
$lastName = $nameParts[1] ?? 'N/A';
@endphp
{{ $firstName }}
{{ $lastName }}
{{ $userMembership->status ?? 'Not Applied' }}
{{ $profile->profile_created_by ?? 'N/A' }}
{{ $user->email ?? 'N/A' }}
{{ $profile->mobile_no ?? 'N/A' }}
{{ $profile->gender ?? 'N/A' }}
{{ $profile && $profile->age ? $profile->age . ' Yrs' : 'N/A' }}
{{ $profile->marital_status ?? 'N/A' }}
{{ $profile->height ?? 'N/A' }}
{{ $profile->weight ?? 'N/A' }}
{{ $profile->blood_group ?? 'N/A' }}
{{ $profile->looking_for ?? 'N/A' }}
@if (!empty($profile->social_media_links))
@php
$socialMediaLinks = json_decode($profile->social_media_links, true); // Decode JSON to array
@endphp
@if (is_array($socialMediaLinks))
@foreach ($socialMediaLinks as $link)
{{ $link }}
@if (!$loop->last)
,
@endif
@endforeach
@else
N/A
@endif
@else
N/A
@endif
Personal Details
{{ $visa->status ?? 'N/A' }}
{{ $states[$visa->state ?? null] ?? 'N/A' }}
{{ $cities[$visa->city ?? null] ?? 'N/A' }}
{{ $profile->hometown ?? 'N/A' }}
@if ($profile && is_null($profile->relocate))
Not specified
@elseif ($profile)
@if ($profile->relocate == '0')
Yes
@elseif ($profile->relocate == '1')
No
@elseif ($profile->relocate == '2')
Don't care
@else
Not specified
@endif
@else
Not available
@endif
{{ $countries[$visa->country ?? null] ?? 'N/A' }}
{{ $metro_area[$visa->metro_area ?? null] ?? 'N/A' }}
{{ $visa->zip_postal_code ?? 'N/A' }}
{{ $profile->mandal ?? 'N/A' }}
Lifestyle Information
@if (isset($profile))
{{ $profile->smoke === null ? 'Not specified' : ($profile->smoke == '0' ? 'Yes' : 'No') }}
@else
Not specified
@endif
@if (isset($profile))
{{ $profile->drink === null ? 'Not specified' : ($profile->drink == '0' ? 'Yes' : 'No') }}
@else
Not specified
@endif
{{ $profile->diet ?? 'N/A' }}
@php
$relocate = optional($partnerPreference)->relocate;
@endphp
@if ($relocate !== null)
@if ($relocate == '0')
Yes
@elseif ($relocate == '1')
No
@elseif ($relocate == '2')
Don't care
@else
N/A
@endif
@else
N/A
@endif
About Myself
Education Details
{{ $profile->education ?? 'N/A' }}
{{ $profile->education_details ?? 'N/A' }}
Job Details
{{ $profile->job_category ?? 'N/A' }}
{{ $profile->job_title ?? 'N/A' }}
{{--
{{ $profile->job_specification ?? 'N/A' }}
{{ $profile->job_location ?? 'N/A' }}
Father's Details
{{ $family->father_name ?? 'N/A' }}
{{ $family->father_occupation ?? 'N/A' }}
{{ $family->father_age ?? 'N/A' }}
Mother's Details
{{ $family->mother_name ?? 'N/A' }}
{{ $family->mother_occupation ?? 'N/A' }}
{{ $family->mother_age ?? 'N/A' }}
Siblings Information:
Family Information:
Partner Preferences
@if (($partnerPreference->min_age ?? -1) == -1 && ($partnerPreference->max_age ?? -1) == -1)
Any
@else
{{ ($partnerPreference->min_age ?? 'N/A') . ' - ' . ($partnerPreference->max_age ?? 'N/A') }}
@endif
{{ $partnerPreference->education ?? 'N/A' }}
{{ $partnerPreference->job ?? 'N/A' }}
{{ $partnerPreference->marital_status ?? 'N/A' }}
@if ($partnerPreference && is_null($partnerPreference->smoke))
Not specified
@elseif ($partnerPreference)
@if ($partnerPreference->smoke == '0')
Yes
@elseif ($partnerPreference->smoke == '1')
No
@elseif ($partnerPreference->smoke == '2')
Don't care
@else
Not specified
@endif
@else
Not available
@endif
{{--
{{ $partnerPreference->blood_group ?? 'N/A' }}
@if (($partnerPreference->min_height ?? -1) == -1 && ($partnerPreference->max_height ?? -1) == -1)
Any
@else
{{ ($partnerPreference->min_height ?? 'N/A') . ' - ' . ($partnerPreference->max_height ?? 'N/A') }}
@endif
@if ($partnerPreference)
{{ collect([
$partnerPreference->address_preference_1,
$partnerPreference->address_preference_2,
$partnerPreference->address_preference_3,
$partnerPreference->address_preference_4,
])->filter()->implode(', ') ?:
'N/A' }}
@else
N/A
@endif
{{ $partnerPreference->hobbies ?? 'N/A' }}
{{ $partnerPreference->diet ?? 'N/A' }}
{{ $partnerPreference->others ?? 'N/A' }}
@if ($partnerPreference && is_null($partnerPreference->relocate))
Not specified
@elseif ($partnerPreference)
@if ($partnerPreference->relocate == '0')
Yes
@elseif ($partnerPreference->relocate == '1')
No
@elseif ($partnerPreference->relocate == '2')
Don't care
@else
Not specified
@endif
@else
Not available
@endif
@if ($partnerPreference && is_null($partnerPreference->drink))
Not specified
@elseif ($partnerPreference)
@if ($partnerPreference->drink == '0')
Yes
@elseif ($partnerPreference->drink == '1')
No
@elseif ($partnerPreference->drink == '2')
Don't care
@else
Not specified
@endif
@else
Not available
@endif
Partner's Visa Preferences
{{ $partnerVisaPreference->visa_preference_1 ?? 'N/A' }}
{{ $partnerVisaPreference->visa_preference_3 ?? 'N/A' }}
{{ $partnerVisaPreference->hide_profile_from ?? 'N/A' }}
{{ $partnerVisaPreference->visa_preference_2 ?? 'N/A' }}
{{ $partnerVisaPreference->visa_preference_4 ?? 'N/A' }}
Partner's Job Preferences
{{ $countries[$partnerVisaPreference->country ?? null] ?? 'N/A' }}
{{ $cities[$partnerVisaPreference->city ?? null] ?? 'N/A' }}
{{ $partnerVisaPreference->zip_postal_code ?? 'N/A' }}
{{ $states[$partnerVisaPreference->state ?? null] ?? 'N/A' }}
{{ $metro_area[$partnerVisaPreference->metro_area ?? null] ?? 'N/A' }}
Membership Details
{{ optional($userMembership)->registration_date ? \Carbon\Carbon::parse(optional($userMembership)->registration_date)->format('jS F Y') : 'N/A' }}
{{ optional($userMembership)->renewal_date ? \Carbon\Carbon::parse(optional($userMembership)->renewal_date)->format('jS F Y') : 'N/A' }}
{{ now()->format('jS F Y') }}
Password & Security
{{--
@foreach ($interest_sender as $interest)
Person Name
Status
Message
Date & Time
Profile
@endforeach
{{ $interest->interest_receiver->name ?? 'N/A' }}
@php
$badgeClass = '';
$badgeText = ucfirst($interest->status);
switch ($interest->status) {
case 'pending':
$badgeClass =
'bg-[#FFECD6] w-[95px] text-xs text-center p-1 px-3 text-[#CA7718] rounded-sm capitalize';
break;
case 'rejected':
$badgeClass =
'bg-[#FFEFEF] w-[95px] text-xs text-center p-1 px-3 text-[#FF0000] rounded-sm capitalize';
$badgeText = 'User has been notified of your interest';
break;
case 'ignored':
$badgeClass =
'bg-[#FFECD6] w-[95px] text-xs text-center p-1 px-3 text-[#CA7718] rounded-sm capitalize';
$badgeText = 'User has been notified of your interest';
break;
case 'accepted':
$badgeClass =
'bg-[#D6FFDD] w-[95px] text-xs text-center p-1 px-3 text-[#18942F] rounded-sm capitalize';
break;
default:
$badgeClass =
'bg-gray-200 w-[95px] text-xs text-center p-1 px-3 text-gray-600 rounded-sm capitalize';
$badgeText = 'Unknown';
break;
}
@endphp
{{ $badgeText }}
@if (strlen($interest->message) > 20)
{{ Str::limit($interest->message, 20) }}
@else
{{ $interest->message }}
@endif
{{ $interest->created_at->format('Y-m-d H:i:s') }}
View
Profile
@foreach ($interest_receiver as $interest)
Person Name
Status
Message
Date & Time
Profile
@endforeach
{{ $interest->interest_sender->name ?? 'N/A' }}
@if ($interest->status === 'pending')
@if (strlen($interest->message) > 20)
{{ Str::limit($interest->message, 20) }}
@else
{{ $interest->message }}
@endif
{{ $interest->created_at->format('Y-m-d H:i:s') }}
View
Profile
@foreach ($favourites as $value)
User Name
Date & Time
Profile
Action
@endforeach
{{ $value->favouritedUser->name ?? 'N/A' }}
{{ $value->created_at->format('Y-m-d H:i:s') }}
View
Profile
Kindly complete the payment before moving to the next step.
@elseif($paymentStatus === 'Expired')Kindly renew the plan before moving to the next step.
@endif @elseKindly complete the profile before moving to the next step.
Complete Profile @endif