{{-- Replies Section --}} @if(count($ticket->replies)>0)
@foreach($ticket->replies as $reply) @php $user = $reply->user; $name = $user->name ?? 'Unknown'; $rolez = $user->role->name ?? ''; $isInternal = $reply->is_internal == 1; @endphp
{{-- Header --}}
{{ strtoupper(substr($name, 0, 1)) }}
{{ $name }} @if($rolez) {{ $rolez }} @endif {{-- Action text --}} @if($isInternal) added an internal note @elseif($reply->message_type == 2) added a reply @else sent a reply @endif {{ $reply->created_at->diffForHumans() }} ({{ $reply->created_at->format('D, d M \a\t h:i A') }})
{{-- Message --}}
{!! $reply->message !!}
@endforeach
@endif
{{--
Add Reply
--}}
{{-- Hidden fields --}}
*Maximum file size: 20MB per file.
@if(isset($cannedReplies) && count($cannedReplies)) Pre-written responses @endif
Only visible to staff
{{-- Loader --}}
Loading...