@extends('layouts.app') @section('title', __('messages.reports')) @section('styles') @endsection @section('content')

{{ __('messages.reports') }}

{{ __('messages.operational_dashboard_desc') }}

Backlog Total

{{ number_format($totalTickets) }}

MTTR (Moyen)

~ 1.8h

Ruptures SLA

{{ $slaBreachCount }}

Taux Résolution

{{ $resolutionRate }}%

{{ __('messages.tickets_created_vs_time') }}
{{ __('messages.priority_critical') }}
{{ __('messages.load_by_category') }}
@foreach ($categoryDeepStats->take(6) as $cat)
{{ $cat->category?->name ?: 'Divers' }} {{ $cat->total }} tickets
@endforeach
{{ __('messages.top_clients') }}
@foreach ($clientStats as $cs) @endforeach
{{ strtoupper(substr($cs->user?->name ?: $cs->user?->username ?: 'C', 0, 1)) }}
{{ $cs->user?->name ?: $cs->user?->username ?: 'Client Inconnu' }}
{{ $cs->total }}
{{ __('messages.tickets') }}
{{ __('messages.agent_performance_metrics') }}
Agent Total Tickets Taux Résolution Charge (%) Statut
@endsection @section('scripts') @endsection