• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/form/schedule/violationform.php
  • Класс: BitrixTimemanFormScheduleViolationForm
  • Вызов: ViolationForm::runAfterValidate
protected function runAfterValidate()
{
	$this->convertToSecondsIfNoErrors('maxExactStartFormatted', 'maxExactStart');
	$this->convertToSecondsIfNoErrors('minExactEndFormatted', 'minExactEnd');
	$this->convertToSecondsIfNoErrors('maxOffsetStartFormatted', 'maxOffsetStart');
	$this->convertToSecondsIfNoErrors('minOffsetEndFormatted', 'minOffsetEnd');
	$this->convertToSecondsIfNoErrors('relativeStartFromFormatted', 'relativeStartFrom');
	$this->convertToSecondsIfNoErrors('relativeStartToFormatted', 'relativeStartTo');
	$this->convertToSecondsIfNoErrors('relativeEndFromFormatted', 'relativeEndFrom');
	$this->convertToSecondsIfNoErrors('relativeEndToFormatted', 'relativeEndTo');

	$this->convertToSecondsIfNoErrors('minDayDurationFormatted', 'minDayDuration');
	$this->convertToSecondsIfNoErrors('maxAllowedToEditWorkTimeFormatted', 'maxAllowedToEditWorkTime');
	$this->convertToSecondsIfNoErrors('maxShiftStartDelayFormatted', 'maxShiftStartDelay');
}