1
0
mirror of synced 2024-12-05 03:06:02 +03:00

Merge pull request #1 from gridnevalex/add_updates

Add updates
This commit is contained in:
Kruglov Kirill 2020-07-09 17:30:26 +03:00 committed by GitHub
commit db9e8d788d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

View File

@ -66,12 +66,6 @@ class ClientIdSubscriber implements EventSubscriberInterface
if (null === $account) { if (null === $account) {
throw new AccessDeniedHttpException('ClientId not found'); 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); $this->moduleManager->setAccount($account);
} }

View File

@ -106,6 +106,17 @@ class Configuration
*/ */
public $selfShipmentAvailable = false; public $selfShipmentAvailable = false;
/**
* Возможность работы с заказом, содержащим несколько позиций с одинаковым торговым предложением
*
* @var bool
*
* @Serializer\Groups({"set", "get"})
* @Serializer\SerializedName("duplicateOrderProductSupported")
* @Serializer\Type("boolean")
*/
public $duplicateOrderProductSupported = true;
/** /**
* Разрешить отдельно передавать трек номер * Разрешить отдельно передавать трек номер
* *