Pruebas y chequeos

This commit is contained in:
Juan Pablo Vial
2025-08-29 18:33:30 -04:00
parent eeee12e6e9
commit c220e7438b
5 changed files with 57 additions and 6 deletions

View File

@ -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);