@extends('frontend.app')
@section('frontend_app')
{{ $addressParts }}
Properties for {{ $category }}
For {{ ucfirst($property['category_name']) }}
{{ $property['property_name'] }}
{{-- Address --}}
@php
$addr = $property['address'] ?? [];
$addressParts = collect([
$addr['area'] ?? null,
$addr['city'] ?? null,
$addr['state'] ?? null,
$addr['country'] ?? null,
])->filter(fn($val) => $val && $val !== '0')->join(', ');
@endphp
@if ($addressParts)