diff --git a/EventSubscriber/ClientIdSubscriber.php b/EventSubscriber/ClientIdSubscriber.php index f6e6439..47193e7 100644 --- a/EventSubscriber/ClientIdSubscriber.php +++ b/EventSubscriber/ClientIdSubscriber.php @@ -66,12 +66,6 @@ class ClientIdSubscriber implements EventSubscriberInterface if (null === $account) { throw new AccessDeniedHttpException('ClientId not found'); } - if (!$account->isActive()) { - throw new AccessDeniedHttpException('Account is not active'); - } - if ($account->isFreeze()) { - throw new AccessDeniedHttpException('Account is freezed'); - } $this->moduleManager->setAccount($account); } diff --git a/Model/Configuration.php b/Model/Configuration.php index 98ccaff..4cb6c6c 100644 --- a/Model/Configuration.php +++ b/Model/Configuration.php @@ -106,6 +106,17 @@ class Configuration */ public $selfShipmentAvailable = false; + /** + * Возможность работы с заказом, содержащим несколько позиций с одинаковым торговым предложением + * + * @var bool + * + * @Serializer\Groups({"set", "get"}) + * @Serializer\SerializedName("duplicateOrderProductSupported") + * @Serializer\Type("boolean") + */ + public $duplicateOrderProductSupported = true; + /** * Разрешить отдельно передавать трек номер *