@extends('layouts.app') @section('title', 'Average Rating') @section('content')
View all rated tickets
Total Rated
Average Rating
| Ticket # | Reseller | Subject | Category | Rating | Comment | Rated At | Resolved At | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $ticket->ticket_number }} | @if($ticket->user) @if($ticket->user->reseller && $ticket->user->reseller->name) {{ $ticket->user->reseller->name }} @elseif($ticket->user->company_name) {{ $ticket->user->company_name }} @else {{ $ticket->user->name ?? 'N/A' }} @endif @else N/A @endif | {{ Str::limit($ticket->subject ?? $ticket->description, 50) }} | {{ $ticket->category->name ?? 'N/A' }} | @if($ticket->rating) @for($i = 1; $i <= 5; $i++) @endfor ({{ $ticket->rating }}/5) @else N/A @endif | {{ Str::limit($ticket->rating_comment ?? 'N/A', 50) }} |
@if($ticket->rated_at)
{{ $ticket->rated_at->format('Y-m-d H:i') }}
{{ $ticket->rated_at->diffForHumans() }} @else N/A @endif |
@if($ticket->resolved_at)
{{ $ticket->resolved_at->format('Y-m-d H:i') }}
{{ $ticket->resolved_at->diffForHumans() }} @else N/A @endif |
View |
| No rated tickets found | ||||||||