@include('components.datatables.search')
@include('components.datatables.buttons')
@if (isset($add_buttons))
@include($add_buttons)
@endif
@if (isset($right_buttons))
@foreach ($right_buttons as $button)
@include('components.form.button', [
'class' => $button['class'] ?? null,
'icon' => $button['icon'] ?? null,
'txt' => $button['txt'] ?? null,
'id' => $button['id'] ?? null,
])
@endforeach
@endif
@if (isset($right_content))
{!! $right_content !!}
@endif
@if (!(isset($with_add) && !$with_add))
@include('components.datatables.buttons.add')
@endif