diff --git a/src/Bundle/ChillCalendarBundle/Resources/views/GenericDoc/calendar_document.html.twig b/src/Bundle/ChillCalendarBundle/Resources/views/GenericDoc/calendar_document.html.twig
index 712b362f5..4cd369366 100644
--- a/src/Bundle/ChillCalendarBundle/Resources/views/GenericDoc/calendar_document.html.twig
+++ b/src/Bundle/ChillCalendarBundle/Resources/views/GenericDoc/calendar_document.html.twig
@@ -53,9 +53,6 @@
{{ mmm.createdBy(document) }}
- -
- {{ chill_entity_workflow_list('Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluationDocument', document.id) }}
-
{% if is_granted('CHILL_CALENDAR_DOC_SEE', document) %}
-
{{ document.storedObject|chill_document_button_group(document.storedObject.title, is_granted('CHILL_CALENDAR_CALENDAR_EDIT', c)) }}
diff --git a/src/Bundle/ChillCalendarBundle/Service/GenericDoc/Providers/AccompanyingPeriodCalendarGenericDocProvider.php b/src/Bundle/ChillCalendarBundle/Service/GenericDoc/Providers/AccompanyingPeriodCalendarGenericDocProvider.php
index e653cfc25..7efc1589d 100644
--- a/src/Bundle/ChillCalendarBundle/Service/GenericDoc/Providers/AccompanyingPeriodCalendarGenericDocProvider.php
+++ b/src/Bundle/ChillCalendarBundle/Service/GenericDoc/Providers/AccompanyingPeriodCalendarGenericDocProvider.php
@@ -28,16 +28,10 @@ final class AccompanyingPeriodCalendarGenericDocProvider implements GenericDocFo
{
public const KEY = 'accompanying_period_calendar_document';
- private EntityManagerInterface $em;
-
- private Security $security;
-
public function __construct(
- Security $security,
- EntityManagerInterface $entityManager
+ private Security $security,
+ private EntityManagerInterface $em
) {
- $this->security = $security;
- $this->em = $entityManager;
}
/**