SiPakarTebu
Dashboard
Diagnosa
Riwayat
Kamus
Profil
@if(auth()->user()->role === 'admin')
Users
@endif
@csrf
Logout
@yield('page-title')
@php $unreadCount = auth()->user()->notifications()->where('is_read', false)->count(); @endphp @if($unreadCount > 0)
{{ $unreadCount > 9 ? '9+' : $unreadCount }}
@endif
@if(auth()->user()->photo)
@else
{{ strtoupper(substr(auth()->user()->name, 0, 1)) }}
@endif
@yield('content')
@stack('scripts')