feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
387 changed files with 1134 additions and 17658 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;
}