@@ -11,7 +11,7 @@ class UserProducerSolver extends AbstractSolver | |||
return $userProducer->credit < 0 || $userProducer->credit > 0; | |||
} | |||
public function filterUserPointsSaleByExclusiveAccess(UserProducer $userProducer, array $pointsSaleArray = []): array | |||
public function filterPointsSaleByExclusiveAccess(UserProducer $userProducer, array $pointsSaleArray = []): array | |||
{ | |||
if(!$userProducer->getExclusiveAccessSelectedPointsSale()) { | |||
return $pointsSaleArray; |
@@ -917,7 +917,7 @@ class OrderController extends ProducerBaseController | |||
} | |||
// Filtre par accès exclusif aux points de vente | |||
$pointsSaleArray = $this->getUserProducerModule()->getSolver()->filterUserPointsSaleByExclusiveAccess( | |||
$pointsSaleArray = $this->getUserProducerModule()->getSolver()->filterPointsSaleByExclusiveAccess( | |||
$userProducer, | |||
$pointsSaleArray | |||
); |