@extends('layouts.app', ['title' => term('nav_properties','Inmuebles')]) @section('header_actions') @endsection @section('content')
{{ $properties->total() }}
Propiedades
{{ $properties->getCollection()->where('status','Disponible')->count() }}
Disponibles
{{ $properties->getCollection()->sum('landing_views') }}
Visitas a landings
${{ number_format($properties->getCollection()->sum('price'),0) }}
Valor de inmuebles
@if(request()->hasAny(['search','type','status','project_id','featured']))@endif
Mapa
@forelse($properties as $property)
@if($property->featured)
DESTACADA
@endif
@if($property->cover_image) @else
@endif {{ $property->status }} @if($property->media->count() > 1) {{ $property->media->count() }} @endif
{{ $property->name }}
@if($property->landing_views > 0) {{ $property->landing_views }} @endif
{{ $property->location ?: '—' }}{{ $property->project ? ' · '.$property->project->name : '' }}
${{ number_format($property->price, 0) }}
{{ $property->type }} · {{ rtrim(rtrim(number_format($property->area_m2,2),'0'),'.') }} m² · {{ $property->bedrooms ?? 0 }} rec · {{ $property->bathrooms ?? 0 }} baños
@if($property->advisor)
{{ $property->advisor->name }}
@endif
Ver landing
Propiedad
Ficha técnica PDF Descargar QR
@csrf @method('DELETE')
@empty
Sin propiedades con esos filtros.
@endforelse
{{ $properties->links() }}
@endsection @section('modals') {{-- ============ AGREGAR PROPIEDAD ============ --}} @push('scripts') @endpush {{-- ============ EDITAR PROPIEDAD ============ --}} @foreach($properties as $property) {{-- ============ MODAL DE COMPARTIR ============ --}} @endforeach @endsection