瀏覽代碼

Correctif purchaseOrder complementaryOrderShop

packProduct
Fabien Normand 2 年之前
父節點
當前提交
755440bade
共有 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…
取消
儲存