@php $editTaskNotePermission = user()->permission('edit_task_notes'); $deleteTaskNotePermission = user()->permission('delete_task_notes'); @endphp @forelse($notes as $note)
{{ $note->user->name }}

{{ $note->user->name }}

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

@php $isClient = \App\Models\User::isClient($note->user->id); $client = \App\Models\User::where('id', $note->added_by)->where('is_client_contact', 1)->first(); @endphp @if(($isClient == true) && $client)
{{ __('(Added By : ') . $client->name . ')' }}

@endif
{!! $note->note !!}
@empty @endforelse