{{-- Extends layout --}} @extends('layout.default') {{-- Content --}} @section('content')

Property Info

{{$property_details->address}}, {{$property_details->p_code}}

@php $status_ = Helper::propertyHistoryStatus($property_details->id); @endphp {{$status_}} @if($property_details->price>0) £{{number_format($property_details->price)}} @else POA @endif
@if($property_details->title)
Title of Property : {{ucfirst($property_details->title)}}
@endif
Type of Property : {{ucfirst($property_details->property_type)}}
Bedrooms : {{$property_details->bed_rooms}}
Fallen Through : @if($property_details->fallen_through==1)Yes @else No @endif
Listed Date : @if($property_details->listed_date) {{date("d M Y",strtotime($property_details->listed_date))}} @else Hidden from public @endif
@if($property_details->last_sold_date)
Last Sold Date : @if(strlen($property_details->last_sold_date)<=4) {{$property_details->last_sold_date}} @else {{date("d M Y",strtotime($property_details->last_sold_date))}} @endif
@endif @if($property_details->last_sold_price)
Last Sold price : £{{number_format($property_details->last_sold_price)}}
@endif

Listing Activity

@if(count($listing_activity)>0) @foreach($listing_activity as $list) @if(strtolower($list->type)!="last sold") @endif @endforeach @endif
Activity Event Date Portal Agency Price
@if(strtolower($list->type)=="first listed") For sale @else {{$list->type}} @endif @if($list->event_date) {{date("d M Y",strtotime($list->event_date))}} @else @if(strlen($list->sold_year)<=4) {{$list->sold_year}} @else {{date("d M Y",strtotime($list->sold_year))}} @endif @endif @if($list->portal==1) Zoopla @else Rightmove @endif @php $agent_url = Helper::agentUrl($list->agency_id); @endphp @if($agent_url) @if($list->portal==1) @if($agent_url->zoopla_url) {{ucfirst($list->name)}} @else {{ucfirst($list->name)}} @endif @else @if($agent_url->rightmove_url) {{ucfirst($list->name)}} @else {{ucfirst($list->name)}} @endif @endif @else {{ucfirst($list->name)}} @endif £{{number_format($list->price)}}
@if(count($letter_list)>0)

Your Property Letters

@foreach($letter_list as $item) @endforeach
State Send Date Letter Template Campaign State
{{ucfirst($item->letter_state)}} {{date("d M Y",strtotime($item->last_sent_date))}} {{ucfirst($item->letter_name)}} {{ucfirst($item->campaign_state)}}
@endif
@endsection {{-- Styles Section --}} @section('styles') @endsection {{-- Scripts Section --}} @section('scripts') {{-- vendors --}} {{-- page scripts --}}