Guillaume преди 2 години
родител
ревизия
acd29b9be3
променени са 1 файла, в които са добавени 10 реда и са изтрити 1 реда
  1. +10
    -1
      Solver/Order/OrderShopSolver.php

+ 10
- 1
Solver/Order/OrderShopSolver.php Целия файл

@@ -302,7 +302,16 @@ class OrderShopSolver

return $orderShop;
}

public function refreshOrderShops(array $orderShops): array
{
foreach ($orderShops as $orderShop) {
foreach ($orderShop->getOrderProducts() as $orderProduct) {
$this->entityManager->refresh($orderProduct);
}
$this->entityManager->refresh($orderShop);
}
return $orderShops;
}
public function isReductionCreditAddedToOrder(
OrderShopInterface $orderShop,
ReductionCreditInterface $reductionCredit

Loading…
Отказ
Запис