added punch-in punch-out / time-clock mode (#812)
This commit is contained in:
@@ -80,9 +80,9 @@ class Configuration implements ConfigurationInterface
|
||||
->defaultValue('default')
|
||||
->validate()
|
||||
->ifTrue(function ($value) {
|
||||
return !in_array($value, ['default', 'duration_only']);
|
||||
return !in_array($value, ['default', 'duration_only', 'punch']);
|
||||
})
|
||||
->thenInvalid('Chosen timesheet mode is invalid, allowed values: default, duration_only')
|
||||
->thenInvalid('Chosen timesheet mode is invalid, allowed values: default, duration_only, punch')
|
||||
->end()
|
||||
->end()
|
||||
->booleanNode('markdown_content')
|
||||
|
||||
Reference in New Issue
Block a user