@extends('merchant.templates.layout') @section('head') @endsection @section('content')

My Profile

{{-- ============================================================ LEFT: Forms ============================================================ --}}
{{-- Profile Information --}}
Profile Information
@csrf
Change via OTP verification in the app.
Change via OTP verification in the app.
{{-- Change Password --}}
Change Password
@csrf
{{-- ============================================================ RIGHT: Logo + Account meta (mirrors API UserResource) ============================================================ --}}
{{-- Logo --}}
Company Logo
@if($user->profileImage) @else
@endif
@csrf
@if($user->profileImage)
@csrf
@endif
{{-- Account Meta (fields from API UserResource that aren't editable here) --}}
Account
User Code
{{ $user->user_code ?: '—' }}
Role
{{ config('global.user_roles')[ROLE_MERCHANT] ?? 'Merchant' }}
Phone Verified
@if($user->phone_verified) Verified @else Not verified @endif
Status
{!! account_status_badge($user->status) !!}
Registered
{{ web_date_in_timezone($user->created_at, 'M d, Y') }}
@endsection @section('script') @endsection