@section('title', __('dashboard::nav.profile')) @section('page-title', __('dashboard::nav.profile')) @section('page-description', __('dashboard::profile.page_description') ?? 'Manage your personal data and account settings'))
@if(session('success'))

{{ session('success') }}

@endif
{{ substr($user->name, 0, 1) }}

{{ $user->name }}

{{ $user->email }}

@switch($user->user_type) @case('admin') {{ __('dashboard::profile.user_types.admin') ?? 'System Admin' }} @break @case('super_admin') {{ __('dashboard::profile.user_types.super_admin') ?? 'Super Admin' }} @break @default {{ $user->user_type }} @endswitch

{{ __('dashboard::profile.sections.personal_info') ?? 'Personal Information' }}

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone_number')

{{ $message }}

@enderror

{{ __('dashboard::profile.sections.change_password') ?? 'Change Password' }}

@csrf @method('PUT')
@error('current_password')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror

{{ __('dashboard::profile.sections.account_info') ?? 'Account Information' }}

{{ $user->created_at->format('d/m/Y') }}

{{ $user->updated_at->format('d/m/Y H:i') }}

@if($user->user_type === 'super_admin') {{ __('dashboard::profile.permissions.all') ?? 'All Permissions' }} @else {{ __('dashboard::profile.permissions.system_admin') ?? 'System Management' }} @endif

{{ __('dashboard::status.active') }}