@php $isCompany = Auth::check() && Auth::user()->hasRole('Company'); $isAdmin = Auth::check() && Auth::user()->hasRole('Admin'); $home = $isAdmin ? route('admin_dashboard') : ($isCompany ? route('wallet/dashboard') : url('/')); $initial = strtoupper(substr(Auth::user()->fname ?? 'A', 0, 1)); @endphp