@extends('layouts.dashboard') @section('title', $ticket->ticket_no) @section('page_title', __('Support')) @section('content')
{{ __('All tickets') }}
{{ $ticket->subject }}
{{ status_label($ticket->status) }}
{{ $ticket->ticket_no }} · {{ status_label($ticket->category) }} · {{ status_label($ticket->priority) }} {{ __('priority') }}
@foreach($ticket->replies as $reply)
@if($reply->is_staff){{ __('Support') }}@else{{ __('You') }}@endif {{ $reply->created_at->format('M d, Y H:i') }}
{!! nl2br(e($reply->body)) !!}
@endforeach @if($ticket->status !== 'closed')
@csrf @error('message')
{{ $message }}
@enderror
@else
{{ __('This ticket is closed. Open a new one if you still need help.') }}
@endif @endsection