@extends('layouts.admin.master') @section('tab-name','لیست تیکتهای پشتیبانی') @section('content')
| # | کاربر | موضوع تیکت | وضعیت | اولویت | تاریخ بروزرسانی | عملیات |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
{{ $ticket->user->name ?? 'نامشخص' }}
{{ $ticket->user->mobile ?? '' }}
|
{{ $ticket->subject }} | @php $statusLabel = [ 'open' => ['text' => 'باز', 'color' => '#28a745'], 'pending' => ['text' => 'در انتظار', 'color' => '#fd7e14'], 'answered' => ['text' => 'پاسخ داده شده', 'color' => '#0d6efd'], 'closed' => ['text' => 'بسته شده', 'color' => '#6c757d'], ][$ticket->status]; @endphp {{ $statusLabel['text'] }} | {{ $ticket->priority == 'high' ? 'فوری' : ($ticket->priority == 'medium' ? 'متوسط' : 'کم') }} | {{ jdate_format('Y/m/d - H:i', strtotime($ticket->updated_at)) }} | |
| تیکتی جهت نمایش وجود ندارد. | ||||||