@section('title', __('User Details'))
@empty($selectedModel)
{{ __('No User Found') }}
@else

{{ __('User ID') }} #{{ $selectedModel->id }}

{{ $selectedModel->code }}

{{ $selectedModel->role_name }}

{{ __('Joined at') }} : {{ $selectedModel->created_at->format('d M Y h:i a') }}

@if (!empty($prevUserId)) @endif @if (!empty($nextUserId)) @endif
{{-- wallet and Loyalty points --}}
{{-- profile details --}}

{{ $selectedModel->name }}

@production

{{ $selectedModel->email }} | {{ $selectedModel->phone }}

@else

{{ \Str::padLeft('', Str::of($selectedModel->email ?? '')->length(), '*') }} | {{ \Str::padLeft('', Str::of($selectedModel->phone ?? '')->length(), '*') }}

@endproduction
{{-- wallet balance --}} {{-- loyalty point --}} @if ((bool) setting('finance.enableLoyalty', false)) @endif {{-- Orders --}} {{-- most expensive order --}} @if (!(bool) setting('finance.enableLoyalty', false)) @endif
{{--
--}} @if ($selectedModel->hasRole('driver')) @endif @if ($selectedModel->hasRole('driver')) @endif {{--
--}} @endempty