@extends('layouts.mobile') @section('title', 'My Account - Gletra') @push('styles') @endpush @section('content')
My Account

{{ $user->name ?? 'Welcome, Guest' }}

@auth {{ $user->email }} @if($user->mobile) ·{{ $user->mobile }} @if($user->mobile_verified) Verified @endif @endif @else Login to access orders, wallet & support @endauth
@auth @if($user->referral_code && $user->role === 'customer')
Referral: {{ $user->referral_code }}
@endif Edit Profile @endauth
@auth
Profile {{ $stats['profile_completion'] ?? 0 }}% complete @if(($stats['profile_completion'] ?? 0) < 100) Complete now @endif
@endauth
@auth
{{ $stats['orders'] }}
Orders
₹{{ number_format($stats['wallet'], 0) }}
{{ $user->role === 'customer' ? 'Wallet' : 'Earnings' }}
{{ $stats['wishlist'] }}
Wishlist
{{ $unreadNotifications }}
Alerts
@endauth @foreach($menuSections as $section) @endforeach @auth @if($user->role === 'customer' && $user->referral_code)
Refer & Earn
Share your link and earn rewards when friends join Gletra.
@endif @endauth
G
Install Gletra App
@auth
@include('partials.dashboard-advice-panel')
@endauth
@endsection @push('scripts') @endpush