Hai, Selamat @php $roles = Auth::user()->getRoleNames()->toArray(); @endphp

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

  • @livewire('admin.notification.header.notification-header-index')
  • {{ Auth::user()->name }}
    • {{ Auth::user()->name }}

      {{ Auth::user()->name }}

      {{ Str::replace('-', ' ', Str::title(Auth::user()->getRoleNames()->first())) }}
    • Profil Saya
    • Pengaturan
    • Keluar