Compare commits
2 Commits
ecbff7bfcd
...
6e32b1debc
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e32b1debc | |||
| 5e89e9c830 |
@ -254,6 +254,9 @@ class Reservation extends Ideal\Service\API
|
|||||||
foreach ($model->units as &$unit) {
|
foreach ($model->units as &$unit) {
|
||||||
$unit->unit = $this->unitService->getById($unit->unit->id);
|
$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);
|
$model->buyer = $this->personaService->getById($model->buyer->rut);
|
||||||
return $model;
|
return $model;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user