• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/integrations/report/statistics/treatment.php
  • Класс: BitrixImOpenLinesIntegrationsReportStatisticsTreatment
  • Вызов: Treatment::createRecord
public function createRecord()
{
	DialogStatTable::add(array(
		'fields' => array(
			'DATE' => $this->getDate(),
			'OPEN_LINE_ID' => $this->getOpenLineId(),
			'SOURCE_ID' => $this->getSourceId(),
			'OPERATOR_ID' => $this->getOperatorId(),
			'FIRST_TREATMENT_QTY' => $this->getIsSessionFirst() ?  1 : 0,
			'REPEATED_TREATMENT_QTY' => !$this->getIsSessionFirst() ? 1 : 0,
		)
	));
}