@extends('layouts.dashboard.inface', ['section' => 'properties']) @section('navbar-buttons') add Nueva propiedad @endsection @section('content') @php $statusLabels = [ 'available' => 'Disponible', 'reserved' => 'Apartada', 'sold' => 'Vendida', 'rented' => 'Rentada', 'unavailable' => 'No disponible', ]; $statusClasses = [ 'available' => 'bg-emerald-100 text-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-300', 'reserved' => 'bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-300', 'sold' => 'bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-300', 'rented' => 'bg-indigo-100 text-indigo-700 dark:bg-indigo-900/30 dark:text-indigo-300', 'unavailable' => 'bg-slate-100 text-slate-600 dark:bg-slate-800 dark:text-slate-300', ]; @endphp
Administra casas, departamentos, locales y propiedades independientes.
{{ $stat['label'] }}
{{ $stat['value'] }}
| Propiedad | Ubicación comercial | Tipo | Superficie | Precio | Estado | Acciones |
|---|---|---|---|---|---|---|
|
@if ($image)
{{ $property->name }} {{ $property->slug }} |
{{ $development?->name ?? 'Propiedad independiente' }} {{ $property->realEstateAgency?->name }} |
{{ $property->unitType?->name ?? 'Sin tipo' }} @if ($model) {{ $model->name }} @endif | {{ $area ? number_format((float) $area, 2) . ' m²' : '—' }} | {{ $property->price !== null ? '$' . number_format((float) $property->price, 2) : 'Por definir' }} {{ $property->currency }} | {{ $statusLabels[$property->status] ?? ucfirst($property->status) }} |
visibility
@if ((int) auth()->user()->role_id !== 3 || (int) $property->owner_user_id === (int) auth()->id())
edit
@endif
|
|
holiday_village
No se encontraron propiedades Crea una propiedad o ajusta los filtros de búsqueda. |
||||||