@extends('backend.app') @section('title', 'Property Details') @section('content')
Media Overview
@if($data->gallery->count() > 0)
@foreach($data->gallery as $media)
@if($media->type == 'image') Property Media @elseif($media->type == 'video') @endif

{{ $media->type }} - {{ $media->is_thumbnail ? 'Thumbnail' : 'Gallery' }}

@endforeach
@else

No media uploaded for this property.

@endif
Title {{ $data->title }}
Internal Code {{ $data->internal_code }}
Property Type {{ $data->PropertyType->name ?? 'N/A' }}
Agent {{ $data->agent->name ?? 'N/A' }}
Tag {{ $data->tag->name ?? 'N/A' }}
Status {{ str_replace('_', ' ', ucfirst($data->status)) }}
Sales Type {{ ucfirst($data->sales_type) }}
House Type {{ ucfirst($data->house_type) }}
Bedrooms {{ $data->bedrooms }}
Bathrooms {{ $data->bathrooms }}
Area {{ $data->area }} sqft
Price ${{ number_format((float) $data->price, 2) }}
Discount Price ${{ number_format((float) $data->discount_price, 2) }}
Latitude {{ $data->latitude }}
Longitude {{ $data->longitude }}
Address {{ $data->address }}
City {{ $data->city }}
State {{ $data->state }}
Zip Code {{ $data->zip_code }}
Country {{ $data->country }}
Description {{ $data->description }}
Back
@endsection