• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/Activity.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\Activity
  • Вызов: Activity::isOverdue
protected function isOverdue(): bool
{
	if (!$this->isScheduled())
	{
		return false;
	}
	$lightCounterAt = $this->getLightCounterAt();
	if ($lightCounterAt)
	{
		return (new DateTime())->getTimestamp() > $lightCounterAt->getTimestamp();
	}
	return false;
}