My Profile

{{-- Profile Header Card --}}
{{-- Pattern overlay --}}
@if($currentAvatar) {{ $name }} @else
{{ strtoupper(substr($name, 0, 1)) }}
@endif

{{ $name }}

{{ $email }}

{{ auth()->user()->role->label() }} @if(auth()->user()->email_verified_at) Verified @endif
{{-- Left Column: Forms --}}
{{-- Personal Information --}}

Personal Information

Update your personal details and contact information.

@if($profileMessage)
{{ $profileMessage }}
@endif
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror
@error('state')

{{ $message }}

@enderror
@error('city')

{{ $message }}

@enderror
@error('address')

{{ $message }}

@enderror
@error('bio')

{{ $message }}

@enderror
@if($avatar) Preview @elseif($currentAvatar) Current @else
@endif
Uploading...
@error('avatar')

{{ $message }}

@enderror
{{-- Change Password --}}

Change Password

Use a strong password with at least 8 characters.

@if($passwordMessage)
{{ $passwordMessage }}
@endif
@error('current_password')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror
{{-- Right Column: Sidebar --}}
{{-- Account Details --}}

Account Details

Member since {{ auth()->user()->created_at->format('M Y') }}
Role {{ auth()->user()->role->label() }}
Email verified @if(auth()->user()->email_verified_at) Yes @else No @endif
@if(auth()->user()->phone)
Phone {{ auth()->user()->phone }}
@endif
{{-- Merchant Status --}} @if(auth()->user()->merchantProfile)

Merchant Status

{{ auth()->user()->merchantProfile->business_name }}

@if(auth()->user()->merchantProfile->approved_at)

Approved {{ auth()->user()->merchantProfile->approved_at->format('M d, Y') }}

@endif @if(auth()->user()->merchantProfile->status->value === 'rejected')

{{ auth()->user()->merchantProfile->rejection_reason }}

@endif
@endif {{-- Danger Zone (non-admin only) --}} @unless(auth()->user()->isAdmin())

Danger Zone

Permanently delete your account and all associated data. This action cannot be undone.

{{-- Delete Confirmation Modal --}}

Delete your account

This is permanent and cannot be reversed. All your data will be removed.

@error('delete_password')

{{ $message }}

@enderror
@endunless