Release 2.31 (#5372)
* simplify translation * bump version * deprecate translations * pass date-range as argument to export and timesheet filter URL from monthly overview report * added class for use in responsive screens * show technical role name * simplify multi-update title * more statistic models * bump composer packages
This commit is contained in:
@@ -38,7 +38,11 @@ final class DashboardController extends AbstractController
|
||||
*/
|
||||
private ?array $widgets = null;
|
||||
|
||||
public function __construct(private EventDispatcherInterface $eventDispatcher, private WidgetService $service, private BookmarkRepository $repository)
|
||||
public function __construct(
|
||||
private readonly EventDispatcherInterface $eventDispatcher,
|
||||
private readonly WidgetService $service,
|
||||
private readonly BookmarkRepository $repository
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -59,11 +59,12 @@ final class ProjectDateRangeController extends AbstractController
|
||||
$byCustomer[$customer->getId()]['projects'][] = $entry;
|
||||
}
|
||||
|
||||
return $this->render('reporting/project_daterange.html.twig', [
|
||||
return $this->render('reporting/project/daterange.html.twig', [
|
||||
'report_title' => 'report_project_daterange',
|
||||
'entries' => $byCustomer,
|
||||
'form' => $form->createView(),
|
||||
'queryEnd' => $dateRange->getEnd(),
|
||||
'queryBegin' => $begin,
|
||||
'queryEnd' => $end,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user