@extends('layouts.bootstrap') @section('title', 'Reports & Analytics') @section('content')
Comprehensive ticket analytics and performance insights
Total Tickets
+12% from last periodResolved Tickets
+8% from last periodAvg Resolution Time
-5% from last periodResolution Rate
+3% from last period| Department | Total | Resolved | Avg Time | Rate |
|---|---|---|---|---|
|
{{ $dept->department_name }}
|
{{ $dept->total_tickets }} | {{ $dept->resolved_tickets }} | {{ $dept->avg_resolution_hours ? round($dept->avg_resolution_hours, 1) . 'h' : 'N/A' }} | @php $rate = $dept->total_tickets > 0 ? round(($dept->resolved_tickets / $dept->total_tickets) * 100, 1) : 0; @endphp {{ $rate }}% |
| Agent | Total | Resolved | Avg Time | Rate |
|---|---|---|---|---|
|
{{ $agent->agent_name }}
|
{{ $agent->total_tickets }} | {{ $agent->resolved_tickets }} | {{ $agent->avg_resolution_hours ? round($agent->avg_resolution_hours, 1) . 'h' : 'N/A' }} | @php $rate = $agent->total_tickets > 0 ? round(($agent->resolved_tickets / $agent->total_tickets) * 100, 1) : 0; @endphp {{ $rate }}% |
Under 1 Hour
Fast Resolution1-24 Hours
Good Response1-3 Days
Needs AttentionOver 3 Days
Critical Delay| Ticket | Status | Priority | Created By | Created At |
|---|---|---|---|---|
|
#{{ $activity->id }}
{{ Str::limit($activity->title, 50) }}
|
{{ ucfirst($activity->status) }} | {{ ucfirst($activity->priority) }} | {{ $activity->created_by_name }} | {{ \Carbon\Carbon::parse($activity->created_at)->diffForHumans() }} |