@extends('site.pages.profile.layout.layout') @section('profileContent')
@foreach ($favorites as $property)
@if($property->images()->first()->full_url) @if ($property->is_new == true)
@lang('site.new')
@endif @endif @if ($property->options->showPrice)

{{ $property->price }} @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 {{ $currency }}

@endif
{{ $property->metadata->title }}
bedroom

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

bathroom

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

@if ($property->request_owner) @if ($property->request_owner->agent->id)

@lang('site.By'): {{ $property->request_owner->agent->username }}

{{ \Carbon\Carbon::parse($property->property_date)->translatedFormat('M d') . ' ' . __('site.at') . ' ' . \Carbon\Carbon::parse($property->property_date)->translatedFormat('h:m A') }}
@endif @endif
@endforeach
@endsection