diff --git a/app/src/Service/Venta/PropiedadUnidad.php b/app/src/Service/Venta/PropiedadUnidad.php index 9cb4f7e..59aa9ae 100644 --- a/app/src/Service/Venta/PropiedadUnidad.php +++ b/app/src/Service/Venta/PropiedadUnidad.php @@ -96,9 +96,7 @@ class PropiedadUnidad try { $unidad->precios = $this->precioService->getByUnidad($unidad->id); $unidad->currentPrecio = $this->precioService->getVigenteByUnidad($unidad->id); - if ($unidad->valor === null or $unidad->valor === 0) { - $unidad->valor = $unidad->currentPrecio->valor; - } + $unidad->valor = $unidad->currentPrecio->valor; } catch (Read) {} return $unidad; }