@extends('layouts.admin') @section('header', 'Asset Intelligence') @section('content')

{{ $listing->property_title }}

Reference: {{ $listing->property_reference_number }} • Posted {{ $listing->created_at->format('M d, Y') }}

{{ $listing->status }}
Property Hero
@if($listing->gallery) @foreach($listing->gallery as $image)
Gallery Image
@endforeach @endif
Thumb Hero
@if($listing->gallery) @foreach($listing->gallery as $image)
Thumb Gallery
@endforeach @endif
@php $specs = [ ['icon' => 'bx-expand', 'label' => 'Total Area', 'value' => $listing->area_size . ' Sq Ft', 'bg' => 'bg-blue-50', 'text' => 'text-[#02b8f2]'], ['icon' => 'bx-bed', 'label' => 'Bedrooms', 'value' => $listing->bedrooms, 'bg' => 'bg-orange-50', 'text' => 'text-[#ff931e]'], ['icon' => 'bx-bath', 'label' => 'Bathrooms', 'value' => $listing->bathrooms, 'bg' => 'bg-blue-50', 'text' => 'text-[#02b8f2]'], ['icon' => 'bx-id-card', 'label' => 'Asset Type', 'value' => $listing->propertyType->title ?? 'N/A', 'bg' => 'bg-orange-50', 'text' => 'text-[#ff931e]'] ]; if($listing->purpose === 'Buy' && $listing->ownershipStatus) { $specs[] = ['icon' => 'bx-key', 'label' => 'Ownership', 'value' => $listing->ownershipStatus->title, 'bg' => 'bg-blue-50', 'text' => 'text-[#02b8f2]']; } if($listing->purpose === 'Rent') { if($listing->rentFrequency) $specs[] = ['icon' => 'bx-timer', 'label' => 'Frequency', 'value' => $listing->rentFrequency->title, 'bg' => 'bg-orange-50', 'text' => 'text-[#ff931e]']; if($listing->cheque) $specs[] = ['icon' => 'bx-wallet', 'label' => 'Payments', 'value' => $listing->cheque->title, 'bg' => 'bg-blue-50', 'text' => 'text-[#02b8f2]']; } @endphp @foreach($specs as $spec)

{{ $spec['label'] }}

{{ $spec['value'] }}

@endforeach

Internal Disclosure & Notes

{!! $listing->description !!}

Premium Amenities

@foreach($listing->features as $feature)
{{ $feature->title }}
@endforeach

Asset Representative

{{ substr($listing->user->name, 0, 1) }}

{{ $listing->user->name }}

{{ $listing->user->roles->first()->name ?? 'Representative' }}

Inquiry Email
@if($listing->latitude && $listing->longitude)
Geographical Node

LAT: {{ $listing->latitude }} | LONG: {{ $listing->longitude }}

@endif @if($listing->video)
Live Inspection
Deal Walkthrough
@endif
@if($listing->latitude && $listing->longitude) @push('scripts') @endpush @endif @endsection