@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')
{{ trans('core/base::tables.reload') }}
@break
@case('export')
@break
@case('visibility')
@break(! Auth::user() instanceof \Botble\ACL\Models\User || ! AdminHelper::isInAdmin(true))
@break
@endswitch
@endif
@endforeach