Comparacion con valor base

This commit is contained in:
Juan Pablo Vial
2025-10-17 11:59:34 -03:00
parent 06558d778d
commit beb73ba6df
3 changed files with 144 additions and 37 deletions

View File

@ -251,6 +251,9 @@ class Reservation extends Ideal\Service\API
return $this->stateRepository->fetchByReservation($reservation_id);
})
);
foreach ($model->units as &$unit) {
$unit->unit = $this->unitService->getById($unit->unit->id);
}
$model->buyer = $this->personaService->getById($model->buyer->rut);
return $model;
}