@extends('frontend.layouts.app') @section('styles') @endsection @section('content')
@foreach($properties as $property)
@if(Storage::disk('public')->exists('property/'.$property->image) && $property->image) {{ $property->title }} @else {{ $property->title }} @endif
purpose }}">
{{ str_limit( $property->title, 40 ) }}
place {{ ucfirst($property->address) }}
location_city {{ ucfirst($property->city) . ", " . ucfirst($property->state) . " " . str_limit($property->postcode, 5, '')}}
home {{ $property->bedroom . " bds | " . $property->bathroom . " ba | " . $property->area . " sqft" }}
comment Comments: {{ $property->comments_count}}
refresh Updated: {{ $property->updated_at->diffForHumans() }}
@if($property->purpose == 'rent') ${{ number_format($property->price) }}/Month @else ${{ number_format($property->price) }} @endif
@endforeach @if(count($properties))
{{ $properties->links() }}
@endif
@endsection @section('scripts') @endsection