{{-- resources/views/storefront/support.blade.php --}} @extends('storefront.layout') @section('title', trans_key('storefront.pageTitles.support').' - '.config('app.name', 'FreshMart')) @section('content')

How can we help?

Tell us what happened and our team will follow up.

Create Ticket

@csrf

Previous Tickets

{{ $tickets->total() }} requests
@if($tickets->count()) @foreach($tickets as $ticket) @php $statusClass = match($ticket->status) { 'open', 'pending' => 'is-open', 'resolved' => 'is-resolved', 'closed', 'cancelled' => 'is-closed', default => 'is-open' }; @endphp
{{ $ticket->subject }} {{ \Illuminate\Support\Str::headline($ticket->status) }}

{{ $ticket->ticket_number }} ยท {{ optional($ticket->created_at)->format('d M Y') }}

@endforeach
{{ $tickets->withQueryString()->links('storefront.partials.pagination') }}
@else

No tickets yet. Your support requests will appear here.

@endif
@endsection