@includeIf($beforeTableSlot)
@if($this->searchableColumns()->count())
@endif
@if($this->activeFilters) @lang('Filter active') @endif
@if($this->activeFilters) @endif @if(count($this->massActionsOptions))
@endif @if($exportable)
@endif @if($hideable === 'select') @include('datatables::hide-column-multiselect') @endif @foreach ($columnGroups as $name => $group) @endforeach @includeIf($buttonsSlot)
@if($hideable === 'buttons')
@foreach($this->columns as $index => $column) @if ($column['hideable']) @endif @endforeach
@endif
@unless($this->hideHeader)
@foreach($this->columns as $index => $column) @if($hideable === 'inline') @include('datatables::header-inline-hide', ['column' => $column, 'sort' => $sort]) @elseif($column['type'] === 'checkbox') @unless($column['hidden'])
{{ count($visibleSelected) }}
@endunless @else @include('datatables::header-no-hide', ['column' => $column, 'sort' => $sort]) @endif @endforeach
@endunless
@foreach($this->columns as $index => $column) @if($column['hidden']) @if($hideable === 'inline')
@endif @elseif($column['type'] === 'checkbox') @include('datatables::filters.checkbox') @elseif($column['type'] === 'label')
{{ $column['label'] ?? '' }}
@else
@isset($column['filterable']) @if( is_iterable($column['filterable']) )
@include('datatables::filters.select', ['index' => $index, 'name' => $column['label'], 'options' => $column['filterable']])
@else
@include('datatables::filters.' . ($column['filterView'] ?? $column['type']), ['index' => $index, 'name' => $column['label']])
@endif @endisset
@endif @endforeach
@foreach($this->results as $row)
@foreach($this->columns as $column) @if($column['hidden']) @if($hideable === 'inline')
@endif @elseif($column['type'] === 'checkbox') @include('datatables::checkbox', ['value' => $row->checkbox_attribute]) @elseif($column['type'] === 'label') @include('datatables::label') @else
{!! $row->{$column['name']} !!}
@endif @endforeach
@endforeach @if ($this->hasSummaryRow())
@foreach($this->columns as $column) @unless($column['hidden']) @if ($column['summary'])
{{ $this->summarize($column['name']) }}
@else
@endif @endunless @endforeach
@endif
@if($this->results->isEmpty())

{{ __("There's Nothing to show at the moment") }}

@endif
@unless($this->hidePagination)
{{-- check if there is any data --}} @if(count($this->results))
{{ $this->results->links('datatables::tailwind-simple-pagination') }}
{{__('Results')}} {{ $this->results->firstItem() }} - {{ $this->results->lastItem() }} {{__('of')}} {{ $this->results->total() }}
@endif
@endif
@if($complex)
@endif @includeIf($afterTableSlot)