@foreach($properties as $index=>$property)
@php $property->property_for == 'FOR RENT' || $property->property_for == 'للايجار' ? ($price = $property->options->per_month) : ($price = $property->options->sale_price); $property->property_for == 'FOR RENT' || $property->property_for == 'للايجار' ? ($currency = $property->options->rent_currency) : ($currency = $property->options->sale_currency); $mon = ''; if ($property->property_for == 'FOR RENT') { $mon = '/month'; } if ($property->property_for == 'للايجار') { $mon = '/شهر'; } if($property->property_for == 'Rent') $property_for = 'Rent'; else $property_for = 'Sale'; @endphp
@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 first)) loading="lazy" @endif src="{{ $property->images()->first()->full_url ?? asset('assets/site/image_notfound.jpg') }}" alt="{{ $property->images()->first()->meta ?? 'image' }}" class="redfin-property-img go-back contain_image 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 }}

{{ $property->location->full_location }}

@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(Route::is('site.property-details')) @endif
@endforeach