person
            
            
                
                    {{ $document->document_number }}
                
                
                    
                
                @if (! $hideShow)
                    
                        {{ $document->contact_name }}
                    
                @else
                    
                        {{ $document->contact_name }}
                    
                @endif
            
 
        
        
            
                bookmark_border
            
            
                @php $history = $document->last_history; @endphp
                
                    {{ $history->description }}
                
                
                    {{ \Date::parse($history->created_at)->diffForHumans() }}
                
            
        
        @if ($document->items->count())
            @foreach ($document->items as $document_item)
                @if ($loop->index > 1)
                    @break
                @endif
                
                    
                        sell
                    
                    
                        
                            {{ $document_item->name }}
                        
                        
                            
                        
                        
                            {{ $document_item->description }}
                        
                     
                
            @endforeach
        @endif
        @if ($document->items->count() > 2)
            
            
                attach_money
            
            
                
                    
                        {{ trans('general.paid') }}
                    
                    @if ($document->paid)
                        
                            
                        
                    @endif
                
                
                    
                        {{ trans('general.due') }}