@extends('layouts.dashboard') @section('title', 'Staff Dashboard') @section('page-content')

Administrative Staff Dashboard

{{ auth()->user()->name }} • Administrative Services

@if($currentYear) {{ $currentYear->name }} @endif @if($currentSemester) {{ $currentSemester->name }} @endif

Pending Applications

{{ number_format($stats['pending_applications']) }}

Process now →

Total Students

{{ number_format($stats['total_students']) }}

View all →

Upcoming Exams

{{ number_format($stats['upcoming_exams']) }}

View schedule →

Active Staff

{{ number_format($stats['total_staff']) }}

View all →

Recent Applications

View all →
@if($recentApplications->count() > 0)
@foreach($recentApplications as $application) @endforeach
Applicant Program Status Date Actions
{{ $application->first_name }} {{ $application->last_name }}
{{ $application->email }}
{{ $application->program_name }}
{{ ucfirst($application->status) }} {{ \Carbon\Carbon::parse($application->created_at)->format('M d, Y') }} View
@else

No recent applications

@endif

Recent Registrations

Manage →
@if($recentRegistrations->count() > 0)
@foreach($recentRegistrations->take(5) as $registration)
{{ $registration->first_name }} {{ $registration->last_name }} {{ $registration->reg_number }}

{{ $registration->course_code }} - {{ $registration->course_name }}

{{ \Carbon\Carbon::parse($registration->created_at)->diffForHumans() }}

@endforeach
@else

No recent registrations

@endif

Upcoming Examinations

View all →
@if($upcomingExaminations->count() > 0)
@foreach($upcomingExaminations->take(5) as $exam)
{{ $exam->course_code }} {{ \Carbon\Carbon::parse($exam->exam_date)->format('M d') }}

{{ $exam->course_name }}

⏰ {{ \Carbon\Carbon::parse($exam->start_time)->format('g:i A') }} - {{ \Carbon\Carbon::parse($exam->end_time)->format('g:i A') }} @if($exam->venue_name || $exam->venue_code) 📍 {{ $exam->venue_code ? $exam->venue_code : $exam->venue_name }} @endif
@endforeach
@else

No upcoming examinations

@endif

Administrative Actions

@endsection