@extends('layouts.app') @section('title', 'Support configuration') @section('content')
Categories, SLA policies, SMS templates and cancellation reasons.
| Category | Module | First response | Resolution | Tickets | Status |
|---|---|---|---|---|---|
| {{ $category->name }}
{{ $category->description }} |
{{ $category->module }} | {{ $category->sla_first_response_min ? round($category->sla_first_response_min / 60, 1).' h' : '—' }} | {{ $category->sla_resolution_min ? round($category->sla_resolution_min / 60, 1).' h' : '—' }} | {{ $category->tickets()->count() }} | {{ $category->is_active ? 'active' : 'inactive' }} |
| @include('components.empty-state', ['icon' => '📂', 'title' => 'No categories defined']) | |||||
| Policy | Priority | First response | Resolution | Tickets |
|---|---|---|---|---|
| {{ $policy->name }} | {{ $policy->priority }} | {{ round($policy->first_response_min / 60, 1) }} h | {{ round($policy->resolution_min / 60, 1) }} h | {{ $policy->tickets()->count() }} |
| @include('components.empty-state', ['icon' => '⏱', 'title' => 'No SLA policies defined']) | ||||
| Template | Subject | Body | Status |
|---|---|---|---|
| {{ $template->name }} | {{ $template->subject }} | {{ \Illuminate\Support\Str::limit($template->body, 80) }} | {{ $template->is_active ? 'active' : 'inactive' }} |
| @include('components.empty-state', ['icon' => '📱', 'title' => 'No SMS templates defined']) | |||
| Reason | Category | Used | Status |
|---|---|---|---|
| {{ $reason->reason }} | {{ title_case_words($reason->category) }} | {{ $reason->services()->count() }} | {{ $reason->is_active ? 'active' : 'inactive' }} |
| @include('components.empty-state', ['icon' => '❌', 'title' => 'No cancellation reasons defined']) | |||