Merge branch 'feature/cierres' into develop
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user