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

Property Info

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

@php $status_ = Helper::propertyStatus($house_number_id); @endphp {{($status_)}} @if($property_details->latest_price>0) £{{number_format($property_details->latest_price)}} @else POA @endif
Title of Property : {{ucfirst($property_details->title)}}
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
@if(count($listing_activity)>0)

Listing Activity @if(isset($ambiguity_checker_response) && $ambiguity_checker_response === true) Alert!** @endif

@foreach($listing_activity as $list) @if(strtolower($list->type)!="last sold") @endif @endforeach
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)}}

@endif @if ($campaign_history->count())

Campaign History

@foreach ($campaign_history as $item) @endforeach
Campaign Trigger Last Letter Sent Status
{{$item->campaign->name}} {{$trigger[$item->trigger]}} {{isset($item->campaign->sent_date) && $item->campaign->sent_date ? $item->campaign->sent_date->format('d M Y') : '' }} {{$item->campaign->campaign_status == 1 ? 'Sent' : 'Sending'}}

@endif

Your Property Comments

@if(count($comments)>0)
@foreach($comments as $item)
{{date("d-m-Y",strtotime($item->created_at))}}
{{$item->comment}}
@endforeach
@endif
@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 --}}