@extends('layouts.app') @section('title', 'Admin - ' . $ticket->subject) @section('content')

{{ $ticket->subject }}

{{ ucfirst($ticket->status) }} {{ ucfirst($ticket->priority) }} Priority By: {{ $ticket->user->name }} ({{ $ticket->user->email }}) Created: {{ $ticket->created_at->format('M d, Y H:i') }}

Description

{{ $ticket->description }}

@if($ticket->attachments->where('ticket_reply_id', null)->count() > 0)

Attachments

@endif

Replies ({{ $ticket->replies->count() }})

@foreach($ticket->replies as $reply)
{{ $reply->user->name }} {{ $reply->created_at->format('M d, Y H:i') }}
{{ $reply->message }}
@if($reply->attachments->count() > 0)

Attachments

@endif
@endforeach

Reply to Ticket

@csrf
You can upload multiple files (Max 10MB per file)
@endsection