@extends('layouts.app') @section('contentSection')
@if ($slug->gallery) @php $gallery = json_decode($slug->gallery, true); @endphp
@foreach ($gallery as $key => $file) @if ($key != 0)
@if ($key == 6) @if (count($gallery) == 7)
@else @endif @else
@endif
@endif @endforeach
@endif
@if ($slug->purpose_id == 38)

{{ $slug->p_id }}

Property ID

@if ($slug->beds)

{{ $slug->beds }}{{ $slug->max_beds ? '-' . $slug->max_beds : '' }}

Bedrooms

@endif @if ($slug->baths)

{{ $slug->baths }}{{ $slug->max_baths ? '-' . $slug->max_baths : '' }}

Bathrooms

@endif @if ($slug->area)

{{ number_format($slug->area) }}{{ $slug->max_area ? '-' . number_format($slug->max_area) : '' }}

Area (Sqft)

@endif @if ($slug->project_completion_date)

{{ $slug->project_completion_date }}

Project completion Date

@endif @if ($slug->unit_type)

{{ $slug->unit_type->name }}

Unit type

@endif
@else

{{ $slug->p_id }}

Property ID

@if ($slug->beds)

{{ $slug->beds }}{{ $slug->max_beds ? '-' . $slug->max_beds : '' }}

Bedrooms

@endif @if ($slug->baths)

{{ $slug->baths }}{{ $slug->max_baths ? '-' . $slug->max_baths : '' }}

Bathrooms

@endif @if ($slug->area)

{{ number_format($slug->area) }}{{ $slug->max_area ? '-' . number_format($slug->max_area) : '' }}

Area (Sqft)

@endif
@endif

{{ $slug->title }}

@if ($slug->getHK())

{!! $slug->getHK() !!}

@endif
@if ($slug->price)

AED {{ number_format($slug->price) }} @if ($slug->purpose && $slug->purpose->id == 37 && $slug->rent_frequency) / {{ $slug->rent_frequency->name }} @endif

@endif

Description

{!! $slug->full_desc !!}
@if ($slug->features)

Features / Amenities


@foreach ($features as $parentName => $attributes)

{{ $parentName }}

@foreach ($attributes as $attribute) @endforeach @endforeach
@endif

Details

  • Bedroom:

  • Purpose:

  • Verified property::

  • @if($slug->cheque)
  • Cheque's:

  • @endif
  • @if ($slug->beds) {{ $slug->beds }}{{ $slug->max_beds ? '-' . $slug->max_beds : '' }} @else N/A @endif

  • {{ $slug->purpose ? $slug->purpose->name : 'N/A' }}

  • {{ $slug->is_verified == 1 ? 'Verified' : 'Unverified' }}

  • @if($slug->cheque)
  • {{$slug->cheque->name}}

  • @endif
  • Bathrooms :

  • Property type :

  • Ownership Status :

  • @if ($slug->baths) {{ $slug->baths }}{{ $slug->max_baths ? '-' . $slug->max_baths : '' }} @else N/A @endif

  • {{ $slug->property_type ? $slug->property_type->name : 'N/A' }}

  • {{ $slug->ownership_status ? $slug->ownership_status->name : 'N/A' }}

@if ($slug->listing_details)

Additional Details

@php $lds = json_decode($slug->listing_details, true); @endphp @foreach ($lds as $ld) @endforeach
Title Starting From Min. Beds Max. Beds Min. Area Max. Area
{{ $ld['title'] }} AED {{ number_format($ld['price']) }} {{ $ld['minBeds'] }} {{ $ld['maxBeds'] }} {{ number_format($ld['minArea']) }} (sqft) {{ number_format($ld['maxArea']) }} (sqft)
@endif @if ($slug->purpose_id == 36)

Mortgage Calculator

Monthly
  • Down Payment
  • Loan Amount
  • Monthly Payment
AED
%
%
@endif @if ($slug->project) @endif

Similar Listings

@foreach (App\Models\Listing::where('id', '!=', $slug->id)->where(['status' => 1, 'city_id' => $slug->city_id, 'purpose_id' => $slug->purpose_id])->latest()->take(5)->get() as $listing) @if ($slug->purpose_id == 38) @else
{{ $listing->title }}
    @if ($listing->is_featured == 1)
  • Featured
  • @endif

{!! $listing->title !!}

    @if ($listing->property_type)
  • {{ $listing->property_type->name }}
  • @endif @if ($listing->beds)
  • {{ $listing->beds }}{{ $listing->max_beds ? '-' . $listing->max_beds : '' }}
  • @endif @if ($listing->baths)
  • {{ $listing->baths }}{{ $listing->max_baths ? '-' . $listing->max_baths : '' }}
  • @endif @if ($listing->area)
  • Area: {{ number_format($listing->area) }}{{ $listing->max_area ? '-' . number_format($listing->max_area) : '' }} sqft
  • @endif
@if ($listing->getHK())

{{ $listing->getHK() }}

@endif
@endif @endforeach
@if ($slug->added_by)
@endif
@endsection @section('pageSpecificScripts') @if ($slug->purpose_id == 36) @endif @if (Session::has('cerrors')) @endif @if (Session::has('csuccess')) @endif @endsection