@php $addTaskCommentPermission = user()->permission('add_task_comments'); $editTaskCommentPermission = user()->permission('edit_task_comments'); $deleteTaskCommentPermission = user()->permission('delete_task_comments'); @endphp
@if ($addTaskCommentPermission == 'all' || $addTaskCommentPermission == 'added')
{{ ucwords(user()->name) }}
@lang('app.cancel') @lang('app.submit')
@endif
@forelse ($task->comments as $comment)
{{ ucwords($comment->user->name) }}

{{ ucwords($comment->user->name) }}

{{ $comment->created_at->timezone($global->timezone)->format($global->date_format . ' ' . $global->time_format) }}

{!! ucfirst($comment->comment) !!}
@empty
- @lang('messages.noCommentFound') -
@endforelse