@php $addDealNotePermission = user()->permission('add_deal_note'); $editLeadNotePermission = user()->permission('edit_deal_note'); $viewLeadNotePermission = user()->permission('view_deal_note'); $deleteLeadNotePermission = user()->permission('delete_deal_note'); @endphp
@if ($addDealNotePermission == 'all' || $addDealNotePermission == 'added' || $addDealNotePermission == 'both')
@endif
@if ($viewLeadNotePermission == 'all' || $viewLeadNotePermission == 'added' || $viewLeadNotePermission == 'both') @lang('app.title') @lang('app.createdOn') @lang('app.action') @forelse ($notes as $note) {{ $note->title }} {{ $note->created_at->timezone(company()->timezone)->translatedFormat(company()->date_format . ' ' . company()->time_format) }} @empty @endforelse @endif