Aparri School of Arts and Trades
ASAT

Aparri School of Arts and Trades

@auth @if(auth()->user()->hasRole('admin')) Dashboard Applications Courses Users Clearance Reports {{-- Admin Dropdown for Secondary Tools --}} @elseif(auth()->user()->hasRole('registrar')) Dashboard Applications Records Vault Clearance {{-- Registrar Dropdown for Secondary Tools --}} Reports LIS Export @elseif(auth()->user()->hasRole('student')) Dashboard My Applications Early Registration Profile Clearance Notifications @php $navUnread = auth()->user()->unreadNotifications()->count(); @endphp @if($navUnread > 0) {{ $navUnread > 9 ? '9+' : $navUnread }} @endif Help @endif @endauth
@auth {{-- Student Primary Action --}} @if(auth()->user()->hasRole('student')) Apply Now @endif {{-- Notification Bell (students only) --}} @if(auth()->user()->hasRole('student')) @php $unreadCount = auth()->user()->unreadNotifications()->count(); @endphp @if($unreadCount > 0) {{ $unreadCount > 9 ? '9+' : $unreadCount }} @endif @endif {{ auth()->user()->hasRole('registrar') ? 'Registrar' : ucfirst(auth()->user()->roles->first()?->name ?? 'user') }} @endauth @if(auth()->user()->hasRole('student')) My Profile Notifications @php $dc = auth()->user()->unreadNotifications()->count(); @endphp @if($dc > 0) {{ $dc }} @endif Help & FAQ @else {{ __('Profile') }} @endif
@csrf {{ __('Log Out') }}
@auth @if(auth()->user()->hasRole('admin')) Dashboard Applications Courses Users Reports Audit Logs Invoices Clearance @elseif(auth()->user()->hasRole('registrar')) Dashboard Enrollment Applications Learner Records Document Vault Reports LIS Export Clearance @elseif(auth()->user()->hasRole('student')) Dashboard My Applications Early Registration Clearance Profile Notifications @php $mobileNavUnread = auth()->user()->unreadNotifications()->count(); @endphp @if($mobileNavUnread > 0) {{ $mobileNavUnread > 9 ? '9+' : $mobileNavUnread }} @endif Help & FAQ @endif @endauth
{{ Auth::user()->name }}
{{ Auth::user()->email }}
@if(auth()->user()->hasRole('student'))
Apply Now
My Profile Notifications @php $mc = auth()->user()->unreadNotifications()->count(); @endphp @if($mc > 0) {{ $mc }} @endif @else {{ __('Profile') }} @endif
@csrf {{ __('Log Out') }}