• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/form/schedule/violationform.php
  • Класс: BitrixTimemanFormScheduleViolationForm
  • Вызов: ViolationForm::adjustViolationSeconds
public function adjustViolationSeconds()
{
	if ($this->issetValue($this->maxExactStart))
	{
		$this->maxExactStart = $this->maxExactStart + 59;
	}
	if ($this->issetValue($this->relativeStartTo))
	{
		$this->relativeStartTo = $this->relativeStartTo + 59;
	}
	if ($this->issetValue($this->relativeEndTo))
	{
		$this->relativeEndTo = $this->relativeEndTo + 59;
	}
	if ($this->issetValue($this->maxShiftStartDelay))
	{
		$this->maxShiftStartDelay = $this->maxShiftStartDelay + 59;
	}
}