new system-config to prevent overlapping records (#1720)

This commit is contained in:
Kevin Papst
2020-06-28 22:09:50 +02:00
committed by GitHub
parent e566305426
commit e22830790b
17 changed files with 246 additions and 20 deletions

View File

@@ -23,6 +23,11 @@ class TimesheetConfiguration implements SystemBundleConfiguration
return (bool) $this->find('rules.allow_future_times');
}
public function isAllowOverlappingRecords(): bool
{
return (bool) $this->find('rules.allow_overlapping_records');
}
public function getTrackingMode(): string
{
return (string) $this->find('mode');