{{ Auth::user()->name }} @foreach ($roles as $role) {{ $loop->first ? '(' : '' }}{{ Str::replace('-', ' ', Str::title($role)) }}{{ !$loop->last ? ', ' : ')' }} @endforeach
{{ Auth::user()->name }}
{{ Str::replace('-', ' ', Str::title(Auth::user()->getRoleNames()->first())) }}