@extends('secretary::layouts.master') @section('title', 'Professional Analytics Dashboard') @section('page-title', 'Secretary Module Analytics') @section('content')
Total Tickets
Resolution Rate
Avg Resolution Time
Overdue Tickets
| User | Tickets | % |
|---|---|---|
| {{ $creator['user_name'] }} | {{ $creator['ticket_count'] }} |
|
| User | Assigned | % |
|---|---|---|
| {{ $assignee['user_name'] }} | {{ $assignee['ticket_count'] }} |
|
| Department | Tickets | Percentage | Progress |
|---|---|---|---|
| {{ $dept['department_name'] }} | {{ $dept['ticket_count'] }} | @php $totalDeptTickets = $stats['department_analysis']['department_distribution']->sum('ticket_count'); $percentage = $totalDeptTickets > 0 ? round(($dept['ticket_count'] / $totalDeptTickets) * 100, 2) : 0; @endphp {{ $percentage }}% |
|