@extends("client.layouts.app") @section("title", __("admin.tickets.title")) @section("content")

{{ __('client.tickets.page_title') }}

{{ __('client.tickets.page_subtitle') }}

{{ __('client.tickets.open_new') }}
@forelse($tickets as $t) @empty @endforelse
{{ __('client.tickets.ticket_prefix') }} {{ __('common.table.department') }} {{ __('common.table.subject') }} {{ __('common.table.priority') }} {{ __('common.table.status') }} {{ __('common.table.last_reply') }}
#{{ $t->tid }} {{ $t->department->name ?? "-" }} {{ Str::limit($t->title, 55) }} {{ __('client.status.' . strtolower($t->priority ?? 'medium')) }} status)) }}">{{ __('client.status.' . strtolower(str_replace(' ', '-', $t->status))) }} {{ $t->last_reply?->diffForHumans() ?? $t->created_at?->diffForHumans() }}
👥

{{ __('client.tickets.no_tickets') }}

{{ __('client.tickets.open_first') }}
@if($tickets instanceof \Illuminate\Pagination\LengthAwarePaginator && $tickets->hasPages())
{{ $tickets->links() }}
@endif @endsection