@extends('layouts.app')
@php($currency = setting('currency_symbol', 'KSh'))
@section('title', 'Reports & Insights')
@section('subtitle', 'Training, finance and fleet analytics')
@section('content')
Monthly collections against new admissions
Lessons scheduled vs attendance rate
| Trainer | Students | Lessons | Rating |
|---|---|---|---|
|
{{ $trainer->user->name }}
{{ $trainer->specialization ?? $trainer->designation }}
|
{{ $trainer->active_students_count }} | {{ $trainer->completed_bookings_count }}/{{ $trainer->bookings_count }} | @if ($trainer->lesson_reports_avg_rating) {{ number_format($trainer->lesson_reports_avg_rating, 1) }} @else — @endif |
| Vehicle | Status | Lessons | Completed | Odometer |
|---|---|---|---|---|
| {{ $vehicle->make }} {{ $vehicle->model }} {{ $vehicle->registration_number }} |
{{ \App\Models\Vehicle::STATUSES[$vehicle->status] ?? ucfirst($vehicle->status) }} | {{ $vehicle->bookings_count }} | {{ $vehicle->completed_count }} | {{ number_format($vehicle->odometer_km) }} km |