• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/integrations/report/handlers/base.php
  • Класс: BitrixImOpenLinesIntegrationsReportHandlersBase
  • Вызов: Base::getSingleData
public function getSingleData()
{
	$calculationResult = $this->getCalculatedData();
	$colorFieldValue = $this->getFormElement('color');



	$data['title'] = $this->getFormElement('label')->getValue();

	$data['value'] = $calculationResult['withoutGrouping']['value'];
	$data['config']['color'] = $colorFieldValue ? $colorFieldValue->getValue() : '#ffffff';

	return $data;
}