@extends('admin.layouts.app') @section('panel')
@php echo $ticket->statusBadge; @endphp [@lang('Ticket#'){{ $ticket->ticket }}] {{ $ticket->subject }}
@if ($ticket->status != Status::TICKET_CLOSE) @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')

@foreach ($messages as $message) @if ($message->admin_id == 0)
{{ $ticket->name }}
@if ($ticket->user_id != null)

@{{ $ticket->name }}

@else

@{{ $ticket->name }}

@endif

@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 @endforeach
@endsection @push('breadcrumb-plugins') @endpush @push('script') @endpush