@extends('layouts.guest') @section('content')

Search Results ({{ $properties->total() }})

@if($properties->count())
@foreach($properties as $property) @if($property->listing_type == 'rent') @else @endif
@if($property->listing_status != "") {{ucwords(str_replace(['-', '_'], ' ', $property->listing_status))}} @endif @if($property->listing_type != "") {{ucfirst($property->listing_type)}} @endif @if($property->category != "") {{ucwords(str_replace(['-', '_'], ' ', $property->category))}} @endif
{{ $property->name }}
{{ $property->location ?? $property->address ?? '' }}, {{ $property->city }}, {{ $property->state }}
{{ $property->configurations }}
{{ formatPrice($property->min_price) }}
@endforeach
{{ $properties->appends(request()->query())->links() }}
@else

No properties found matching your search criteria.

@endif
@endsection