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

READ MESSAGE

From: {{ $message->name }} <{{ $message->email }}>

Time: {{ $message->created_at->diffForHumans() }} at {{ $message->created_at->toFormattedDateString() }}

Message

{!! $message->message !!}


reply Reply
@csrf
@if(!empty($property))

ATTACHED PROPERTY

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

  • Price : ${{number_format($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->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

FEATURED IMAGE

@if(Storage::disk('public')->exists('property/'.$property->image) && $property->image) {{$property->title}} @else {{$property->title}} @endif edit EDIT PROPERTY
@endif @endsection @push('scripts') @endpush