Search (Ctrl+/)
  • {{ $notifikasi_ajuan_absen + auth()->user()->unreadNotifications->where('type', '!=', 'App\Notifications\PengumumanNotification')->count() }}
    • Notification
      • @foreach (auth()->user()->unreadNotifications->where('type', '!=', 'App\Notifications\PengumumanNotification') as $notification)
      • {{ $notification->data['title'] ?? 'Notification' }}

        {{ $notification->data['message'] ?? '' }}

        {{ $notification->created_at->diffForHumans() }}
      • @endforeach @php $bgcolor = ''; @endphp @foreach ($data_izin as $d) @php $link = '#'; if ($d->status == 'i') { $keterangan = 'Izin Absen'; $bgcolor = 'info'; $link = route('izinabsen.index'); } elseif ($d->status == 's') { $keterangan = 'Izin Sakit'; $bgcolor = 'warning'; $link = route('izinsakit.index'); } elseif ($d->status == 'c') { $keterangan = 'Izin Cuti'; $bgcolor = 'success'; $link = route('izincuti.index'); } elseif ($d->status == 'd') { $keterangan = 'Izin Dinas'; $bgcolor = 'primary'; $link = route('izindinas.index'); } @endphp
      • {{ textUpperCase($d->status) }}
        {{ $d->nama_karyawan }}

        Mengajukan {{ $keterangan }}

        {{ \Carbon\Carbon::parse($d->created_at)->diffForHumans() }}
      • @endforeach
    • View all notifications
    • {{ Auth::user()->name }} Admin
    • {{--
    • My Profile
    • --}}
    • @csrf