feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
339 changed files with 988 additions and 13896 deletions
Showing only changes of commit 5736a346e7 - Show all commits

View File

@ -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;
}