Shipment::getDeliveryOptions

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Shipment
  4. getDeliveryOptions
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/bizproc/document/shipment.php
  • Класс: Bitrix\Crm\Integration\BizProc\Document\Shipment
  • Вызов: Shipment::getDeliveryOptions
static function getDeliveryOptions()
{
	$result = [];
	if (Main\Loader::includeModule('sale'))
	{
		foreach(\Bitrix\Sale\Delivery\Services\Manager::getActiveList() as $service)
		{
			$result[$service['ID']] = $service['NAME'];
		}
	}
	return $result;
}

Добавить комментарий