@php $layout = $isMobile ? 'layouts.mobile' : 'layouts.desktop'; @endphp @extends($layout) @section('title', 'My Profile - Gletra') @section('content') @if($isMobile) @php $isComplete = $user->isProfileComplete(); $completion = $user->getProfileCompletionPercentage(); $hasDummyEmail = str_contains($user->email, '@gletra.com'); @endphp
My Profile
@include('customer.partials.avatar-upload', ['user' => $user, 'size' => 88, 'formId' => 'avatarForm'])
{{ $user->name }}
{{ $user->email }}
{{ $isComplete ? 'Verified Profile' : 'Complete your profile' }}
Profile completion {{ $completion }}%
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf
Personal Info
@if($hasDummyEmail) @else @endif
Security
@if(!$hasDummyEmail) @endif
Quick Links
Verification Checklist
Real name set
Personal email
Mobile verified
Profile photo
Delivery address
@else @php $isComplete = $user->isProfileComplete(); $completion = $user->getProfileCompletionPercentage(); $hasDummyEmail = str_contains($user->email, '@gletra.com'); @endphp
@include('customer.partials.sidebar')
{{-- Page Header --}}

My Profile

Update your personal information and account settings

{{ $isComplete ? 'Profile Complete' : 'Incomplete Profile' }}
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif {{-- Profile Form Card --}}
Personal Information

{{ $completion }}% profile completed

@include('customer.partials.avatar-upload', ['user' => $user, 'size' => 100, 'formId' => 'desktopAvatarForm', 'variant' => 'desktop'])
{{ $user->name }}

{{ $user->email }}

Profile completion {{ $completion }}%
@csrf
@if($hasDummyEmail) @else
{{ $user->email }}
@endif
{{-- Security Card --}}
Change Password

Leave blank if you don't want to change your password

@csrf
@if(!$hasDummyEmail)
@endif
{{-- Right Column --}}
{{-- Checklist --}}
Profile Checklist
Real name set
Your full name is added
Personal email
For account recovery
Mobile verified
Phone number confirmed
Profile photo
Upload your photo
Delivery address
At least one address saved
@if($isComplete)
Verified Member
@else
Complete all steps to get verified
@endif
{{-- Quick Links --}} {{-- Help --}}
Need Help?

Having trouble updating your profile? Contact our support team.

Contact Support
@endif @push('styles') @endpush @endsection