@extends($activeTemplate . 'layouts.' . $layout) @section('content')
@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')

@forelse($messages as $message) @if ($message->admin_id == 0)
{{ $message->ticket->name }}

@lang('Posted on') {{ showDateTime($message->created_at, 'l, dS F Y @ h:i a') }}

{{ $message->message }}

@if ($message->attachments->count() > 0)
@foreach ($message->attachments as $k => $image) @endforeach
@endif
@else
{{ $message->admin->name }}

@lang('Staff')

@lang('Posted on') {{ showDateTime($message->created_at, 'l, dS F Y @ h:i a') }}

{{ $message->message }}

@if ($message->attachments->count() > 0)
@foreach ($message->attachments as $k => $image) @endforeach
@endif
@endif @empty
empty
@lang('No replies found here!')
@endforelse
@endsection @push('style') @endpush @push('script') @endpush