@php /** @var Botble\Table\Abstracts\TableAbstract $table */ @endphp
@if ($table->hasFilters()) !$table->isFiltering(), 'display: block' => $table->isFiltering()]) > {!! $table->renderFilter() !!} @endif $table->hasBulkActions(), 'has-filter' => $table->hasFilters(), ])>
@if ($table->hasBulkActions()) @foreach ($table->getBulkActions() as $action) {!! $action !!} @endforeach @endif @if ($table->hasFilters()) {{ trans('core/table::table.filters') }} @endif
@foreach($table->getButtons() as $button) @if (Arr::get($button, 'extend') === 'collection') @else @endif @endforeach @foreach($table->getDefaultButtons() as $defaultButton) @if (is_string($defaultButton)) @switch($defaultButton) @case('reload') @break @case('export') @break @case('visibility') @break @endswitch @else @dd($defaultButton) @endif @endforeach
$table->hasBulkActions(), 'table-has-filter' => $table->hasFilters(), ])> @section('main-table') {!! $dataTable->table(compact('id', 'class'), false) !!} @show
@push('footer') @include('core/table::modal') {!! $dataTable->scripts() !!} @endpush