@extends('frontend.layouts.app') @section('styles') @endsection @section('content')

{{ $property->title }}

place {{ $property->address . ", " . $property->city . ", " . ucfirst($property->state) . " " . str_limit($property->postcode, 5, '') }}
@if($property->featured == 1) star @endif Bedroom: {{ $property->bedroom}} Bathroom: {{ $property->bathroom}} Area: {{ $property->area}} Sq Ft

@if($property->purpose == 'rent') ${{ number_format($property->price) }}/Month @else ${{ number_format($property->price) }} @endif

@if(!$property->gallery->isEmpty())
@include('pages.properties.slider')
@else
@if(Storage::disk('public')->exists('property/'.$property->image) && $property->image) {{$property->title}} @else {{$property->title}} @endif
@endif
{!! $property->description !!}
@if($property->features)
  • Features
  • @foreach($property->features as $feature)
  • {{$feature->name}}
  • @endforeach
@endif
@if(!empty($property->floor_plan))
Floor Plan
@if(Storage::disk('public')->exists('property/'.$property->floor_plan) && $property->floor_plan) {{$property->title}} @endif
@endif
Location
@if($videoembed)
Video
{!! $videoembed !!}
@endif @if(!empty($property->nearby))
Near By
{!! $property->nearby !!}
@endif
{{ $property->comments_count }} Comments @auth
@endauth
@foreach($property->comments as $comment) @if($comment->approved == 1 || (Auth::check() && $comment->users->id == auth()->user()->id)) @if($comment->parent_id == NULL)
@if($comment->users->image) @else @if($comment->users->isAdmin()) @elseif($comment->users->isAgent()) @else @endif @endif
{{ $comment->users->name }} {{ $comment->created_at->diffForHumans() }} {{ $comment->approved == 0 ? '| Pending Approval' : '' }} @auth Replay @endauth
{{ $comment->body }}
@if(Auth::check() && $comment->users->id == auth()->user()->id)
@if($comment->users->isAdmin())
@elseif($comment->users->isAgent()) @else @endif @csrf
@endif
@endif @endif @foreach($comment->children as $commentchildren) @if($commentchildren->approved == 1 || (Auth::check() && $commentchildren->users->id == auth()->user()->id))
@if($commentchildren->users->image) @else @if($comment->users->isAdmin()) @elseif($comment->users->isAgent()) @else @endif @endif
{{ $commentchildren->users->name }} {{ $commentchildren->created_at->diffForHumans() }} {{ $commentchildren->approved == 0 ? '| Pending Approval' : '' }}
{{ $commentchildren->body }}
@if(Auth::check() && $commentchildren->users->id == auth()->user()->id)
@if($commentchildren->users->isAdmin())
@elseif($commentchildren->users->isAgent()) @else @endif @csrf
@endif
@endif @endforeach @endforeach @auth
Leave a comment
@csrf
@endauth @guest @endguest
{{-- End ./COL M8 --}}
  • Contact with Agent
  • @if($property->user)
    @if($property->user->image) {{ $property->user->username }} @else {{ $property->user->username }} @endif
    {{ $property->user->name }}
    {{ $property->user->email }}

    {{ $property->user->about }}

    Profile
    @endif
  • @csrf
{{-- RATING --}} @php $rating = ($rating == null) ? 0 : $rating; @endphp @endsection @section('scripts')