@extends('layouts.admin') @section('title', 'Control Center') @section('page_title', 'Dossier Overview') @section('content')

Master

@php $masterCards = [ ['label' => 'Companies', 'count' => $master_stats['companies'], 'route' => 'admin.companies.index', 'icon' => 'M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4', 'color' => 'blue'], ['label' => 'Users', 'count' => $master_stats['users'], 'route' => 'admin.users.index', 'icon' => 'M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z', 'color' => 'emerald'], ['label' => 'Employees', 'count' => $master_stats['employees'], 'route' => 'admin.employees.index', 'icon' => 'M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z', 'color' => 'indigo'], ['label' => 'Sites', 'count' => $master_stats['sites'], 'route' => 'admin.sites.index', 'icon' => 'M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4', 'color' => 'violet'], ['label' => 'Routes', 'count' => $master_stats['routes'], 'route' => 'admin.routes.index', 'icon' => 'M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7', 'color' => 'fuchsia'], ]; @endphp @foreach($masterCards as $card)

{{ $card['label'] }}

{{ number_format($card['count']) }}

@endforeach

Masters

@php $mastersCards = [ ['label' => 'Time Zones', 'count' => $masters_stats['time_zones'], 'route' => 'admin.time-zones.index', 'icon' => 'M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'], ['label' => 'Zones', 'count' => $masters_stats['zones'], 'route' => 'admin.zones.index', 'icon' => 'M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'], ['label' => 'Countries', 'count' => $masters_stats['countries'], 'route' => 'admin.countries.index', 'icon' => 'M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2h1a2 2 0 002-2v-1a2 2 0 012-2h2.945'], ['label' => 'States', 'count' => $masters_stats['states'], 'route' => 'admin.states.index', 'icon' => 'M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3'], ['label' => 'Departments', 'count' => $masters_stats['departments'], 'route' => 'admin.departments.index', 'icon' => 'M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16'], ['label' => 'Duty Positions', 'count' => $masters_stats['positions'], 'route' => 'admin.positions.index', 'icon' => 'M21 13.255A23.931 23.931 0 0112 15'], ['label' => 'Job Roles', 'count' => $masters_stats['job_roles'], 'route' => 'admin.job-roles.index', 'icon' => 'M21 13.255A23.931 23.931 0 0112 15'], ['label' => 'Wage Types', 'count' => $masters_stats['wage_types'], 'route' => 'admin.wage-types.index', 'icon' => 'M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2'], ['label' => 'Uniforms', 'count' => $masters_stats['uniforms'], 'btn_route' => 'admin.uniforms.index', 'icon' => 'M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586'], ['label' => 'Stat Holidays', 'count' => $masters_stats['stat_holidays'], 'route' => 'admin.stat-holidays.index', 'icon' => 'M8 7V3m8 4V3m-9 8h10M5 21h14'], ['label' => 'Skills & Attributes', 'count' => $masters_stats['skills'], 'route' => 'admin.skills.index', 'icon' => 'M9 12l2 2 4-4M7.835 4.697'], ['label' => 'Incident Categories', 'count' => $masters_stats['incident_categories'], 'btn_route' => 'admin.incident-categories.index', 'icon' => 'M12 9v2m0 4h.01'], ['label' => 'Access Control', 'count' => $masters_stats['roles_permissions'], 'route' => 'admin.roles.index', 'icon' => 'M9 12l2 2 4-4m5.618-4.016'], ]; @endphp @foreach($mastersCards as $card)
{{ $card['count'] }}
{{ $card['label'] }}
@endforeach

Deployment Pulse

Live Sites vs Active Routes

Incident Trends

Monthly Analytics (Last 6 Months)

Tactical Performance

Ticket Distribution by Site (MDT)

System

@php $systemItems = [ ['label' => 'Logs', 'route' => 'admin.logs.index'], ['label' => 'Appearance', 'route' => 'admin.settings.appearance'], ['label' => 'Typography', 'route' => 'admin.settings.css'], ['label' => 'Integrations', 'route' => 'admin.settings.integrations'], ['label' => 'Rules', 'route' => 'admin.settings.operational'], ['label' => 'ID Settings', 'route' => 'admin.id-settings.index'], ['label' => 'Security', 'route' => 'admin.settings.security'], ['label' => 'Activity', 'route' => 'admin.activity-logs.index'], ['label' => 'Password', 'route' => 'admin.settings.password'], ['label' => 'Maintenance', 'route' => 'admin.settings.system'], ]; @endphp @foreach($systemItems as $item) {{ $item['label'] }} @endforeach
@endsection