@extends('layouts.app') @section('title', 'Reports & Analytics') @section('no-page-header') @section('content')
Advanced Reports & Analytics
{{ \App\Models\User::byTenant()->active()->count() }}

Total Employees

{{ \App\Models\Attendance::byTenant()->whereDate('in_date', now()->format('Y-m-d'))->count() }}

Today's Attendance

{{ \App\Models\Transit::byTenant()->whereDate('start_time', now()->format('Y-m-d'))->count() }}

Active Transits

{{ \App\Models\GeofenceViolation::byTenant()->where('is_resolved', false)->count() }}

Unresolved Violations

Transit Reports
Transit Tracking Report
Coming soon
Export Transit Data
Coming soon
Quick Actions
{{-- Placeholder for future transit report --}}
Transit Report
@endsection @section('scripts') @endsection