@php $user_detail = \App\Helpers\Helpers::getUserRole(); $userType = $user_detail->type_id ?? []; $userRoleName = $user_detail->role_name ?? []; $userTypeName = $user_detail->type_name ?? []; @endphp LPR @php $profile_image = auth()->user()->profileImage()->first(); $user = auth()->user(); @endphp {{ !empty($user->full_name) ? ucwords($user->full_name) : '-' }} ({{ !empty($userRoleName) ? ucwords($userRoleName) : (!empty($userTypeName) ? ucwords($userTypeName) : '-') }}) {{-- Profile Logout --}} {{-- notification --}} {{-- --}}