@if($initialized) @if($orderColumn) @endif
{{-- Table header--}} {{-- Filters --}} @if($filtersArray) @endif {{-- Search/Number of rows per page/Head action --}} {{-- Column headings --}} {{-- Bulk actions --}} @if($tableBulkActionsArray) @endif {{-- Sorting/Column titles --}} @foreach($columns as $column) @endforeach {{-- Row actions --}} @if($tableRowActionsArray) @endif {{-- Table body--}} {{-- Rows --}} @forelse($rows as $model) laravel_table_unique_identifier, []), ['border-bottom']))> {{-- Row bulk action selector --}} @if($tableBulkActionsArray) @endif {{-- Row columns values --}} @foreach($columns as $column) @if($loop->first) @else @endif @endforeach {{-- Row actions --}} @if($tableRowActionsArray) @endif @empty @endforelse {{-- Table footer--}} {{-- Results --}} @foreach($results as $result) @endforeach
1 ? ' colspan="' . $columnsCount . '"' : null !!}>
{!! config('laravel-table.icon.filter') !!}
@foreach($filtersArray as $filterArray) @unless($resetFilters)
@endif {!! Okipa\LaravelTable\Abstracts\AbstractFilter::make($filterArray)->render() !!} @unless($resetFilters)
@endif @endforeach @if(collect($this->selectedFilters)->filter(fn(mixed $filter) => isset($filter) && $filter !== '' && $filter !== [])->isNotEmpty()) {!! config('laravel-table.icon.reset') !!} @endif
1 ? ' colspan="' . $columnsCount . '"' : null !!}>
{{-- Search --}}
@if($searchableLabels)
{!! config('laravel-table.icon.search') !!} @if($searchBy) {!! config('laravel-table.icon.reset') !!} @endif
@endif
{{-- Number of rows per page --}} @if($numberOfRowsPerPageChoiceEnabled)
$headActionArray, 'ps-xl-3' => ! $headActionArray, 'py-1'])>
{!! config('laravel-table.icon.rows_number') !!}
@endif {{-- Head action --}} @if($headActionArray)
{{ Okipa\LaravelTable\Abstracts\AbstractHeadAction::make($headActionArray)->render() }}
@endif
{{-- Bulk actions select all --}} {{-- Bulk actions dropdown --}}
@if($column->isSortable($orderColumn)) @if($sortBy === $column->getAttribute()) {!! $sortDir === 'asc' ? config('laravel-table.icon.sort_desc') : config('laravel-table.icon.sort_asc') !!} {{ $column->getTitle() }} @else {!! config('laravel-table.icon.sort') !!} {{ $column->getTitle() }} @endif @else {{ $column->getTitle() }} @endif {{ __('Actions') }}
{!! $orderColumn ? '' . config('laravel-table.icon.drag_drop') . '' : null !!}{{ $column->getValue($model, $tableColumnActionsArray) }} {{ $column->getValue($model, $tableColumnActionsArray) }}
@if($rowActionsArray = Okipa\LaravelTable\Abstracts\AbstractRowAction::retrieve($tableRowActionsArray, $model->getKey())) @foreach($rowActionsArray as $rowActionArray) {{ Okipa\LaravelTable\Abstracts\AbstractRowAction::make($rowActionArray)->render($model) }} @endforeach @endif
1 ? ' colspan="' . $columnsCount . '"' : null !!}> {!! config('laravel-table.icon.info') !!} {{ __('No results were found.') }}
1 ? ' colspan="' . $columnsCount . '"' : null !!}>
{{ $result->getTitle() }}
{{ $result->getValue() }}
1 ? ' colspan="' . $columnsCount . '"' : null !!}>
{!! $navigationStatus !!}
{!! $rows->links() !!}
@else
{{ __('Loading in progress...') }}
{{ __('Loading in progress...') }}
@endif