Quellcode durchsuchen

Correctif purchaseOrder complementaryOrderShop

packProduct
Fabien Normand vor 2 Jahren
Ursprung
Commit
755440bade
1 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
  1. +10
    -1
      Solver/Order/OrderShopSolver.php

+ 10
- 1
Solver/Order/OrderShopSolver.php Datei anzeigen

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

Laden…
Abbrechen
Speichern