ACM System
@php $menuItems = [ ['route' => 'dashboard', 'icon' => 'fa-chart-line', 'label' => 'Dashboard'], ['route' => 'employees.index', 'icon' => 'fa-users', 'label' => 'Pegawai'], ['route' => 'access-catalogs.index', 'icon' => 'fa-key', 'label' => 'Katalog Akses'], ['route' => 'extensions.index', 'icon' => 'fa-clock', 'label' => 'Perpanjangan', 'badge' => \App\Models\ExtensionRequest::pending()->count()], ['route' => 'revocations.index', 'icon' => 'fa-ban', 'label' => 'Pencabutan'], ['route' => 'reminders.index', 'icon' => 'fa-bell', 'label' => 'Reminder'], ]; @endphp @foreach($menuItems as $item)
{{ $item['label'] }} @if(isset($item['badge']) && $item['badge'] > 0) {{ $item['badge'] }} @endif @if(request()->routeIs($item['route'] . '*')) @endif
@endforeach {{-- REPORT MENU WITH SUBMENU --}}
{{-- SUB MENU --}}
Pensiun Pencabutan Perpanjangan
{{ substr(auth()->user()->name, 0, 2) }}

{{ auth()->user()->name }}

{{ str_replace('_', ' ', auth()->user()->role) }}