CCrmViewHelper::RenderOrderStatusControl

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmViewHelper
  4. RenderOrderStatusControl
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_view_helper.php
  • Класс: \CCrmViewHelper
  • Вызов: CCrmViewHelper::RenderOrderStatusControl
static function RenderOrderStatusControl($arParams)
{
	if(!is_array($arParams))
	{
		$arParams = array();
	}

	$arParams['INFOS'] = self::PrepareOrderStatuses();
	$arParams['FINAL_ID'] = \Bitrix\Crm\Order\OrderStatus::getFinalStatus();
	$arParams['ENTITY_TYPE_NAME'] = CCrmOwnerType::ResolveName(CCrmOwnerType::Order);
	return self::RenderProgressControl($arParams);
}

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