@php $editTaskCommentPermission = user()->permission('edit_task_comments'); $deleteTaskCommentPermission = user()->permission('delete_task_comments'); @endphp @forelse ($comments as $comment)
{{ ucfirst($comment->created_at->diffForHumans()) }}
{{ ucwords($comment->user->name) }}
{{ ucfirst($comment->created_at->diffForHumans()) }}