@php $logo = $company && $company->logo_path && file_exists(public_path($company->logo_path)) ? asset($company->logo_path) : asset('assets/dashboard.jpg'); @endphp @if (auth()->check() && auth()->user()?->branch) {{ optional(auth()->user()?->branch)->getTranslation('name', app()->getLocale()) ?? '' }} @else @endif {{ app()->getLocale() }} @foreach (LaravelLocalization::getSupportedLocales() as $localeCode => $properties) @if ($localeCode !== app()->getLocale()) {{ $properties['name'] }} @endif @endforeach {{-- 4 Notification View all 30-04-2024Today Alice Goodwin Fashion should be fun. --}} {{-- --}} {{ auth()->user()->name ?? '' }} {{ auth()->user()->name ?? '' }} {{-- {{ __('dashboard.profile') }} --}} {{-- Admin --}} @if (auth('web')->check() && request()->routeIs('admin.*')) @csrf {{ __('messages.log_out') }} @endif {{-- Member --}} @if (auth('member')->check() && request()->routeIs('member.*')) @csrf {{ __('messages.log_out') }} @endif
Fashion should be fun.
{{ auth()->user()->name ?? '' }}