@if($subCategory->slug == 'sale')

{{__('attribute.property type')}} *

{{__('attribute.(You can select only one)')}}

@else

{{__('attribute.I LOOK TO BUY property type')}} *

{{__('attribute.(You can select only one)')}}

@endif @php $subCategoryArray = $subCategory->getSubCategory()->pluck('id','slug'); @endphp
@include('advertisment.partials.titledescription')
@foreach ($propertyType as $type)
@endforeach {{-- @if ($errors->has('property_type')) {{ $errors->first('property_type') }} @else @endif --}}

@if ($subSubCategory->slug == 'residential')

{{__('attribute.Bedrooms')}} *

{{__('attribute.(You can select only one)')}}

@foreach (\App\Models\PropertyAdvertisment::bedRoomsOptions() as $key => $bedRooms)
bedrooms == $key)? 'checked=""' : ''}} />
@endforeach @if ($errors->has('bedrooms')) {{ $errors->first('bedrooms') }} @endif

{{__('attribute.Bathrooms')}}*

{{__('attribute.(You can select only one)')}}

@foreach (\App\Models\PropertyAdvertisment::bathRoomsOptions() as $key => $bathrooms)
bathrooms) == $key) ? 'checked=""' : ''}} />
@endforeach @if ($errors->has('bathrooms')) {{ $errors->first('bathrooms') }} @endif

@endif

{{__('attribute.Carparks')}} *

{{__('attribute.(You can select only one)')}}

@foreach (\App\Models\PropertyAdvertisment::carParksOptions() as $key => $carParks)
carparks) == $key) ? 'checked=""' : ''}} />
@endforeach @if ($errors->has('carparks')) {{ $errors->first('carparks') }} @endif

{{__('attribute.Land and floor area')}} *

@if ($errors->has('land_area_from')) {{ $errors->first('land_area_from') }} @endif
{{--
@if ($errors->has('land_area_to')) {{ $errors->first('land_area_to') }} @endif
--}}
@if ($errors->has('floor_area_from')) {{ $errors->first('floor_area_from') }} @endif
{{--
@if ($errors->has('floor_area_to')) {{ $errors->first('floor_area_to') }} @endif
--}}

{{__('attribute.More Options')}}

@if($subSubCategory->slug=="residential")

{{__('attribute.(You can select more than one)')}}

@endif
@foreach (\App\Models\PropertyOption::getPropertyOptions($subSubCategory->slug) as $key => $option)
@endforeach @if ($errors->has('property_options')) {{ $errors->first('property_options') }} @endif
0 / 5000
{{-- @if ($subCategory->slug != 'buy') --}}
{{__('attribute.Keywords')}}:

{{__('attribute.(You can write up to 4 extra options)')}}

@php $propertiesoptions = $propertyModel->propertyOptionTypeKeyword->pluck('option_title'); @endphp @foreach (\App\Models\PropertyOption::getKeywordOptions() as $key => $title) @php $keys = $key; $keys++; $placeholder = "Keywords $keys type here"; @endphp
@endforeach

{{-- @endif --}}