@props([
'createRoute' => null,
'hasNotification'=> false,
'hasDeleteAll' => false,
'deleteAllRoute' => null,
'hasEmail' => false,
'hasReload' => false,
'hasFilter' => false,
'hasSearch' => false,
'hasExport' => false,
'exportPrint' => false,
'exportPdf' => false,
'exportExcel' => false,
'exportWord' => false,
'exportJson' => false,
'exportCopy' => false,
'hasPagination' => false,
'perPage' => 20,
'hasExtraButtons'=> false,
'extraButtons' => null,
])
@if($createRoute)
{{ __('admin/main.create') }}
@endif
@if($hasNotification)
@endif
@if($hasEmail)
@endif
@if($hasReload)
@endif
{{-- Bulk delete moved to .crud-bulk-bar; keep an INVISIBLE element here
so existing JS hooks (.delete-all-button) still get triggered. --}}
@if($hasDeleteAll)
@endif
@if($hasExport && ($exportPrint || $exportPdf || $exportExcel || $exportWord || $exportJson || $exportCopy))
@endif
@if($hasExtraButtons)
{{ $extraButtons ?? '' }}
@endif
@if($hasSearch)
@endif
@if($hasFilter)
@endif
@if($hasPagination)
@endif