@php $space_map_search_fields = setting_item_array('space_map_search_fields'); $space_map_search_fields = array_values(\Illuminate\Support\Arr::sort($space_map_search_fields, function ($value) { return $value['position'] ?? 0; })); @endphp @if(!empty($space_map_search_fields)) @foreach($space_map_search_fields as $field) @switch($field['field']) @case ('location') @include('Space::frontend.layouts.search-map.fields.location') @break @case ('attr') @include('Space::frontend.layouts.search-map.fields.attr') @break @case ('date') @include('Space::frontend.layouts.search-map.fields.date') @break @case ('price') @include('Space::frontend.layouts.search-map.fields.price') @break @case ('advance')
{{__('More filters')}}
@break @endswitch @endforeach @endif