added drag and drop for new records via calendar (#1962)

This commit is contained in:
Kevin Papst
2020-09-17 01:13:48 +02:00
committed by GitHub
parent 14b3de4300
commit 9ef32e75c5
82 changed files with 2808 additions and 385 deletions

View File

@@ -22,4 +22,64 @@ class SystemConfiguration implements SystemBundleConfiguration
{
return $repository->getConfiguration();
}
public function getTimesheetDefaultBeginTime(): string
{
return (string) $this->find('timesheet.default_begin');
}
public function getCalendarBusinessDays(): array
{
return (array) $this->find('calendar.businessHours.days');
}
public function getCalendarBusinessTimeBegin(): string
{
return (string) $this->find('calendar.businessHours.begin');
}
public function getCalendarBusinessTimeEnd(): string
{
return (string) $this->find('calendar.businessHours.end');
}
public function getCalendarTimeframeBegin(): string
{
return (string) $this->find('calendar.visibleHours.begin');
}
public function getCalendarTimeframeEnd(): string
{
return (string) $this->find('calendar.visibleHours.end');
}
public function getCalendarDayLimit(): int
{
return (int) $this->find('calendar.day_limit');
}
public function isCalendarShowWeekNumbers(): bool
{
return (bool) $this->find('calendar.week_numbers');
}
public function isCalendarShowWeekends(): bool
{
return (bool) $this->find('calendar.weekends');
}
public function getCalendarGoogleApiKey(): ?string
{
return $this->find('calendar.google.api_key');
}
public function getCalendarGoogleSources(): ?array
{
return $this->find('calendar.google.sources');
}
public function getCalendarSlotDuration(): string
{
return (string) $this->find('calendar.slot_duration');
}
}