SmartInvoice::getExtendedList

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. SmartInvoice
  4. getExtendedList
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/documentgenerator/dataprovider/smartinvoice.php
  • Класс: Bitrix\Crm\Integration\DocumentGenerator\DataProvider\SmartInvoice
  • Вызов: SmartInvoice::getExtendedList
static function getExtendedList(): array
{
	$result = [];

	$type = Container::getInstance()->getTypeByEntityTypeId(\CCrmOwnerType::SmartInvoice);
	$factory = Container::getInstance()->getFactory(\CCrmOwnerType::SmartInvoice);
	if (!$type || !$factory)
	{
		return $result;
	}

	static::extendProvidersListForType($result, $type, $factory->getCategories());

	return $result;
}

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