Invoice::getStatusOptions

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Invoice
  4. getStatusOptions
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/bizproc/document/invoice.php
  • Класс: Bitrix\Crm\Integration\BizProc\Document\Invoice
  • Вызов: Invoice::getStatusOptions
static function getStatusOptions()
{
	$options = [];
	$statuses = \CCrmStatus::GetStatus('INVOICE_STATUS');
	foreach ($statuses as $status)
	{
		$options[$status['STATUS_ID']] = $status['NAME'];
	}

	return $options;
}

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