@if ($showFilters && count(array_filter($filters)) && !(count(array_filter($filters)) === 1 && isset($filters['search'])))
@lang('Applied Filters'):
@foreach($filters as $key => $value)
@if ($key !== 'search' && strlen($value))
{{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}: {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }}
@endif
@endforeach
@endif