Pārlūkot izejas kodu

Correctif purchaseOrder complementaryOrderShop

packProduct
Fabien Normand pirms 2 gadiem
vecāks
revīzija
755440bade
1 mainītis faili ar 10 papildinājumiem un 1 dzēšanām
  1. +10
    -1
      Solver/Order/OrderShopSolver.php

+ 10
- 1
Solver/Order/OrderShopSolver.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt