@php
$mainLabel = ( $subCategory->getTopSecondRootParentCategory($subCategory)->slug == 'sale') ? 'I WANT TO SELL': 'I LOOK TO BUY';
@endphp
{{__("attribute.$mainLabel")}}
@php
$subCategoryArray = $subCategory->getSubCategory();
@endphp
@if ($subSubCategory->slug != 'office_school')
@include('advertisment.partials.titledescription')
{{-- @if(($subSubCategory->slug != 'other_business_industrial' && $subSubCategory->slug != 'other_manufacturing_machines' && $subSubCategory->slug!= 'office_school_other' && ($category->slug=="sale" || $subCategory->slug=="sale")) || ($category->slug=="buy" || $subCategory->slug=="buy")) --}}
@if(($subSubCategory->slug != 'other_business_industrial' && $subSubCategory->slug != 'other_manufacturing_machines' && $subSubCategory->slug!= 'office_school_other'))
@endif
@php
$brandSlug = $subSubCategory->getTopThirdRootParentCategory($subSubCategory);
$lastSlug = $brandSlug->slug;
if($brandSlug->slug=="manufacturing_machines")
{
$lastSlug = $subSubCategory->slug;
}
@endphp
{{-- @if ($subCategory->getTopSecondRootParentCategory($subCategory)->slug != 'buy') --}}
@php
$businessIndustrialOptions = $business_industrial->businessIndustrialAdvertismnetOption->pluck('value','option_id');
@endphp