All Comments
{{--
--}}
{{-- {{ dd($comments) }} --}}
@if ($comments->isEmpty())
@endforeach
@endif
No comment available.
@else
@foreach($comments as $comment)
@php
$categories = json_decode($comment->category, true);
$categoryText = is_array($categories) ? implode(', ', $categories) : 'N/A';
@endphp
{{ Str::words($comment->comment ?? 'Unknown User', 10, '...') }}
Status: {{ $comment->status ?? 'N/A' }}
{{-- Download Button (on the left if present) --}}
@if(!empty($comment->document_path))
{{-- --}}
document_path") }}" target="_blank">
@endif
{{-- Arrow Button (always pushed to right) --}}