@extends('site.layouts.master') @section('seoTags') @seoTags() @endsection @php $seo = SEO\Models\Page::where('path', URL::full())->first(); @endphp @section('metatags') @if(!empty($seo)) @endif {{-- --}} @endsection @php $title = $Ttype . ' ' . $Tfor . ' ' . $in . ' ' . $Tcompound . ' ' . $Tlocation . ' ' . $Tbed . ' ' . $Tpayment; @endphp @if (empty($seo->title)) @section('title') @if (empty($property->metadata)) {{ $title }} @else {{ $property->metadata->title }} @endif @endsection @endif @section('content')
{{ Breadcrumbs::render('Property',$property) }}
{!! $markupSchema !!} {!! $breadcrumbSchema !!} {!! $RealestateListingSchema !!}
@lang('site.wherecanlive')
@if (app()->getLocale() == 'ar') @else @endif @lang('site.Back') |

@if ($property->location->governorate->name) {{ $property->location->governorate->name }} @endif @if ($property->location->city->name) @if (app()->getLocale() == 'ar') @else @endif {{ $property->location->city->name }} @endif @if ($property->location->district->name) @if (app()->getLocale() == 'ar') @else @endif {{ $property->location->district->name }} @endif {{-- {{ dd($property->location->compound) }} --}} @if ($property->location->compound->name) @if (app()->getLocale() == 'ar') @else @endif {{ $property->location->compound->name }} @endif

@if (app()->getLocale() == 'ar') @lang('site.CreatedAt'): {{ $property->created_at->translatedFormat('d M') }} @else @lang('site.CreatedAt'): {{ $property->created_at->translatedFormat('d M') }} @endif @if ($property->added_by) @php $addedByUser = App\User::find($property->added_by); @endphp
@lang('site.Addedby'): {{ $addedByUser->username ?? 'Unknown' }}
@endif
@foreach ($property->images as $index => $image) {{ $image->meta ?? 'image' }} @endforeach
@foreach ($property->images as $index => $image) @endforeach
{{ $property->images->first()->meta ?? 'image' }}
@foreach ($property->images as $i => $image) @if ($loop->last)
@lang('site.more_images')
@elseif ($loop->iteration != 1 && $loop->iteration < 5)
{{ $image->meta ?? 'image' }}
@endif @endforeach

@lang('site.price'):

@if ($property->sold == 1 && $property->property_for != 'Rent')

@lang('site.sold')


@elseif($property->sold == 1 && $property->property_for == 'Rent')

@lang('site.Rented')


@endif @if ($property->options->showPrice)

{{-- @if ($property->sold == 1 && $property->property_for != 'Rent') @lang('site.sold')
@elseif($property->sold == 1 && $property->property_for == 'Rent') @lang('site.Rented')
@endif --}} @php $converter = App\CurrencyConverter::first(); $usd = $converter->usd; $eur = $converter->eur; $gbp = $converter->gbp; @endphp @if ($oldPrice) {{-- السعر الجديد --}} @if($property->site_currency == __('site.USD')) {{ number_format($property->site_price * $usd) }} @lang('site.EGP') @elseif($property->site_currency == __('site.EUR')) {{ number_format($property->site_price * $eur) }} @lang('site.EGP') @elseif($property->site_currency == __('site.GBP')) {{ number_format($property->site_price * $gbp) }} @lang('site.EGP') @else {{ number_format($property->site_price) }} {{ $property->site_currency }} @endif {{-- العملة الأصلية --}} @if($property->site_currency != __('site.EGP') && $property->site_currency != null) ({{ number_format($property->site_price) }} {{ $property->site_currency }}) @endif {{-- السعر القديم (متشطب) --}} @if($property->site_currency == 'USD' || $property->site_currency == 'دولار امريكى') {{ number_format($oldPrice * $usd) }} @lang('site.EGP') @elseif($property->site_currency == 'EUR' || $property->site_currency == 'يورو') {{ number_format($oldPrice * $eur) }} @lang('site.EGP') @elseif($property->site_currency == 'GBP' || $property->site_currency == 'جنية استرلينى') {{ number_format($oldPrice * $gbp) }} @lang('site.EGP') @else {{ number_format($oldPrice) }} {{ $property->site_currency }} @endif @else {{-- سعر واحد فقط --}} @if($property->site_currency == __('site.USD')) {{ number_format($property->site_price * $usd) }} @lang('site.EGP') @elseif($property->site_currency == __('site.EUR')) {{ number_format($property->site_price * $eur) }} @lang('site.EGP') @elseif($property->site_currency == __('site.GBP')) {{ number_format($property->site_price * $gbp) }} @lang('site.EGP') @else {{ number_format($property->site_price) }} {{ $property->site_currency }} @endif @if($property->site_currency != __('site.EGP') && $property->site_currency != null) ({{ number_format($property->site_price) }} {{ $property->site_currency }}) @endif @endif

