@if ($request->request_owner) @if ($request->request_owner->agent->id)
@endif
@if ($agent->id)
{{ $agent->username }}
@endif
@lang('site.Request ID') : {{ $request->id }}
@if(!empty($request->locations[0]->city->name)) {{ $request->locations[0]->city->name ?? '' }} @endif{{ $request->locations[0]->city->name }}
{{ $request->demandPropertyTypes->first()->no_of_bedrooms_from }} - {{ $request->demandPropertyTypes->first()->no_of_bedrooms_to }} @lang('site.Bedrooms')
{{ $request->demandPropertyTypes->first()->no_of_bathrooms_from }} - {{ $request->demandPropertyTypes->first()->no_of_bathrooms_to }} @lang('site.Bathroom')
{{ $request->demandPropertyTypes->first()->surface_area_from ?? $request->demandPropertyTypes->first()->size_from ?? $request->demandPropertyTypes->first()->plot_area_from ?? $request->demandPropertyTypes->first()->farm_area_from }} - {{ $request->demandPropertyTypes->first()->surface_area_to ?? $request->demandPropertyTypes->first()->size_to ?? $request->demandPropertyTypes->first()->plot_area_to ?? $request->demandPropertyTypes->first()->farm_area_to }} @lang('site.SqFt')
@php $converter = App\CurrencyConverter::first(); $usd = $converter->usd; $eur = $converter->eur; $gbp = $converter->gbp; if ($request->property_for == 'Rent'){ $price_from = $request->demandPropertyTypes[0]->price_rent_from; $price_to = $request->demandPropertyTypes[0]->price_rent_to; $currency = $request->demandPropertyTypes[0]->price_rent_currency; }else{ $price_from = $request->demandPropertyTypes[0]->price_buy_from; $price_to = $request->demandPropertyTypes[0]->price_buy_to; $currency = $request->demandPropertyTypes[0]->price_buy_currency; } @endphp @if($currency == __('site.USD')) {{ $price_from*$usd }} @lang('site.EGP') @elseif($currency == __('site.EUR')) {{ $price_from*$eur }} @lang('site.EGP') @elseif($currency == __('site.GBP')) {{ $price_from*$gbp }} @lang('site.EGP') @else {{ $price_from.' '.$currency}} @endif @if($currency != __('site.EGP') && $currency != null) ({{ $price_from.' '.$currency}}) @endif @if($currency == __('site.USD')) {{ $price_to*$usd }} @lang('site.EGP') @elseif($currency == __('site.EUR')) {{ $price_to*$eur }} @lang('site.EGP') @elseif($currency == __('site.GBP')) {{ $price_to*$gbp }} @lang('site.EGP') @else {{ $price_to.' '.$currency}} @endif @if($currency != __('site.EGP') && $currency != null) ({{ $price_to.' '.$currency}}) @endif
@endif
@if ($agent->id)
{{ $agent->username }}
@endif