Explorar el Código

Merge branch 'develop' of https://forge.laclic.fr/Laclic/CaracoleBundle into develop

packProduct
Guillaume hace 2 años
padre
commit
acd29b9be3
Se han modificado 1 ficheros con 10 adiciones y 1 borrados
  1. +10
    -1
      Solver/Order/OrderShopSolver.php

+ 10
- 1
Solver/Order/OrderShopSolver.php Ver fichero

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

Cargando…
Cancelar
Guardar