@php $locale = \Illuminate\Support\Facades\App::getLocale(); $authUser = auth('admin')->user(); $authEmployee = auth()->user(); @endphp {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Attendance Application --}} {{-- --}} {{-- --}} @if($locale == 'fr') Français @elseif($locale == 'de') Deutsch @elseif($locale == 'pt') Português @elseif($locale == 'es') Española @elseif($locale == 'hi') हिंदी @elseif($locale == 'ru') русский @elseif($locale == 'ar') عربي @elseif($locale == 'fa') فارسی @elseif($locale == 'ne') नेपाली @else English @endif English Français Deutsch Português Española हिंदी русский नेपाली" عربي فارسی @can('notification') {{-- --}} {{-- Create Notification --}} {{-- --}} {{ __('index.latest_notifications') }} {{ __('index.view_all') }} @endcan {{ ucfirst($authUser->name ?? $authEmployee->name) }} {{ $authUser->email ?? $authEmployee->email }} {{ __('index.profile') }} @if( isset($authEmployee)) @can('request_leave') {{ __('index.request_leave') }} @endcan @endif @can('app_qr') App QR @endcan {{ __('index.log_out') }} @csrf
{{ ucfirst($authUser->name ?? $authEmployee->name) }}
{{ $authUser->email ?? $authEmployee->email }}