CCrmRestVat::fields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmRestVat
  4. fields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice_invoice.php
  • Класс: \CCrmRestVat
  • Вызов: CCrmRestVat::fields
static function fields()
{
	$fieldsInfo = self::getFieldsInfo();

	$fields = array();
	foreach ($fieldsInfo as $fName => $fInfo)
	{
		$fields[$fName] = self::makeFieldInfo($fInfo);
		$name = \CCrmVat::GetFieldCaption($fName);
		$fields[$fName]['title'] = !empty($name) ? $name : $fName;
	}

	return $fields;
}

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