allow to configure the amount of recent activity rows in an empty week (#3026)

This commit is contained in:
Kevin Papst
2021-12-16 16:58:10 +01:00
committed by GitHub
parent 3621b8c27c
commit 04fc954769
74 changed files with 270 additions and 656 deletions

View File

@@ -352,6 +352,11 @@ class SystemConfiguration implements SystemBundleConfiguration
return $this->getIncrement('timesheet.time_increment', $this->getTimesheetDefaultRoundingEnd(), 0);
}
public function getQuickEntriesRecentAmount(): int
{
return $this->getIncrement('quick_entry.recent_activities', 5, 0) ?? 5;
}
// ========== Company configurations ==========
public function getFinancialYearStart(): ?string