added drag and drop for new records via calendar (#1962)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user