@php $addApplicationNotePermission = user()->permission('add_notes'); $editApplicationNotePermission = user()->permission('edit_notes'); $deleteApplicationNotePermission = user()->permission('delete_notes'); @endphp
@if ($addApplicationNotePermission == 'all' || ($addApplicationNotePermission == 'owned' && user()->id == $application->job->recruiter_id)) @lang('app.add') @lang('app.note') @endif
@lang('app.cancel') @lang('app.submit')
@forelse ($application->comments as $comment)

{{$comment->user->name}}

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

{!! $comment->note_text !!}
@empty
- @lang('recruit::modules.jobApplication.noNotesFound') -
@endforelse