@extends('admin.layouts.app') @section('title', 'Property Details') @section('content')
Back to Properties

{{ $property->title }}

View on Site Edit Property
@if ($property->images->count() > 0)
{{ $property->title }}
@if ($property->images->count() > 1)
@foreach ($property->images as $image) @endforeach
@endif
@endif

Property Details

Type

{{ $property->property_type_label }}

Listing

{{ $property->listing_type === 'sale' ? 'For Sale' : 'For Rent' }}

Area

{{ number_format($property->area_size) }} {{ $property->area_unit }}

@if ($property->bedrooms)

Bedrooms

{{ $property->bedrooms }}

@endif @if ($property->bathrooms)

Bathrooms

{{ $property->bathrooms }}

@endif @if ($property->facing)

Facing

{{ ucfirst($property->facing) }}

@endif @if ($property->furnishing)

Furnishing

{{ ucfirst(str_replace('-', ' ', $property->furnishing)) }}

@endif

Description

{!! nl2br(e($property->description)) !!}
@if ($property->amenities->count() > 0)

Amenities

@foreach ($property->amenities as $amenity) {{ $amenity->name }} @endforeach
@endif @if ($property->inquiries->count() > 0)

Recent Inquiries

View all
@foreach ($property->inquiries as $inquiry)

{{ $inquiry->name }}

{{ $inquiry->phone }} | {{ $inquiry->email }}

{{ $inquiry->created_at->diffForHumans() }}
@if ($inquiry->message)

{{ Str::limit($inquiry->message, 150) }}

@endif
@endforeach
@endif

{{ $property->formatted_price }}

@if ($property->listing_type === 'rent')

per month

@endif
Status @php $statusColors = [ 'active' => 'badge-success', 'inactive' => 'badge-gray', 'sold' => 'badge-warning', 'rented' => 'badge-info', 'draft' => 'badge-gray', ]; @endphp {{ ucfirst($property->status) }}
Verified {{ $property->is_verified ? 'Yes' : 'No' }}
Featured {{ $property->is_featured ? 'Yes' : 'No' }}
Views {{ number_format($property->views_count) }}
Inquiries {{ $property->inquiries()->count() }}

Location

{{ $property->full_location }}

@if ($property->address)

{{ $property->address }}

@endif

Legal Details

@if ($property->rera_approved)
RERA Approved
@if ($property->rera_number)

{{ $property->rera_number }}

@endif @endif @if ($property->bank_approved)
Bank Loan Available
@endif @if ($property->ownership_type)

Ownership: {{ ucfirst($property->ownership_type) }}

@endif

Meta Info

ID: {{ $property->id }}

Slug: {{ $property->slug }}

Created: {{ $property->created_at->format('M d, Y H:i') }}

Updated: {{ $property->updated_at->format('M d, Y H:i') }}

@if ($property->user)

Owner: {{ $property->user->name }}

@endif
@endsection