@extends('layouts.school') @section('title', 'Dashboard') @section('header', 'Dashboard') @section('content') {{-- Row 1 โ€” Core school population --}}

Students

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

Currently registered

Parents

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

Registered guardians

Staff

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

Total school staff

Teachers

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

Teaching staff

{{-- Row 2 โ€” Academic structure & admissions --}}

Classes

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

Active classes

Subjects

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

Active subjects

Applicants

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

Applications received

Admissions

{{ number_format($stats['admProgrammes']) }} programmes

{{ $stats['admPending'] }} pending ยท {{ $stats['admApproved'] }} approved ยท {{ $stats['admRejected'] }} rejected

Finance

โ‚ฆ{{ number_format($stats['financeCollected']) }}

Collected ยท โ‚ฆ{{ number_format($stats['financeOutstanding']) }} outstanding

{{-- Row 3 โ€” Recent students & quick actions --}}

Recent Students

View all
@forelse($recentStudents as $student)
{{ $student->initials }}

{{ $student->full_name }}

{{ $student->admission_no }}

@empty
No students yet.
@endforelse

Quick Actions

@endsection