• Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/lib/integration/report/handler/base.php
  • Класс: BitrixVoximplantIntegrationReportHandlerBase
  • Вызов: Base::getDateGrouping
protected function getDateGrouping(): ?int
{
	$filter = $this->getFilterParameters();

	switch ($filter['TIME_PERIOD_datesel'])
	{
		case DateType::YEAR:
		case DateType::QUARTER:
		case DateType::CURRENT_QUARTER:
			return static::GROUP_MONTH;
		default:
			return static::GROUP_DAY;
	}
}