@if (! $hideBulkAction)
            
                
            
            @endif
            @stack('due_at_and_issued_at_th_start')
            @if (! $hideDueAt || ! $hideIssuedAt)
            
                @stack('due_at_th_start')
                @if (! $hideDueAt)
                
                    @stack('due_at_th_inside_start')
                    
                    @stack('due_at_th_inside_end')
                
                @endif
                @stack('due_at_th_end')
                @stack('issued_at_th_start')
                @if (! $hideIssuedAt)
                
                    @stack('issued_at_th_inside_start')
                    
                    @stack('issued_at_th_inside_end')
                
                @endif
                @stack('issued_at_th_end')
            
            @endif
            @stack('due_at_and_issued_at_th_end')
            @stack('status_th_start')
            @if (! $hideStatus)
            
                @stack('status_th_inside_start')
                
                @stack('status_th_inside_end')
            
            @endif
            @stack('status_th_end')
            @stack('contact_name_ane_document_number_th_start')
            @if (! $hideContactName || ! $hideDocumentNumber)
            
                @stack('contact_name_th_start')
                @if (! $hideContactName)
                
                    @stack('contact_name_th_inside_start')
                    
                    @stack('contact_name_th_inside_end')
                
                @endif
                @stack('contact_name_th_end')
                @stack('document_number_th_start')
                @if (! $hideDocumentNumber)
                
                    @stack('document_number_th_inside_start')
                    
                    @stack('document_number_th_inside_end')
                
                @endif
                @stack('document_number_th_end')
            
            @endif
            @stack('contact_name_ane_document_number_th_end')
            @stack('amount_th_start')
            @if (! $hideAmount)
            
                @stack('amount_th_inside_start')
                
                @stack('amount_th_inside_end')
            
            @endif
            @stack('amount_th_end')
        
    
    
        @foreach($documents as $item)
            @php $paid = $item->paid; @endphp
            
                @if (! $hideBulkAction)
                
                    
                
                @endif
                @stack('due_at_and_issued_at_td_start')
                @if (! $hideDueAt || ! $hideIssuedAt)
                
                    @stack('due_at_td_start')
                    @if (! $hideDueAt)
                    
                        @stack('due_at_td_inside_start')
                        
                        @stack('due_at_td_inside_end')
                    
                    @endif
                    @stack('due_at_td_end')
                    @stack('issued_at_td_start')
                    @if (! $hideIssuedAt)
                    
                        @stack('issued_at_td_inside_start')
                        
                        @stack('issued_at_td_inside_end')
                    
                    @endif
                    @stack('issued_at_td_end')
                
                @endif
                @stack('due_at_and_issued_at_td_end')
                @stack('status_td_start')
                @if (!$hideStatus)
                    
                        @stack('status_td_inside_start')
                        
                        @stack('status_td_inside_end')
                    
                @endif
                @stack('status_td_end')
                @stack('contact_name_and_document_number_td_start')
                @if (! $hideContactName || ! $hideDocumentNumber)
                
                    @stack('contact_name_td_start')
                    @if (! $hideContactName)
                    
                        @stack('contact_name_td_inside_start')
                        {{ $item->contact_name }}
                        @stack('contact_name_td_inside_end')
                    
                    @endif
                    @stack('contact_name_td_end')
                    @stack('document_number_td_start')
                    @if (! $hideDocumentNumber)
                    
                        @stack('document_number_td_inside_start')
                        
                            {{ $item->document_number }}
                        
                        
                        @stack('document_number_td_inside_end')
                        
                    
                    @endif
                    @stack('document_number_td_end')
                
                @endif
                @stack('contact_name_and_document_number_td_end')
                @stack('amount_td_start')
                @if (! $hideAmount)
                
                    @stack('amount_td_inside_start')
                    
                    @stack('amount_td_inside_end')
                
                
                    
                
                @endif
                @stack('amount_td_end')
            
        @endforeach