@php $addTaskNotePermission = user()->permission('add_task_notes'); $editTaskNotePermission = user()->permission('edit_task_notes'); $deleteTaskNotePermission = user()->permission('delete_task_notes'); @endphp
@if ($addTaskNotePermission == 'all' || $addTaskNotePermission == 'added')
{{ ucwords(user()->name) }}
@lang('app.cancel') @lang('app.submit')
@endif
@forelse($task->notes as $note)
{{ ucwords($note->user->name) }}

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

{{ ucfirst($note->created_at->diffForHumans()) }}

{!! ucfirst($note->note) !!}
@empty @endforelse