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

{{__("detail.Security and Stabilization")}}
{{__("words.Choose all the security and stability options that the car has.")}}

@php $securityOptions = $carVehicles->getCarVehiclesSecurityProperty->pluck('car_vehicle_property_id','car_vehicle_property_id'); $securityDropDownOptions = $carVehicles->getCarVehiclesSecurityProperty->pluck('car_vehicle_property_id','car_vehicle_property_value'); $multimediaOptions = $carVehicles->getCarVehiclesMultimediaProperty->pluck('car_vehicle_property_id','car_vehicle_property_id'); $seatOptions = $carVehicles->getCarVehiclesSeatProperty->pluck('car_vehicle_property_id','car_vehicle_property_id'); $InteriorOptions = $carVehicles->getCarVehiclesInteriorProperty->pluck('car_vehicle_property_id','car_vehicle_property_id'); $InteriorDropDownOptions = $carVehicles->getCarVehiclesInteriorProperty->pluck('car_vehicle_property_id','car_vehicle_property_value'); $ExteriorOptions = $carVehicles->getCarVehiclesExteriorProperty->pluck('car_vehicle_property_id','car_vehicle_property_id'); @endphp @foreach($carSecurityStabilizationOption as $carSecurityStabilizationKey => $carSecurityStabilizationValue) @if($subSubCategory->slug == "motorcycles") @if($carSecurityStabilizationValue->type == \App\Models\CarsVehiclesAdvertisment::MOTOR_SECURITY_OPTION)
id]) ? "checked" : ''}} id="checkbox_stability{{$carSecurityStabilizationKey}}" name="feature[{{\App\Models\CarDetail::FEATURE_SECURITY}}][{{$carSecurityStabilizationValue->id}}]" value="1">
@elseif($carSecurityStabilizationValue->type == \App\Models\CarsVehiclesAdvertisment::MOTOR_SECURITY_DROPDOWN_OPTION)
@php $typeData = $carSecurityStabilizationValue->type_value @endphp
@endif {{-- In Case of Trailers SubCategory --}} @elseif($subSubCategory->slug == "trailers") @if($carSecurityStabilizationValue->type == \App\Models\CarsVehiclesAdvertisment::TRAILER_SECURITY_OPTION)
id]) ? "checked" : ''}} id="checkbox_stability{{$carSecurityStabilizationKey}}" name="feature[{{\App\Models\CarDetail::FEATURE_SECURITY}}][{{$carSecurityStabilizationValue->id}}]" value="1">
{{-- @elseif($carSecurityStabilizationValue->type == \App\Models\CarsVehiclesAdvertisment::TRAILER_SECURITY_DROPDOWN_OPTION)
@php $typeData = $carSecurityStabilizationValue->type_value @endphp
--}} @endif @else @if($carSecurityStabilizationValue->type == \App\Models\CarDetail::CAR_SECURITY_OPTION)
id]) ? "checked" : ''}} id="checkbox_stability{{$carSecurityStabilizationKey}}" name="feature[{{\App\Models\CarDetail::FEATURE_SECURITY}}][{{$carSecurityStabilizationValue->id}}]" value="1">
@elseif($carSecurityStabilizationValue->type == \App\Models\CarDetail::CAR_SECURITY_DROPDOWN_OPTION)
@php $typeData = $carSecurityStabilizationValue->type_value @endphp
@endif @endif @endforeach
@if($subSubCategory->slug !="trailers")

{{__("detail.Multimedia")}}
{{__("words.Select all the multimedia options the car has.")}}

@foreach($carMultiMediaOption as $carMultiMediaKey => $carMultiMediaValue) @if($subSubCategory->slug == "motorcycles") @if($carMultiMediaValue->type == 2)
id]) ? "checked" : ''}} id="checkbox_multi_{{$carMultiMediaKey}}" name="feature[{{\App\Models\CarDetail::FEATURE_MULTIMEDIA}}][{{$carMultiMediaValue->id}}]" value="1">
@endif @else @if($carMultiMediaValue->type == 1)
id]) ? "checked" : ''}} id="checkbox_multi_{{$carMultiMediaKey}}" name="feature[{{\App\Models\CarDetail::FEATURE_MULTIMEDIA}}][{{$carMultiMediaValue->id}}]" value="1">
@endif @endif @endforeach
@if($subSubCategory->slug != "motorcycles")

{{__("detail.Interior Equipment")}}
{{__("words.Choose all the interior options that the car has")}}

@foreach($carInteriorOption as $carInteriorKey => $carInteriorValue) @if($subSubCategory->slug == "trucks" && $carInteriorValue->type == 1)
id]) ? "checked" : '' }} id="checkbox_Interior_{{$carInteriorKey}}" name="feature[{{ \App\Models\CarDetail::FEATURE_INTERIOR }}][{{$carInteriorValue->id}}]" value="1">
@elseif($subSubCategory->slug == "buses" && ($carInteriorValue->type == 1 || $carInteriorValue->type == 3))
id]) ? "checked" : '' }} id="checkbox_Interior_{{$carInteriorKey}}" name="feature[{{ \App\Models\CarDetail::FEATURE_INTERIOR }}][{{$carInteriorValue->id}}]" value="1">
@elseif($carInteriorValue->type == 2)
@php $typeData = $carInteriorValue->type_value; @endphp
@endif @endforeach

{{__("detail.Seat")}}
{{__("words.Select all the front seat options that the car has.")}}

@foreach($carVehiclesSeatOption as $seatKey => $seatValue)
id]) ? "checked" : '' }} id="checkbox_seat_{{$seatKey}}" name="feature[{{ \App\Models\CarsVehiclesAdvertisment::FEATURE_SEAT }}][{{$seatValue->id}}]" value="1">
@endforeach
@endif

{{__("detail.Exterior Equipment")}}
{{__("words.Select all the exterior options that the car has.")}}

@foreach($carVehicleExteriorOption as $exteriorKey => $exteriorValue) @if($subSubCategory->slug == "motorcycles") @if($exteriorValue->type == \App\Models\CarsVehiclesAdvertisment::MOTORCYCLE_EXTERIOR)
id]) ? "checked" : ''}} id="checkbox_exterior_{{$exteriorKey}}" name="feature[{{\App\Models\CarsVehiclesAdvertisment::FEATURE_EXTERIOR}}][{{$exteriorValue->id}}]" value="1">
@endif @else @if($exteriorValue->type == \App\Models\CarsVehiclesAdvertisment::OTHER_EXTERIOR)
id]) ? "checked" : ''}} id="checkbox_exterior_{{$exteriorKey}}" name="feature[{{\App\Models\CarsVehiclesAdvertisment::FEATURE_EXTERIOR}}][{{$exteriorValue->id}}]" value="1">
@endif @endif @endforeach
@endif