| {{$note->Date}} | 
    {{optional($note->enteredBy)->name}} | 
    {{$note->NoteText}} | 
    @if (count(explode('|',$note->Attachments)) > 1)
        View All files
            
                
                    @foreach (explode('|',$note->Attachments) as $file)
                        - {{$file}}
 
                    @endforeach
                 
             
         | 
    @elseif ($note->Attachments != '')
        {{$note->Attachments}}  | 
    @else
         | 
    @endif
    
        
        @can('edit_lead_notes_tab')
            
        @endcan
        @can('delete_lead_notes_tab')
            / $note->id])}}')">
        @endcan
     |