added setting to limit the maximum length of a timesheet record (#2612)
This commit is contained in:
@@ -211,6 +211,16 @@ class SystemConfiguration implements SystemBundleConfiguration
|
||||
}
|
||||
|
||||
// ========== Timesheet configurations ==========
|
||||
/*
|
||||
public function getTimesheetBreakWarningDuration(): int
|
||||
{
|
||||
return (int) $this->find('timesheet.rules.break_warning_duration');
|
||||
}
|
||||
*/
|
||||
public function getTimesheetLongRunningDuration(): int
|
||||
{
|
||||
return (int) $this->find('timesheet.rules.long_running_duration');
|
||||
}
|
||||
|
||||
public function getTimesheetDefaultBeginTime(): string
|
||||
{
|
||||
@@ -352,6 +362,11 @@ class SystemConfiguration implements SystemBundleConfiguration
|
||||
return (bool) $this->find('theme.colors_limited');
|
||||
}
|
||||
|
||||
public function getThemeAutocompleteCharacters(): int
|
||||
{
|
||||
return (int) $this->find('theme.autocomplete_chars');
|
||||
}
|
||||
|
||||
public function getThemeColorChoices(): ?array
|
||||
{
|
||||
$config = $this->find('theme.color_choices');
|
||||
|
||||
Reference in New Issue
Block a user