@extends('layouts.platform') @section('title', 'Platform Dashboard') @section('header', 'Platform Dashboard') @section('content') {{-- Stats Grid --}}

{{ $stats['total_schools'] }}

Total Schools

{{ $stats['active_schools'] }}

Active Schools

{{ $stats['total_users'] }}

Total Users

₦{{ number_format($stats['total_revenue'] / 100, 0) }}

Total Revenue

{{-- Recent Schools --}}

Recent Schools

View all
@forelse($recentSchools as $school) @empty @endforelse
School Status Plan Location Created
{{ $school->initials }}

{{ $school->name }}

{{ $school->email }}

{{ $school->status->label() }} {{ $school->plan?->name ?? 'No Plan' }} {{ $school->city }}, {{ $school->state }} {{ $school->created_at->diffForHumans() }}
No schools registered yet.
@endsection