added setting to limit the maximum length of a timesheet record (#2612)
This commit is contained in:
@@ -365,6 +365,22 @@ final class SystemConfigurationController extends AbstractController
|
||||
->setConstraints([
|
||||
new GreaterThanOrEqual(['value' => 0])
|
||||
]),
|
||||
/*
|
||||
(new Configuration())
|
||||
->setName('timesheet.rules.break_warning_duration')
|
||||
->setType(IntegerType::class)
|
||||
->setTranslationDomain('system-configuration')
|
||||
->setConstraints([
|
||||
new GreaterThanOrEqual(['value' => 0])
|
||||
]),
|
||||
*/
|
||||
(new Configuration())
|
||||
->setName('timesheet.rules.long_running_duration')
|
||||
->setType(IntegerType::class)
|
||||
->setTranslationDomain('system-configuration')
|
||||
->setConstraints([
|
||||
new GreaterThanOrEqual(['value' => 0])
|
||||
]),
|
||||
]),
|
||||
(new SystemConfigurationModel())
|
||||
->setSection(SystemConfigurationModel::SECTION_LOCKDOWN)
|
||||
|
||||
Reference in New Issue
Block a user