@extends('user.layouts.app') @section('content')

My Profile

Manage your personal information and preferences.

Edit Profile
@if(session('success'))
{{ session('success') }}
@endif
@if($user->avatar) @else
{{ substr($user->name, 0, 1) }}
@endif

{{ $user->name }}

{{ $user->email }}

User Account

Activity

Joined {{ $user->created_at->format('M d, Y') }}

Basic Information

Full Name
{{ $user->name }}
Mobile
{{ $user->mobile }}
Email
{{ $user->email }}
Gender
{{ $user->detail->gender ?? '-' }}
Marital Status
{{ $user->detail->marital_status ?? '-' }}
Occupation
{{ $user->detail->occupation ?? '-' }}
@if(($user->detail->marital_status ?? '') === 'Married')
Spouse Name
{{ $user->detail->spouse_name ?? '-' }}
Spouse DOB
{{ $user->detail->spouse_dob ?? '-' }}
@endif
@if(!empty($user->detail->about_me))
About Me

{{ $user->detail->about_me }}

@endif

Birth & Location

Date of Birth
{{ $user->detail->dob ?? '-' }}
Time of Birth
{{ $user->detail->tob ? \Carbon\Carbon::parse($user->detail->tob)->format('h:i A') : '-' }}
Place of Birth
{{ $user->detail->pob ?? '-' }}
Location
{{ $user->detail->city ?? '' }} @if($user->detail->state), {{ $user->detail->state->name }}@endif @if($user->detail->country), {{ $user->detail->country->name }}@endif
Pincode
{{ $user->detail->pincode ?? '-' }}
Current Address
{{ $user->detail->current_address ?? '-' }}

Family Details

Paternal

Father Name
{{ $user->detail->parental_father_name ?? '-' }}
Mother Name
{{ $user->detail->parental_mother_name ?? '-' }}

Maternal

Father Name
{{ $user->detail->maternal_father_name ?? '-' }}
Mother Name
{{ $user->detail->maternal_mother_name ?? '-' }}
@endsection