{{-- AJAX Partial: Modal Content Variables: $property (PropertyData), $detail (PropertyDetail|null), $images (Collection) --}} @php $op = strtolower($property->operation ?? ''); $showSaleStatus = str_contains($op, 'sale'); $showRentStatus = str_contains($op, 'rent'); $getIcon = function ($name) { $name = strtolower($name); if (str_contains($name, 'solar') || str_contains($name, 'heater')) { return ''; } if (str_contains($name, 'purifier') || str_contains($name, 'water')) { return ''; } if (str_contains($name, 'temple')) { return ''; } if (str_contains($name, 'club') || str_contains($name, 'house')) { return ''; } if (str_contains($name, 'garden') || str_contains($name, 'park') || str_contains($name, 'lawn')) { return ''; } if (str_contains($name, 'floor')) { return ''; } if (str_contains($name, 'apartent') || str_contains($name, 'apartment')) { return ''; } if (str_contains($name, 'bathroom') || str_contains($name, 'bath')) { return ''; } if (str_contains($name, 'living') || str_contains($name, 'room') || str_contains($name, 'hall')) { return ''; } if (str_contains($name, 'color') || str_contains($name, 'paint')) { return ''; } if (str_contains($name, 'roof') || str_contains($name, 'ceiling')) { return ''; } // Fallback return ''; }; @endphp {{-- Title + Badges + Address at the top --}}
No images available
Bedrooms
{{ !is_null($property->bedrooms) ? (int)$property->bedrooms : '-' }}
Bathrooms
{{ !is_null($property->bathrooms) ? (int)$property->bathrooms : '-' }}
Area SQFT
{{ $property->total_area ? number_format($property->total_area) : '-' }}
No amenities listed.
@endifNo features listed.
@endif{{ $detail->description }}