@php $featureType = $feature_type ?? \Modules\Feature\Entities\Feature::TYPE_AMENITY; $selectedCategory = old('category_id', $feature->category_id ?? ''); $selectedSubIds = old('sub_category_ids', $selected_sub_category_ids ?? []); $selectedChildIds = old('child_category_ids', $selected_child_category_ids ?? []); if (! is_array($selectedSubIds)) { $selectedSubIds = []; } if (! is_array($selectedChildIds)) { $selectedChildIds = []; } @endphp @if (admin_lang() == request()->get('lang_code', admin_lang()))
{{ __('translate.Leave empty to apply to all subcategories') }}
{{ __('translate.Leave empty to apply to all child categories') }}