Release 2.29 (#5325)
* bump composer packages * fixes #5329 quotes for ANSI_MODE * improve year selection * improve year selection via dropdown * added range selector in month-picker * fix week number if week starts with sunday * fix first day of month in URL * predefined options for week chooser * z-index issue with sticky table header * replace duplicated translations * add logout button to allow user switch without having to re-login in "remember me" login * new flag to detect if invoice entry is a fixed rate * improve export column lengths
This commit is contained in:
@@ -61,11 +61,9 @@ final class ReportUsersYearController extends AbstractController
|
||||
$dateTimeFactory = $this->getDateTimeFactory();
|
||||
|
||||
$defaultDate = $dateTimeFactory->createStartOfYear();
|
||||
$isFinancialYear = false;
|
||||
|
||||
if (null !== ($financialYear = $systemConfiguration->getFinancialYearStart())) {
|
||||
$defaultDate = $this->getDateTimeFactory()->createStartOfFinancialYear($financialYear);
|
||||
$isFinancialYear = true;
|
||||
}
|
||||
|
||||
$values = new YearlyUserList();
|
||||
@@ -74,7 +72,6 @@ final class ReportUsersYearController extends AbstractController
|
||||
$form = $this->createFormForGetRequest(YearlyUserListForm::class, $values, [
|
||||
'timezone' => $dateTimeFactory->getTimezone()->getName(),
|
||||
'start_date' => $values->getDate(),
|
||||
'show_range' => $isFinancialYear,
|
||||
]);
|
||||
|
||||
$form->submit($request->query->all(), false);
|
||||
|
||||
@@ -294,6 +294,8 @@ final class SystemConfigurationController extends AbstractController
|
||||
|
||||
return [
|
||||
(new SystemConfigurationModel('timesheet'))
|
||||
->setTranslation('time_tracking')
|
||||
->setTranslationDomain('messages')
|
||||
->setConfiguration([
|
||||
(new Configuration('timesheet.mode'))
|
||||
->setType(TrackingModeType::class)
|
||||
|
||||
Reference in New Issue
Block a user