@php $mainLabel = ( $subCategory->slug == 'sale') ? 'I WANT TO SELL': 'I LOOK TO BUY'; @endphp {{__("attribute.$mainLabel")}}

@php $subCategoryArray = $subCategory->getSubCategory()->pluck('id','slug'); $subCategoryNewArray = $subCategory->getSubCategory(); @endphp
{{-- --}}
@foreach ($subCategoryNewArray as $value) @php $hasSubvalue = ''; $count = $value->getSubCategory()->count(); if($count > 0){ $hasSubvalue = !empty($value->getSubCategory()->first()) ? $value->getSubCategory()->first() : ""; } @endphp @if (!empty($model->id)) @else @endif @endforeach
@include('advertisment.partials.titledescription')
coniditional) == \App\Models\CaravansAdvertisment::CONDITION_NEW) ? 'checked=""' :'' }} /> coniditional) == \App\Models\CaravansAdvertisment::CONDITION_USED) ? 'checked=""' :'' }} />
{{__('words.Add Brand')}}

{{__('attribute.(Add a new brand or select "Other")')}}

{{--
{{__("attribute.+ Add")}}

{{__("attribute.(Add Brand)")}}

--}}
0 / 5000

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

@foreach (\App\Models\CaravansAdvertisment::getTypeOptions() as $key => $hullOptions)
@endforeach

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

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

@foreach (\App\Models\CaravansAdvertisment::getBerthOptions() as $key => $berth)
berth == $key)? 'checked=""' : ''}} />
@endforeach

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

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

@foreach (\App\Models\CaravansAdvertisment::bathRoomsOptions() as $key => $bathroom)
bathroom) == $key) ? 'checked=""' : ''}} />
@endforeach

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

@php $i = 0; @endphp @foreach (\App\Models\CaravansAdvertisment::getCaravansColors() as $carColorKey => $carColorValue) @php $i ++; @endphp @if($i == 8)
@endif color)== $carColorKey ) ? 'checked=""' : ''}} /> @endforeach color)== '5000' ) ? 'checked=""' : ''}} />

@php $caravansoptions = $caravansModel->caravansAdvertismnetOption->pluck('value','option_id'); @endphp @if ($subCategory->slug != 'buy')

{{__('attribute.Other')}}

@foreach (App\Models\CaravansOption::where('type', App\Models\CaravansOption::TYPE_CHECK)->get() as $otions)
id]) ? 'checked=""' : ''}} />
@endforeach
@endif
{{__("attribute.Keywords")}}:
{{__("words.Enter up to 4 keywords that best describe the product or service.")}}

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

@foreach (App\Models\CaravansAdvertismentOption::getKeywordOptions() as $key => $Keyotions) @php $keys = $key; $keys++; $placholder = 'Keywords ' . $keys .' type here'; @endphp
@endforeach