@extends('frontend.layouts.user.index') @section('title', __('Support Tickets')) @section('content')
{{ __('Create Ticket') }} {{-- Card Body --}}
{{-- Tickets List --}}
@forelse($tickets as $ticket) {{-- Ticket Item --}}
{{-- Ticket Details --}}
{{-- Title --}} {{ $ticket->title }} {{ $ticket->priority->label() }} {{-- Ticket Metadata --}}
{{ __('UUID:') }} {{ $ticket->uuid }} @if($ticket->isReplied()) {{ __('Answered') }} @endif
{{-- Status & Priority --}}
{{ $ticket->status->label() }}
{{ $ticket->created_at->format('d M Y, h:i A') }}
@empty @endforelse
{{-- Pagination --}} @if($tickets->hasPages())
{{ $tickets->links() }}
@endif
@endsection