Release 2.24 (#5097)

This commit is contained in:
Kevin Papst
2024-10-11 21:56:54 +02:00
committed by GitHub
parent 5fac6a642c
commit ff9bf163ee
32 changed files with 381 additions and 463 deletions

View File

@@ -33,10 +33,7 @@ final class SystemConfiguration
}
/**
* Set an array item to a given value using "dot" notation.
* If no key is given to the method, the entire array will be replaced.
*
* @internal
* Set a new or replace an existing system configuration.
*/
public function set(string $key, mixed $value): void
{
@@ -456,6 +453,11 @@ final class SystemConfiguration
return $this->getIncrement('quick_entry.recent_activities', 5, 0);
}
public function isBreakTimeEnabled(): bool
{
return (bool) $this->find('timesheet.rules.break_time_active');
}
// ========== Company configurations ==========
public function getFinancialYearStart(): ?string