• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice_invoice.php
  • Класс: \CCrmInvoiceRestService
  • Вызов: CCrmInvoiceRestService::getAllowedFilterOperations
static function getAllowedFilterOperations()
{
	if (self::$arAllowedFilterOperations === null)
	{
		$isOrderConverted = \Bitrix\Main\Config\Option::get("main", "~sale_converted_15", 'Y');
		if ($isOrderConverted != 'N')
		{
			self::$arAllowedFilterOperations = array(
				'', '!><', '!=%', '!%=', '!==', '!=', '!%', '><', '>=', '<=', '=%', '%=', '!@', '==', '=', '%', '?',
				'>', '<', '!', '@', '*', '*=', '*%'
			);
		}
		else
		{
			self::$arAllowedFilterOperations = array('', '!', '+', '>=', '>', '<=', '<', '@', '~', '=%', '%');
		}
	}

	return self::$arAllowedFilterOperations;
}