InvoiceInWork::getDataContext

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. InvoiceInWork
  4. getDataContext
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/widget/data/invoiceinwork.php
  • Класс: Bitrix\Crm\Widget\Data\InvoiceInWork
  • Вызов: InvoiceInWork::getDataContext
public function getDataContext()
{
	$name = $this->getPresetName();
	return ($name === 'OVERALL_COUNT' || $name === 'OVERALL_COUNT_OWED')
		? DataContext::ENTITY : DataContext::FUND;
}

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