@extends('layouts.modern') @section('title', 'Property Search - PropertyFinda') @section('content')
to
to

{{ $listings->total() }} Results Found

Properties for {{ request('purpose', 'Sale') }} in {{ request('location', 'United Kingdom') }}

@forelse($listings as $listing)
@php $isFavorited = in_array($listing->id, $user_favorite_ids ?? []); @endphp
@if($listing->thumbnail) {{ $listing->property_title }} @else
No Image
@endif
@if($listing->old_price && $listing->old_price > 0 && $listing->old_price != $listing->price)
£{{ number_format($listing->old_price) }} @php $percentage = round((($listing->old_price - $listing->price) / $listing->old_price) * 100); @endphp -{{ $percentage }}%
@endif £{{ number_format($listing->price) }}
{{ $listing->purpose }}

{{ $listing->property_title }}

{{ Str::limit($listing->address, 65) }}

@if(strtolower($listing->bedrooms) === 'studio') Studio @elseif($listing->bedrooms && $listing->bedrooms > 0) {{ $listing->bedrooms }} Bed{{ $listing->bedrooms > 1 ? 's' : '' }} @else N/A @endif
@if($listing->bathrooms && $listing->bathrooms > 0) {{ $listing->bathrooms }} Bath{{ $listing->bathrooms > 1 ? 's' : '' }} @else N/A @endif
{{ $listing->area_size && is_numeric($listing->area_size) && $listing->area_size > 0 ? number_format((float) $listing->area_size) . ' sqft' : 'N/A' }}
@empty

No properties found.

Try adjusting your filters.

Reset Filters
@endforelse
{{ $listings->links() }}
@endsection @push('scripts') @endpush