@foreach ($this->statuses() as $st) @endforeach
@forelse ($tickets as $t) @php $tones = ['open' => 'warning', 'answered' => 'info', 'customer_reply' => 'partial', 'closed' => 'neutral']; @endphp @empty @endforelse
{{ __('ID') }} {{ __('User') }} {{ __('Subject') }} {{ __('Panel') }} {{ __('Status') }} {{ __('Last Update') }} {{ __('Created') }} {{ __('Action') }}
#{{ $t->id }}
{{ $t->user?->name ?? '—' }}
{{ $t->user?->email }}
{{ \Illuminate\Support\Str::limit($t->subject, 46) }}
{{ trans_choice(':count message|:count messages', $t->messages_count, ['count' => $t->messages_count]) }}
@if ($t->panel && $t->panel_id !== current_panel()?->id) {{ $t->panel->name }} @else — @endif {{ __(ucfirst(str_replace('_', ' ', $t->status))) }} {{ ($t->last_reply_at ?? $t->created_at)?->diffForHumans() }} {{ rf_date($t->created_at) }}
@if ($tickets->hasPages())
{{ $tickets->links() }}
@endif