Timesheet validator: prevent overbooking budgets (#2422)
This commit is contained in:
@@ -131,6 +131,11 @@ class SystemConfiguration implements SystemBundleConfiguration
|
||||
return (bool) $this->find('timesheet.rules.allow_future_times');
|
||||
}
|
||||
|
||||
public function isTimesheetAllowOverbookingBudget(): bool
|
||||
{
|
||||
return (bool) $this->find('timesheet.rules.allow_overbooking_budget');
|
||||
}
|
||||
|
||||
public function isTimesheetAllowOverlappingRecords(): bool
|
||||
{
|
||||
return (bool) $this->find('timesheet.rules.allow_overlapping_records');
|
||||
|
||||
Reference in New Issue
Block a user