@extends('layouts.app') @section('title', 'Employee Ticket Details - ' . $employee->name) @section('content')

{{ $employee->name }} - Ticket Details

All Reports - Monthly Data

All Reports - Monthly Data
@foreach($reportTypes as $reportType) @endforeach @foreach($months as $month) @foreach($reportTypes as $reportType) @endforeach @endforeach @foreach($reportTypes as $reportType) @endforeach
Month {{ $reportType }}
@php // Generate URL for month details $monthStart = $month['start']->format('Y-m-d'); $monthEnd = $month['end']->format('Y-m-d'); $monthDetailsUrl = route('reseller-tickets.employee-month-details', [ 'employeeId' => $employee->id, 'monthStart' => $monthStart, 'monthEnd' => $monthEnd ]); @endphp {{ $month['name'] }} @if(isset($month['counts'][$reportType]) && $month['counts'][$reportType] !== '-') @if($reportType === 'Average Rating') {{ $month['counts'][$reportType] }} ⭐ @elseif(in_array($reportType, ['Average Assign Time', 'Average Forwarded Time', 'Average Solved Time'])) {{ $month['counts'][$reportType] }} @else {{ $month['counts'][$reportType] }} @endif @else - @endif
Summary @if(isset($summary[$reportType]) && $summary[$reportType] !== '-') @if($reportType === 'Average Rating') {{ $summary[$reportType] }} ⭐ @elseif(in_array($reportType, ['Average Assign Time', 'Average Forwarded Time', 'Average Solved Time'])) {{ $summary[$reportType] }} @else {{ $summary[$reportType] }} @endif @else - @endif
@endsection