if ($lockedDays[$column-1])
$field->setEnabled(false);
$field->setFormName($table->getFormName());
if ($lockedDays[$column-1])
$field->setEnabled(false);
$field->setFormName($table->getFormName());
$field->setValue($table->getValueAt($row,$column)['duration']);
// Disable control when time entry mode is TYPE_START_FINISH and there is no value in control
// because we can't supply start and finish times in week view - there are no fields for them.
$field->setValue($table->getValueAt($row,$column)['duration']);
// Disable control when time entry mode is TYPE_START_FINISH and there is no value in control
// because we can't supply start and finish times in week view - there are no fields for them.