@extends('admin.layouts.app') @section('title', $title) @section('content')
| ID | Subject | User | Category | Status | Priority | Last Updated | Created On | Actions | |
|---|---|---|---|---|---|---|---|---|---|
| No records found | |||||||||
| {{ $ticket->reference_id }} | {{ $ticket->subject }} | {{ $ticket->user->first_name }} {{ $ticket->user->last_name }} | {{ $ticket->category ? $ticket->category->name : '' }} | @php $statusClasses = [ 'Open' => 'bg-secondary text-white', 'In Progress' => 'bg-primary text-white', 'Resolved' => 'bg-success text-white', 'Closed' => 'bg-dark text-white' ]; @endphp {{ $ticket->status }} | @php $priorityClasses = [ 'Low' => 'bg-secondary text-light', 'Medium' => 'bg-primary text-white', 'High' => 'bg-warning text-dark', 'Critical' => 'bg-danger text-light' ]; @endphp {{ $ticket->priority }} | {{ $ticket->updated_at->diffForHumans() }} | {{ $ticket->created_at->diffForHumans() }} | ||