@else

@lang('site.POA')

@endif
{{--

@lang('site.Agent')

--}}
@if ($agent && $agent->id) {{ $agent->username ?? 'image' }} @endif
@if ($agent && $agent->id) {{ $agent->username }} @endif

@lang('site.agent')

@php $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($price = $property->options->per_month) : ($price = $property->options->sale_price); $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($currency = $property->options->rent_currency) : ($currency = $property->options->sale_currency); $mon = ''; if ($Tfor == 'FOR RENT') { $mon = '/month'; } if ($Tfor == 'للايجار') { $mon = '/شهر'; } $property->property_for == 'Rent' ? $property_for = 'Rent' : $property_for = 'Sale'; @endphp

@lang('site.Choose a Prefer time to you'):

@csrf

@lang('site.second_date')(@lang('site.optional'))

@lang('site.in_person')
@lang('site.virtual')
@error('name', 'showing')

{{ $message }}

@enderror @error('email', 'showing')

{{ $message }}

@enderror @error('mobile', 'showing')

{{ $message }}

@enderror
@include('site.pages.forms.contactAgentForm', [ 'agent' => $agent, 'property' => $property, 'gtoken' => 'gtokenma', 'title' => $title, ])
@csrf
@foreach ($errors->offer->all() as $error)

{{ $error }}

@endforeach
@if ($property->is_auction)
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @php // Check if the cookie exists $width = isset($_COOKIE['window_width']) ? $_COOKIE['window_width'] : null; @endphp @if($width >= 990 && $property->property_for != 'Rent')

{{ __('site.mortgage_calc') }}

@endif
{{--

@if ($property->location->governorate->name) {{ $property->location->governorate->name }} @endif @if ($property->location->city->name) {{ $property->location->city->name }} @endif @if ($property->location->district->name) {{ $property->location->district->name }} @endif @if ($property->location->compound->name) {{ $property->location->compound->name }} @endif

--}}
@if($property->site_status == 1) @lang('site.Active') @endif

@lang('site.Seen'): {{$property->views_count}}

@lang('site.listing_id'): {{ $property->id }}

@if (empty($property->metadata->title)) {{ $Ttype . ' ' . $Tfor . ' ' . $in . ' ' . $Tcompound . ' ' . $Tlocation . ' ' . $Tbed . ' ' . $Tsurface . ' ' . $SqFt . ' ' . $Tpayment }} @else {{ $property->metadata->title }} @endif

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

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

@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->property_type->label))

{{ $property->property_type->label }}

@endif @if(!empty($property->subtypes()->first()))

@if (LaravelLocalization::getCurrentLocale() == 'en') @foreach ($property->subtypes()->pluck('sub_type_name')->toArray() as $subt) @if ($loop->iteration > 1) , @endif {{ $subt }} @endforeach @else @foreach ($property->subtypes()->pluck('sub_type_name_ar')->toArray() as $subta) @if ($loop->iteration > 1) , @endif {{ $subta }} @endforeach @endif

@endif @if(!empty($property->property_for))

{{ $property->site_property_for }}

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

{{ __('site.'.$property->options->sale_method) }}

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

{{ $property->options->delevery_year }}

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

{{ $property->options->cap_rate }}

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

{{ $property->options->expected_annual_return }}

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

{{ $property->options->month_installment }}

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

{{ $property->options->number_of_rooms }}

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

{{ $property->options->number_of_suits }}

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

{{ $property->options->no_of_half_bathrooms }}

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

{{ $property->options->year_established }}

@endif @if(!empty($property->options->facing))
@php if (LaravelLocalization::getCurrentLocale() == 'ar') { $facing = explode(',', $property->options->facing); foreach ($facing as $key => $value) { $facing[$key] = __('site.' . $value); } $facing = implode(',', $facing); } else { $facing = $property->options->facing; } @endphp

