@extends('admin::layouts.master') @section('content')
@if (request()->has('filter')) حذف فیلترها @endif
@if (request()->has('filter'))
@endif
{{-- جدول تیکت‌ها --}}
@if($tickets->count() > 0) @foreach($tickets as $ticket) @endforeach
# موضوع کاربر اولویت وضعیت آخرین بروزرسانی پیام‌های خوانده‌نشده عملیات
{{ $ticket->id }} {{ $ticket->subject }} {{ $ticket->user->name }}
{{ $ticket->user->email }}
{{ $ticket->user->mobile }}
@if($ticket->priority === 'high') زیاد @elseif($ticket->priority === 'medium') متوسط @else کم @endif @if($ticket->status === 'open') باز @elseif($ticket->status === 'pending') در انتظار @else بسته @endif {{ \Carbon\Carbon::parse($ticket->updated_at)->locale('fa')->diffForHumans() }} @if($ticket->unread_count > 0) {{ $ticket->unread_count }} @else 0 @endif مشاهده
@else
هیچ تیکتی پیدا نشد.
@endif @include('components.pagination', ['paginator' => $tickets])
@endsection