{{-- Logo {{ $sistemData->nama }} --}}
  • @if (auth()->user()->roles === 'karyawan') @if (auth()->user()->karyawan && auth()->user()->karyawan->foto) Profile @else Profile @endif @else {{-- Profile --}} @endif @if (auth()->user()->roles === 'super') {{ auth()->user()->super?->nama ?? 'Super Admin' }} @elseif (auth()->user()->roles === 'admin') {{ auth()->user()->admin?->nama ?? 'Admin' }} @elseif (auth()->user()->roles === 'karyawan') {{ auth()->user()->karyawan?->nama ?? 'Karyawan' }} @endif
    • @if (auth()->user()->roles === 'super')
      {{ auth()->user()->super?->nama ?? 'Super Admin' }}
      {{ ucfirst(auth()->user()->roles) }} @elseif (auth()->user()->roles === 'admin')
      {{ auth()->user()->admin?->nama ?? 'Admin' }}
      {{ ucfirst(auth()->user()->roles) }} @elseif (auth()->user()->roles === 'karyawan')
      {{ auth()->user()->karyawan?->nama ?? 'Karyawan' }}
      {{ ucfirst(auth()->user()->roles) }} @endif

    • Edit Profile

    • @csrf