@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
{{-- {{ __('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')
conditional) == \App\Models\BoatAdvertisment::CONDITION_NEW ? 'checked=""' : '' }} /> conditional) == \App\Models\BoatAdvertisment::CONDITION_USED ? 'checked=""' : '' }} />
{{__('words.Add Brand')}}

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

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

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

--}}
{{ __('attribute.ft') }}

type) == \App\Models\BoatCategory::TYPE_POWER ? 'checked=""' : '' }} {{ empty(old('conditional')) ? 'checked=""' : '' }} /> type) == \App\Models\BoatCategory::TYPE_SAIL ? 'checked=""' : '' }} />
0 / 5000

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

@foreach (\App\Models\BoatAdvertisment::getHullOptions() as $key => $hullOptions)
@endforeach

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

@foreach (\App\Models\BoatAdvertisment::getEngineOptions() as $engineKey => $engineOptions)
@endforeach

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

@foreach (\App\Models\BoatAdvertisment::getFuelOptions() as $fuelKey => $fuelOptions)
@endforeach

@if ($subCategory->slug != 'buy')
@php $options = $boatModel->boatAdvertismnetOptions->pluck('value', 'boat_option_id'); @endphp @foreach ($boatOptions as $boatOption) @continue($boatOption->type == \App\Models\BoatOption::TYPE_TWO)
@endforeach
@endif
@php $key = '1'; $keyOptions = $boatModel->boatAdvertismnetOptionKeywords->pluck('value', 'boat_option_id'); @endphp @foreach (\App\Models\BoatOption::getKeywordOptions() as $boatKey => $boatOption)
@php $placholder = 'Keywords ' . $key . ' type here'; $keys = $key; $key++; @endphp
@endforeach