@extends('crm.layouts.master') @section('title','Support Tickets') @section('page-css') @endsection @section('main-content') @php $open = $tickets->where('status', 'open')->count(); $inProg = $tickets->where('status', 'in_progress')->count(); $resolved = $tickets->where('status', 'resolved')->count(); $urgent = $tickets->where('priority', 'urgent')->whereIn('status', ['open','in_progress'])->count(); @endphp

Support Tickets

Manage and track all customer support requests in one place.

@foreach($tickets as $t) @endforeach
# Client Subject Dept Priority Update Via Status Assigned Created Actions
{{ $t->id }} @if($t->lead) {{ $t->lead->fname }} {{ $t->lead->lname }}
{{ $t->lead->email }} @else — @endif
{{ Str::limit($t->subject, 40) }} {{ ucfirst($t->department) }} @php $pColors = ['low' => 'secondary', 'medium' => 'primary', 'high' => 'warning', 'urgent' => 'danger']; @endphp {{ ucfirst($t->priority) }} @if($t->update_via === 'callback') Callback @elseif($t->update_via === 'phone') Phone @else System @endif @php $sColors = ['open' => 'warning', 'in_progress' => 'primary', 'resolved' => 'success', 'closed' => 'secondary']; @endphp {{ ucfirst(str_replace('_', ' ', $t->status)) }} {{ $t->assignee?->name ?? '—' }} {{ $t->created_at->format('Y-m-d H:i') }}
@if($t->status !== 'closed') @endif
@endsection @section('page-js') @endsection