@extends('layouts.app')
@section('title', 'Dashboard')
@section('subtitle', 'School performance at a glance')
@section('content')
{{ $trainerCount }} trainers · {{ $vehiclesAvailable }} of {{ $vehicleTotal }} vehicles ready · {{ $newApplications }} new admission enquiries · {{ $attendanceRate }}% attendance this month.
Payments collected over the last six months
All lessons by current state
{{ now()->format('l, j F') }} · {{ $todaySchedule->count() }} lessons
| Time | Student | Trainer | Vehicle | Status |
|---|---|---|---|---|
| {{ $lesson->starts_at->format('g:i A') }} |
{{ $lesson->student->user->name }}
{{ $lesson->typeLabel() }}
|
{{ $lesson->trainer?->user?->name ?? 'Unassigned' }} | {{ $lesson->vehicle?->registration_number ?? '—' }} | {{ ucfirst(str_replace('_', ' ', $lesson->status)) }} |
{{ $outstandingCount }} invoices need attention