{{ $facing }}

@endif @if(!empty($property->options->finishing_status) && $property->options->finishing_status != 8)

{{ App\FinishingType::find($property->options->finishing_status)->finishing_type }}

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

{{ $property->options->building_area }}

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

{{ $property->options->the_type_of_construction }}

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

{{ $property->options->street_width }}

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

{{ $property->options->dimensions_width }}

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

{{ $property->options->dimensions_length }}

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

{{ $property->options->dimensions_height }}

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

{{ $property->options->year_built }}

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

{{ $property->options->reception_rooms }}

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

{{ $property->options->no_of_office_rooms }}

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

{{ $property->options->maintenance_type }}

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

{{ $property->options->maintenance_fees }}

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

{{ $property->options->floor_no }}

@endif @if(!empty($property->options->flooring))
@php if (LaravelLocalization::getCurrentLocale() == 'ar') { $flooring = explode(',', $property->options->flooring); foreach ($flooring as $key => $value) { $flooring[$key] = __('site.' . $value); } $flooring = implode(',', $flooring); } else { $flooring = $property->options->flooring; } @endphp

{{ $flooring }}

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

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

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

{{ $property->options->amplitude_student }}

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

{{ $property->options->playground_surface_area }}

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

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

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

{{ $property->options->real_estate_license }}

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

{{ $property->options->available_date }}

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

{{ $property->options->the_type_of_farm }}

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

{{ $property->options->club_house_payment }}

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

{{ $property->options->the_number_of_classes }}

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

{{ $property->options->furniture_status }}

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

{{ $property->options->terrace_size }}

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

@if(app()->getLocale() == 'ar') {{ $property->options->lighting_ar}} @else {{ $property->options->lighting }} @endif

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

{{ $property->options->surgeries_rooms}}

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

{{ $property->options->license_status}}

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

{{ $property->options->swimming_pools }}

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

{{ $property->options->parking }}

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

@if(app()->getLocale() == 'ar') {{ $property->options->security_system_ar}} @else {{ $property->options->security_system }} @endif

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

{{ $property->options->warehouse_type }}

@endif @if(!empty($property->options->farm_area_meter) || !empty($property->options->farm_area_carats) || !empty($property->options->farm_area_arces))

{{ $property->options->farm_area_meter ?? $property->options->farm_area_carats ?? $property->options->farm_area_arces }} @if($property->options->farm_area_meter) @lang('site.SqFt') @else Arces/Carats @endif

@endif @if(!empty($property->options->soil_type))
@php $result = new App\Helpers\StaticOptions(); if (LaravelLocalization::getCurrentLocale() == 'ar') { $soil_type = explode(',', $property->options->soil_type); foreach ($soil_type as $key => $value) { foreach ($result->static_options_handler()->original['soil_type'] as $type) { if ($type['id'] == $value) { $soil_type[$key] = __('site.' . $type['value']); } } } $soil_type = implode(',', $soil_type); } else { $soil_type = $property->options->soil_type; } @endphp

{{ $soil_type }}

