@if ($property->contract_agreement == 1)
@lang('site.Exclusive')
@endif
@if ($property->is_new == true) @lang('site.new') @endif @if ($property->sold == 1 && $property->property_for != 'Rent') @lang('site.Sold') @elseif($property->sold == 1 && $property->property_for == 'Rent') @lang('site.Rented') @endif {{ $property->property_type->label }} first)) loading="lazy" @endif src="{{ $property->images()->first()->full_url ?? asset('assets/site/image_notfound.jpg') }}" alt="{{ $property->images()->first()->meta ?? 'image' }}" width="600" height="220" class="w-100 rounded go-back contain_image image_height objectFitCover"> @php $converter = App\CurrencyConverter::first(); $usd = $converter->usd; $eur = $converter->eur; $gbp = $converter->gbp; @endphp @if ($property->options->showPrice)

@if ($property->options->sale_currency_id == 2 || $property->options->rent_currency_id == 2) @php $currency = __('site.USD') @endphp @elseif($property->options->sale_currency_id == 3 || $property->options->rent_currency_id == 3) @php $currency = __('site.EUR') @endphp @elseif($property->options->sale_currency_id == 4 || $property->options->rent_currency_id == 4) @php $currency = __('site.GBP') @endphp @else @php $currency = __('site.EGP') @endphp @endif @if($property->options->sale_currency_id == 2 || $property->options->rent_currency_id == 2) {{ $property->price*$usd }} @lang('site.EGP') @elseif($property->options->sale_currency_id == 3 || $property->options->rent_currency_id == 3) {{ $property->price*$eur }} @lang('site.EGP') @elseif($property->options->sale_currency_id == 4 || $property->options->rent_currency_id == 4) {{ $property->price*$gbp }} @lang('site.EGP') @else {{ $property->price.' '.$currency}} @endif @if($currency != __('site.EGP') && $currency != null) ({{ $property->price.' '.$currency}}) @endif

@endif

{{ $property->metadata->title }}

@if(!empty($property->options->no_of_bedrooms))
bedroom

{{ $property->options->no_of_bedrooms }} @lang('site.Bedrooms')

@endif @if(!empty($property->options->no_of_bathrooms))
bathroom

{{ $property->options->no_of_bathrooms }} @lang('site.Bathrooms')

@endif @if(!empty($property->options->size) || !empty($property->options->surface_area) || !empty($property->options->plot_area))
size

{{ $property->options->size ?? $property->options->surface_area ?? $property->options->plot_area }} @lang('site.SqFt')

@endif {{-- @if(!empty($property->options->view))
view

{{ $property->options->view }}

@endif @if(!empty($property->options->building_area))
building area

{{ $property->options->building_area }} @lang('site.SqFt')

@endif @if(!empty($property->options->no_of_floors) && $property->property_type_id != 2)
number of floors

{{ $property->options->no_of_floors }}

@endif @php $result = new App\Helpers\StaticOptions(); $response = $result->static_options_handler(); $originalData = $response->getOriginalContent(); @endphp @if(!empty($property->options->water_sources))
water sources

@php $sources = collect($originalData['water_sources'])->whereIn('id',explode(',',$property->options->water_sources))->all(); $finalSources = ''; $index = 0; foreach ($sources as $source){ if($index != 0) $finalSources .= ','; $finalSources .= $source['value']; $index += 1; } @endphp {{ $finalSources }}

@endif @if(!empty($property->options->the_type_of_construction))
type of construction

@php $constructions = collect($originalData['the_type_of_construction'])->whereIn('id',explode(',',$property->options->the_type_of_construction))->all(); $finalConstructions = ''; $index2 = 0; foreach ($constructions as $construction){ if($index2 != 0) $finalConstructions .= ','; $finalConstructions .= $construction['value']; $index2 += 1; } @endphp {{ $finalConstructions }}

@endif @if(!empty($property->options->soil_type))
soil type

@php $soils = collect($originalData['soil_type'])->whereIn('id',explode(',',$property->options->soil_type))->all(); $finalSoils = ''; $index3 = 0; foreach ($soils as $soil){ if($index3 != 0) $finalSoils .= ','; $finalSoils .= $soil['value']; $index3 += 1; } @endphp {{ $finalSoils }}

@endif @if(!empty($property->participation->return_on_investment_ratio) && Route::is('site.participation'))
return on investment

{{ $property->participation->return_on_investment_ratio }}

@endif --}}
@if(Route::is('site.property-details')) @endif
{{--
--}} @if ($property->request_owner) @if ($property->request_owner->agent->id)
{{--
@if ($property->request_owner->agent->id) {{ $property->request_owner->agent->username ?? 'image' }} @endif @if ($property->request_owner->agent->id) {{ $property->request_owner->agent->username }} @endif
--}}
@if ($property->request_owner->agent->id) {{ $property->request_owner->agent->username ?? 'image' }} @endif @if ($property->request_owner->agent->id) {{ $property->request_owner->agent->username }} @endif
@endif @endif

{{ \Carbon\Carbon::parse($property->updated_at)->translatedFormat('M d') . ' ' . __('site.at') . ' ' . \Carbon\Carbon::parse($property->updated_at)->translatedFormat('h:m A') }}

{{--
--}}