@if ($property->is_exchange)

{{ __('site.exchange') }}

@if(!empty($property->exchange_types))

{{ implode(',', $property->exchange_types->pluck('label')->toArray()) }}

@endif @if(!empty($property->exchange->exchange_comment))

{!! $property->exchange->exchange_comment !!}

@endif @php $country_ids = array_unique($property->exchange->locations->pluck('country_id')->toArray()); $governorate_ids = array_unique($property->exchange->locations->pluck('governorate_id')->toArray()); $city_ids = array_unique($property->exchange->locations->pluck('city_id')->toArray()); $district_ids = array_unique($property->exchange->locations->pluck('district_id')->toArray()); $compound_ids = array_unique($property->exchange->locations->pluck('compound_id')->toArray()); @endphp @if(!empty($country_ids))

{{ implode(',',\App\Country::whereIn('id', $country_ids)->pluck('country_name_' . LaravelLocalization::getCurrentLocale())->toArray()) }}

@endif @if(!empty($governorate_ids))

{{ implode(',',\App\Governorate::whereIn('id', $governorate_ids)->pluck('governorate_name_' . LaravelLocalization::getCurrentLocale())->toArray()) }}

@endif @if(!empty($city_ids[0]))

{{ implode(',',\App\City::whereIn('id', $city_ids)->pluck('city_name_' . LaravelLocalization::getCurrentLocale())->toArray()) }}

@endif @if(implode(',',\App\District::whereIn('id', $district_ids)->pluck('district_name_' . LaravelLocalization::getCurrentLocale())->toArray()))

{{ implode(',',\App\District::whereIn('id', $district_ids)->pluck('district_name_' . LaravelLocalization::getCurrentLocale())->toArray()) }}

@endif @if(implode(',',\App\Compound::whereIn('id', $compound_ids)->pluck('compound_name_' . LaravelLocalization::getCurrentLocale())->toArray()))

{{ implode(',',\App\Compound::whereIn('id', $compound_ids)->pluck('compound_name_' . LaravelLocalization::getCurrentLocale())->toArray()) }}

@endif @if ($property->exchange->priceFrom || $property->exchange->priceTo)

{{ $property->exchange->priceFrom .'-'. $property->exchange->priceTo }}

@endif @if ($property->exchange->avail_untill)

{{ $property->exchange->avail_untill }}

@endif @if ($property->exchange->serious_level)

@foreach(explode(',',$property->exchange->serious_level) as $SE) @lang('site.'.$SE) @if(!$loop->last) , @endif @endforeach

@endif @if ($property->exchange->priceDF)

@foreach(explode(',',$property->exchange->priceDF) as $PD) @lang('site.'.$PD) @if(!$loop->last) , @endif @endforeach

@endif @if ($property->exchange->exWay)

@foreach(explode(',',$property->exchange->exWay) as $way) @lang('site.'.$way) @if(!$loop->last) , @endif @endforeach

@endif @if ($property->comment)

{{ $property->comment }}

@endif
@endif