{{$reply->user->name}}
{{$reply->created_at->diffForHumans()}}
@if(user_can('Delete Tickets') || $reply->user->id == user()->id)
@endif
{!! nl2br($reply->message) !!}
@if ($reply->files->isNotEmpty())
@foreach ($reply->files as $file)
@php
$isImage = in_array(pathinfo($file->filename, PATHINFO_EXTENSION), ['jpg', 'jpeg', 'png', 'gif', 'bmp']);
@endphp
@if ($isImage)
@else
@endif
@endforeach
@endif