@endif
@if (!empty($config['table']['filter']))
@foreach ($config['table']['filter'] as $k_f => $f)
@if (empty($f['status']))
@continue
@endif
@if ($f['type'] == 'selection_date')
@slot('option')
@php
$opts = [
'00' => __('filter.all'),
'1' => __('filter.today'),
'2' => __('filter.yesterday'),
'3' => __('filter.last_7_days'),
'4' => __('filter.last_30_days'),
'5' => __('filter.this_month'),
'6' => __('filter.last_month'),
'7' => __('filter.custom'),
];
@endphp
@foreach ($opts as $k => $v)
@endforeach
@endslot
@elseif ($f['type'] == 'select')
@php
$label = __("field.{$k_f}");
$url = route($f['url']);
@endphp
@endif
@endforeach
@endif
@if (!empty($config['table']['btn']['export']))
@else
@endif