@endif @if(!empty($property->options->energy_sources))
@php if (LaravelLocalization::getCurrentLocale() == 'ar') { $energy_sources = explode(',', $property->options->energy_sources); //foreach ($energy_sources as $key => $value) { // $energy_sources[$key] = __('site.' . $value); //} $energy_sources = implode(',', $energy_sources); } else { $energy_sources = $property->options->energy_sources; } @endphp

{{ $energy_sources }}

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

{{ $property->options->water_sources }}

@php if (LaravelLocalization::getCurrentLocale() == 'ar') { $water_sources = explode(',', $property->options->water_sources); foreach ($water_sources as $key => $value) { $water_sources[$key] = __('site.' . $value); } $water_sources = implode(',', $water_sources); } else { $water_sources = $property->options->water_sources; } @endphp

{{ $water_sources }}

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

{{ $property->options->type_of_ownership }}

@endif
@if (str_contains(url()->previous(),'auction') && !preg_match('(exchange|foreclosure|business|participation|income|mortage)', url()->previous()))
@if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@elseif (str_contains(url()->previous(),'mortage') && !preg_match('(exchange|auction|foreclosure|business|participation|income)', url()->previous()))
@if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@elseif ((str_contains(url()->previous(),'exchange') || str_contains(url()->previous(),'swap')) && !preg_match('(auction|foreclosure|business|participation|income|mortage)', url()->previous()))
@if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@elseif (str_contains(url()->previous(),'foreclosure') && !preg_match('(auction|exchange|business|participation|income|mortage)', url()->previous()))
@if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@elseif (str_contains(url()->previous(),'income') && !preg_match('(auction|exchange|foreclosure|business|participation|mortage)', url()->previous()))
@if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@elseif (str_contains(url()->previous(),'participation') && !preg_match('(auction|exchange|foreclosure|business|income|mortage)', url()->previous()))
@if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@elseif (str_contains(url()->previous(),'business') && !preg_match('(auction|exchange|foreclosure|participation|income|mortage)', url()->previous()))
@if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@else
@if($property->is_building_info)

@include('site.pages.properties.detailsParts.building', ['property' => $property])
@endif @if ($property->is_exchange)

@include('site.pages.properties.detailsParts.exchange', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_foreclosure)

@include('site.pages.properties.detailsParts.foreclosure', ['property' => $property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_business)

@include('site.pages.properties.detailsParts.business',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_participation)

@include('site.pages.properties.detailsParts.participation',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_income_property)

@include('site.pages.properties.detailsParts.income',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->is_auction)

@include('site.pages.properties.detailsParts.auction', ['property' => $property])
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') {{-- --}} @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) {{-- @lang('site.Enter_Auction') --}} @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif @if ($property->is_mortage)

@include('site.pages.properties.detailsParts.mortage',['property'=>$property]) @lang('site.WhatsAppMe')
@endif @if ($property->location->compound->project)

@include('site.pages.properties.detailsParts.project',['property'=>$property]) @lang('site.WhatsAppMe')
@endif
@endif

@lang('site.Property_Description')

@if (app()->getLocale() == 'en') @endif
{!! $property->metadata->description !!}
@if (!empty($property->metadata->map_link))

@lang('site.Location')

{!! $property->metadata->map_link !!}
@endif @if ($property->features()->count())

@lang('site.PropertyFeatures')

@foreach ($property->features as $feature)
{{ $feature->name_en }}

{{ $feature->name }}

@endforeach
@endif @if(!empty($property->location->compound->project)) @endif @if(!empty($prices[1]))

@lang('site.Estimated Price History')

@endif @if (auth()->guard('web')->user()) @php $CurrentUser = auth() ->guard('web') ->user(); $owner = $property->request_owner; $tracker = App\ClientProperty::where('property_id', $property->id) ->where('client_id', $CurrentUser->id) ->first(); @endphp @if ( !empty($tracker) || $owner->email == $CurrentUser->email || $owner->phone == $CurrentUser->phone || $CurrentUser->email == 'm.degheady@remax.com.eg' || $owner->agent->profile->phone == $CurrentUser->phone || $owner->agent->email == $CurrentUser->email)

@lang('site.offers')

@foreach ($offers as $offer) @endforeach
{{ __('site.id') }} {{ __('site.offer_details') }} {{ __('site.valid_until') }}
@endif @endif

@lang('site.Property_Description')

{!! $property->metadata->description !!}
@if (app()->getLocale() == 'en') @endif
@if (!empty($property->metadata->map_link))

@lang('site.Location')

{!! $property->metadata->map_link !!}
@endif @if ($property->features()->count())

@lang('site.PropertyFeatures')

@foreach ($property->features as $feature)
{{ $feature->name_en }}

{{ $feature->name }}

@endforeach
@endif @if(!empty($property->location->compound->project)) @endif @if(!empty($prices[1]))

@lang('site.Estimated Price History')

@endif
{{-- @if ($property->is_auction)
@if ($property->auction->brochure) @lang('site.auction_brochure') @endif @if ($property->auction->auction_date > now()->addDays(1)) @lang('site.apply') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date > now() && !empty($property->auction->conditions_book)) @lang('site.download_conditions_book') @endif @if ( $conditions_book_paid != null && $property->auction->auction_date < now() && $property->auction->auction_end_date > now()) @lang('site.Enter_Auction') @endif @if ( $conditions_book_paid != null && $property->auction->auction_end_date < now() && auth()->guard('web')->user() != null) @php $highestBid = App\Bid::where('auction_id', $property->auction->id) ->orderBy('price', 'desc') ->first(); if (!empty($highestBid)) { $auction_user_id = App\AuctionBidder::find($highestBid->bidder_id)->user_id; } else { $auction_user_id = 0; } @endphp @if (auth()->guard('web')->user()->id == $auction_user_id)
🏆 @lang('site.the winner is bidder number') {{ $highestBid->bidder_id }}
@lang('site.The winner will be contacted within 12 hours maximum')
@endif @endif
@endif --}}
{{--

@lang('site.Agent')

--}}
@if (!empty($agent?->id)) {{ $agent?->username ?? 'image' }} @endif
@if (!empty($agent?->id)) {{ $agent?->username }} @endif

@lang('site.agent')

@if (!empty($agent?->profile?->phone)) @lang('site.Call') {{ $agent?->profile?->phone }} @php $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($price = $property->options->per_month) : ($price = $property->options->sale_price); $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($currency = $property->options->rent_currency) : ($currency = $property->options->sale_currency); $mon = ''; if ($Tfor == 'FOR RENT') $mon = '/month'; if ($Tfor == 'للايجار') $mon = '/شهر'; @endphp @lang('site.WhatsAppMe') @endif

@lang('site.Choose a Prefer time to you'):

@csrf
{{-- --}} {{-- --}}
{{-- --}} {{-- --}}

@lang('site.second_date')(@lang('site.optional'))

{{-- --}} {{-- --}}
{{-- --}} {{-- --}}
@lang('site.in_person')
@lang('site.virtual')
@foreach ($errors->showing->all() as $error)

{{ $error }}

@endforeach
@include('site.pages.forms.contactAgentForm', [ 'agent' => $agent, 'property' => $property, 'gtoken' => 'gtokenma', 'title' => $title, ])
@csrf
@foreach ($errors->offer->all() as $error)

{{ $error }}

@endforeach
@if($width < 990 and $property->property_for != 'Rent')

{{ __('site.mortgage_calc') }}

@endif
@lang('site.we_take_fraud_very') @lang('site.report_this_listing')
@foreach ($related_properties as $property)

{{ $property->price }} {{ $property->currency }}

{{ $property->site_title }}

@endforeach @foreach ($nearby_sold_properties as $property)

{{ $property->price }} {{ $property->currency }}

{{ $property->site_title }}

@endforeach
@if ($seo != null)
@php if (LaravelLocalization::getCurrentLocale() == 'ar') { $content = $seo->content_ar; } else { $content = $seo->content; } @endphp @if (isset($content)) @if(!empty($content))
@endif
@endif
@endif

@lang('site.Related_Properties')

@foreach ($related_properties as $index=>$relatedProperty)
@php $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($price = $property->options->per_month) : ($price = $property->options->sale_price); $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($currency = $property->options->rent_currency) : ($currency = $property->options->sale_currency); $mon = ''; if ($Tfor == 'FOR RENT') { $mon = '/month'; } if ($Tfor == 'للايجار') { $mon = '/شهر'; } if($property->property_for == 'Rent') $property_for = 'Rent'; else $property_for = 'Sale'; @endphp @include('site.template.property-horizontal', [ 'property' => $relatedProperty, 'related_properties' => $related_properties, ])
@endforeach
@if(!empty($nearby_sold_properties[0]))

@if($property->property_for == 'Rent') @lang('site.nearby_recent_rented_properties') @else @lang('site.nearby_recent_sold_properties') @endif

@foreach ($nearby_sold_properties as $index=>$soldProperty)
@php $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($price = $property->options->per_month) : ($price = $property->options->sale_price); $Tfor == 'FOR RENT' || $Tfor == 'للايجار' ? ($currency = $property->options->rent_currency) : ($currency = $property->options->sale_currency); $mon = ''; if ($Tfor == 'FOR RENT') { $mon = '/month'; } if ($Tfor == 'للايجار') { $mon = '/شهر'; } if($property->property_for == 'Rent') $property_for = 'Rent'; else $property_for = 'Sale'; @endphp @include('site.template.property-horizontal', [ 'property' => $soldProperty, 'related_properties' => $nearby_sold_properties, ])
@endforeach
@endif
@endsection @section('script')