{{trans('words.advance_search_filter')}}

{{ html()->form('GET', url('/properties/search')) ->attributes(['class' => 'vfx_hero_form_area vfx2 filter', 'id' => 'search', 'name' => 'search', 'role' => 'form'])->open() }}
{{ html()->form()->close() }}

{{trans('words.latest_property')}}

@foreach(\App\Property::with(['types', 'locations', 'users'])->where('status', 1)->orderby('id', 'DESC')->limit(5)->get() as $latest_data)
{{stripslashes($latest_data->title)}} @if($latest_data->purpose == 'Rent') {{trans('words.rent')}} @else {{trans('words.sale')}} @endif

{{ $latest_data->types->type_name }}

{{Str::limit(stripslashes($latest_data->title), 20)}}

@if(isset($latest_data->locations->name) AND $latest_data->locations->name!="") {{$latest_data->locations->name}} @else {{Str::limit(stripslashes($latest_data->address),20)}} @endif

{{html_entity_decode(getCurrencySymbols(getcong('currency_code')))}}{{number_format($latest_data->price)}}
@endforeach
@if(get_web_banner('sidebar') != "")
{!!stripslashes(get_web_banner('sidebar'))!!}
@endif