• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/order/contactcompanyentity.php
  • Класс: Bitrix\Crm\Order\ContactCompanyEntity
  • Вызов: ContactCompanyEntity::getBankRequisiteList
public function getBankRequisiteList()
{
	$entityBankDetail = new Crm\EntityBankDetail();

	$dbRes = $entityBankDetail->getList([
		'filter' => [
			'=ENTITY_ID' => $this->getField('ENTITY_ID'),
			'=ENTITY_TYPE_ID' => static::getEntityType()
		],
		'order' => ["SORT" => "ASC", "ID"=>"ASC"],
	]);

	$result = [];
	while ($data = $dbRes->fetch())
	{
		$result[$data['ID']] = $data;
	}

	return $result;
}