@php $Authuser = Auth::user(); $canNotesEdit = $Authuser && ( ($module_type === 'admin' && $Authuser->hasPermission('admin.users.notes.edit')) || ($module_type === 'vendor' && $Authuser->hasPermission('vendor.users.notes.edit')) || ($module_type === 'customer' && $Authuser->hasPermission('customer.users.notes.edit')) ); // Check delete permission $canNotesDelete = $Authuser && ( ($module_type === 'admin' && $Authuser->hasPermission('admin.users.notes.delete')) || ($module_type === 'vendor' && $Authuser->hasPermission('vendor.users.notes.delete')) || ($module_type === 'customer' && $Authuser->hasPermission('customer.users.notes.delete')) ); @endphp @forelse($notes as $index => $note) @empty @endforelse
# Note Created By Date Action
{{ $loop->iteration + $notes->firstItem() - 1 }} {{ Str::limit($note->notes, 50) }} {{ $note->created_name ?? '—' }} {{ $note->created_at->format('d-m-Y h:i A') }} @if ($canNotesEdit) @endif @if ($canNotesDelete) @endif
No notes found.

Showing {{ $notes->firstItem() }} to {{ $notes->lastItem() }} of {{ $notes->total() }} entries

{!! $notes->appends(request()->input())->links() !!}