@auth @php($user = auth()->user()) @endauth

@yield('overline', 'ERP Console')

@yield('heading', 'Dashboard')

@auth
{{ $user->name }} @php($primaryRole = $user->roles()->orderBy('id')->first()) {{ $primaryRole?->name ?? ($user->role->value ?? '') }}
Profile Sign out @endauth