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

Executive Dashboard

Comprehensive overview of security operations and performance metrics

{{ \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('in_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('in_date', now()->format('Y-m-d'))->count() / \App\Models\User::byTenant()->active()->count() * 100, 1) }}%

Attendance Rate

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

Attendance Trends

Weekly attendance patterns

Live

Transit Performance

Real-time transit metrics

Active

Security Violations

24-hour violation timeline

Critical

Department Performance

Multi-department efficiency metrics

Analytics

Recent Activity

Live system updates and events

Quick Actions

Generate reports instantly

Top Performers

Employee excellence rankings

Employee Score Trend

Critical Alerts

System notifications

System Health

Real-time performance metrics

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

Client Overview

Performance metrics across all clients

{{ rand(5, 15) }} Active
Client Status Assigned Staff Service Efficiency Security Compliance Active Transits Violations Performance Score Actions
@endsection @section('scripts') @endsection