@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(); // dd($subCategoryArray ); @endphp
{{-- {{__("category.Cars")}} {{__("category.Boats")}} {{__("category.Caravans")}} --}}
@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\CarDetail::CONDITION_NEW) ? 'checked=""' :'') }} /> coniditional :'') == \App\Models\CarDetail::CONDITION_USED) ? 'checked=""' :'') }} /> coniditional :'') == \App\Models\CarDetail::CONDITION_DAMAGED) ? 'checked=""' :'') }} />

{{__('words.Add Brand')}}

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

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

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

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

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

0 / 5000

@php $i = 0; @endphp @foreach (\App\Models\CarDetail::getCarColors() as $carColorKey => $carColorValue) @php $i ++; @endphp @if($i == 8)
@endif color:'')== $carColorKey ) ? 'checked=""' : ''}} /> @endforeach color : '')== '5000' ) ? 'checked=""' : ''}} />
power_type :'') == \App\Models\CarDetail::POWER_TYPE_HP) || (empty($carModel->power_type))) ? 'checked' : ''}}/>
power_type :'') == \App\Models\CarDetail::POWER_TYPE_KW) ? 'checked' : ''}}/>

@php $carKeywordOptions = !empty($carModel) ? $carModel->getCarKeywords->pluck('keywords') :''; @endphp @if($subCategory->slug != 'buy') @include('advertisment.partials.cars.more-options') @endif
{{__("detail.Keywords")}}:
{{__("words.Enter up to 4 keywords that best describe the product or service.")}}

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