@extends('frontend.user.setting.index') @section('title', __('Profile Settings')) @section('user_setting_actions') @endsection @section('user_setting_content') @php use App\Enums\Gender; use App\Enums\UserRole; $isEmailVerified = ! is_null($user->email_verified_at); $isPhoneVerified = $user->hasVerifiedPhone(); @endphp {{-- Email verification notice --}} @unless($isEmailVerified) @endunless
@csrf {{-- Personal information --}}
{{ __('Personal Information') }}

{{ __('This information is displayed on your profile and identity documents.') }}

{{-- Contact details --}}
{{ __('Contact Details') }}

{{ __('Used to notify you about account activity and verification updates.') }}

{{-- Business information (merchants only) --}} @if($user->role === UserRole::MERCHANT)
{{ __('Business Information') }}

{{ __('Shown to customers on payment pages and receipts.') }}

{{ __('Merchant') }}
@endif {{-- Preferences --}} @if(isset($currencies) && $currencies->count() > 0)
{{ __('Preferences') }}

{{ __('Configure the default currency for your wallet and transactions.') }}

@endif {{-- Address --}}
{{ __('Address') }}

{{ __('Your country is locked based on registration; update state, city and street address anytime.') }}

@endsection