@extends('site.layout') @section('content')
Support Tickets
New ticket
@if ($tickets->count() === 0) @else @foreach ($tickets as $t) @endforeach @endif
Ticket Subject Priority Status Last update Action
No tickets yet
{{ $t->ticket_number }} {{ $t->subject }} {{ ucfirst($t->priority) }} {{ str_replace('_', ' ', ucwords($t->status, '_')) }} {{ $t->last_message_at?->format('d M Y, h:i A') ?? $t->updated_at?->format('d M Y, h:i A') }}
{{ $tickets->links() }}
@endsection