@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))
{{ $property->options->no_of_bedrooms }}
@lang('site.Bedrooms')
@endif
@if(!empty($property->options->no_of_bathrooms))
{{ $property->options->no_of_bathrooms }}
@lang('site.Bathrooms')
@endif
@if(!empty($property->options->size) || !empty($property->options->surface_area) || !empty($property->options->plot_area))
{{ $property->options->size ?? $property->options->surface_area ?? $property->options->plot_area }}
@lang('site.SqFt')
@endif
@if(Route::is('site.property-details'))
@endif