@extends('backend.layouts.app') @section('title', 'Show Property') @push('styles') @endpush @section('content')

SHOW PROPERTY

{{$property->title}}
Posted By {{$property->user->name}} on {{$property->created_at->toFormattedDateString()}}

  • Price : ${{$property->price}}
  • Bedroom : {{$property->bedroom}}
  • Bathroom : {{$property->bathroom}}
  • City : {{$property->city}}
  • Address : {{$property->address}}
Description
{!!$property->description!!}

MAP

@if($property->floor_plan)

FLOOR PLAN

@if($property->floor_plan && $property->floor_plan != 'default.png')
{{$property->title}}
@endif
@endif @if($videoembed)

PROPERTY VIDEO

{!! $videoembed !!}
@endif @if(!$property->gallery->isEmpty())

GALLERY IMAGE

@endif {{-- COMMENTS --}}

{{ $property->comments_count }} Comments

@foreach($property->comments as $comment) @if($comment->parent_id == NULL)
{{ $comment->users->name }} {{ $comment->created_at->diffForHumans() }}
{{ $comment->body }}
@endif @foreach($comment->children as $comment)
{{ $comment->users->name }} {{ $comment->created_at->diffForHumans() }}
{{ $comment->body }}
@endforeach @endforeach

TYPE

{{$property->type}} for {{$property->purpose}}

FEATURES

@foreach($property->features as $feature) {{$feature->name}} @endforeach
@endsection @push('scripts') @endpush