Merge branch 'feature/cierres' into develop

This commit is contained in:
Juan Pablo Vial
2025-10-17 19:47:14 -03:00

View File

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