Suggestion List
        
        
        
            
                
                    
                        
                            
                               
                                    
                                        
                                            | Sr No | Employee Id | Employee Name | Comments | Images | Action | 
                                    
                                    
                                        @php $i = 0; @endphp
                                            @foreach($image as $m)
                                                @if(isset($m->suggestion->id))
                                                    
                                                        @php $i = $i +1; @endphp
                                                        | {{$i}} | {{$m->suggestion->id}} | {{$m->suggestion->first_name}} {{$m->suggestion->last_name}} | {{ $m->comment }} | @php $datas = date('d-m-Y',strtotime($m->created_at)); @endphp
                                                            @foreach(explode('/', $m->image) as $image)
                                                            @php
                                                            if($m->image == ''){
                                                            $imgs = 0;
                                                            }else{
                                                            $img = explode('/', $m->image);
                                                            $imgs = count($img);
                                                            }
                                                            @endphp
                                                            @endforeach
                                                            {{$imgs}} Files Uploaded |  | 
                                                @endif
                                            @endforeach
                                    
                                
                             
                         
                     
                 
             
         
        
     
    
    
    
    @if(session('done'))
    
    @elseif(session('edit'))
    
    @elseif(session('delete'))
    
    @elseif(session('error'))
    
    @endif
    @include('components/ufooter')