@extends('layouts.app') @section('title', 'Executive Dashboard') @section('no-page-header') @section('content')

Executive Dashboard

{{ \App\Models\User::byTenant()->active()->count() }}

Total Staff

+{{ rand(2, 8) }}%
{{ \App\Models\Client::byTenant()->active()->count() }}

Active Clients

+{{ rand(1, 5) }}%
{{ \App\Models\Attendance::byTenant()->whereDate('date', now()->format('Y-m-d'))->count() }}

Today's Attendance

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

Active Transits

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

Open Violations

-{{ rand(5, 15) }}%
{{ round(\App\Models\Attendance::byTenant()->whereDate('date', now()->format('Y-m-d'))->count() / \App\Models\User::byTenant()->active()->count() * 100, 1) }}%

Attendance Rate

+{{ rand(1, 3) }}%

Attendance Trends

Transit Performance

Security Violations

Department Performance

Recent Activity

Quick Actions

Top Performers

Employee Score Trend

Critical Alerts

System Health

98.5%
System Uptime
1.2s
Avg Response
2
Open Issues
15
Resolved Today

Client Overview

Client Status Assigned Staff Service Efficiency Security Compliance Active Transits Violations Performance Score Actions
@endsection @section('scripts') @endsection