@if ($reordering) @endif @if ($bulkActionsEnabled && count($this->bulkActions)) @endif @foreach($columns as $column) @if ($column->isVisible()) @continue($columnSelect && ! $this->isColumnSelectEnabled($column)) @if ($column->isBlank()) @else @endif @endif @endforeach @if ($secondaryHeader) @if ($reordering) @endif @if ($bulkActionsEnabled && count($this->bulkActions)) @endif @foreach($columns as $column) @if ($column->isVisible()) @continue($columnSelect && ! $this->isColumnSelectEnabled($column)) @if ($column->hasSecondaryHeader()) @if ($column->isHtml()) {{ new \Illuminate\Support\HtmlString($column->secondaryHeaderFormatted($rows)) }} @else {{ $column->secondaryHeaderFormatted($rows) }} @endif @else @endif @endif @endforeach @endif @php $colspan = count($columns); if ($bulkActionsEnabled && count($this->bulkActions)) $colspan++; if ($reordering) $colspan++; @endphp @include('livewire-tables::bootstrap-5.includes.bulk-select-row') @forelse ($rows as $index => $row) @if ($reordering) @endif @if ($bulkActionsEnabled && count($this->bulkActions)) @endif @include($rowView, ['row' => $row]) @empty @lang($emptyMessage) @endforelse @if ($customFooter) @if ($reordering) @endif @if ($bulkActionsEnabled && count($this->bulkActions)) @endif @foreach($columns as $column) @if ($column->isVisible()) @continue($columnSelect && ! $this->isColumnSelectEnabled($column)) @if ($column->hasFooter()) @if ($column->isHtml()) {{ new \Illuminate\Support\HtmlString($column->footerFormatted($rows)) }} @else {{ $column->footerFormatted($rows) }} @endif @else @endif @endif @endforeach @endif