@foreach([
['route' => 'dashboard', 'label' => 'Dashboard'],
['route' => 'transaksi.index', 'label' => 'Transaction'],
['route' => 'budgeting.index', 'label' => 'Budgeting'],
['route' => 'finance-goals.index', 'label' => 'Goals'],
['route' => 'transaksi.laporan', 'label' => 'Laporan'],
] as $item)
{{ $item['label'] }}
@if(request()->routeIs($item['route'].'*'))
@endif
@endforeach
@php
$unreadCount = Auth::user()->notifications()->where('is_read', false)->count();
$notifications = Auth::user()->notifications()->orderBy('created_at', 'desc')->take(5)->get();
@endphp
{{ substr(Auth::user()->name, 0, 1) }}
{{ Auth::user()->name }}