@extends($activeTemplate . 'layouts.' . $layout) @section($layout) @if ($layout == 'frontend')
@else
@endif
@php echo $myTicket->statusBadge; @endphp [@lang('Ticket')#{{ $myTicket->ticket }}] {{ $myTicket->subject }}
@if ($myTicket->status != Status::TICKET_CLOSE && $myTicket->user) @endif
@csrf

@lang('Max 5 files can be uploaded | Maximum upload size is ' . convertToReadableSize(ini_get('upload_max_filesize')) . ' | Allowed File Extensions: .jpg, .jpeg, .png, .pdf, .doc, .docx')

@if (!blank($messages))
@lang('Previous Replies')
@foreach ($messages as $message) @if ($message->admin_id == 0)
{{ $message->ticket->name }}
{{ $message->created_at->format('dS F Y @ H:i') }}

{{ $message->message }}

@if ($message->attachments->count() > 0) @endif
@else
{{ $message->admin->name }}
{{ $message->created_at->format('dS F Y @ H:i') }}

{{ $message->message }}

@if ($message->attachments->count() > 0) @endif
@endif @endforeach
@endif @if ($layout == 'frontend')
@else
@endif @endsection @push('style') @endpush @push('script') @endpush