Pruebas y chequeos
This commit is contained in:
@ -190,6 +190,7 @@ class Reservation extends Ideal\Service\API
|
||||
}
|
||||
protected function addUnits(Model\Venta\Reservation $reservation, array $units): void
|
||||
{
|
||||
//var_dump(__LINE__, $units);
|
||||
foreach ($units as $unit_id => $value) {
|
||||
try {
|
||||
$unit = $this->unitService->getById($unit_id);
|
||||
@ -202,6 +203,7 @@ class Reservation extends Ideal\Service\API
|
||||
}
|
||||
protected function addPromotions(Model\Venta\Reservation $reservation, array $promotions): void
|
||||
{
|
||||
var_dump(__LINE__, $promotions);
|
||||
foreach ($promotions as $promotion_id) {
|
||||
try {
|
||||
$promotion = $this->promotionService->getById($promotion_id);
|
||||
|
Reference in New Issue
Block a user