@vite(['resources/css/app.css', 'resources/js/app.js']) @include('admin.partials.styles') @include('admin.partials.sidebar')

Support Tickets

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Ticket Details

Customer

{{ $ticket->user->name }}

{{ $ticket->user->email }}

Subject

{{ $ticket->subject }}

Ticket ID

{{ $ticket->ticket_number }}

Status

{{ ucfirst($ticket->status) }}

@if($ticket->status === 'open')
@csrf
@endif

Conversation

@foreach($ticket->messages as $message)

{{ $message->message }}

@if($message->attachment_path) @endif

{{ $message->created_at->format('M d, h:i A') }}

{{ $message->user->name }} {{ $message->user_id === auth()->id() ? '(Support)' : '(User)' }}
@endforeach
@if($ticket->status === 'open')
@csrf
@else
This ticket is closed. You can no longer reply.
@endif