From 5f5d4b8f06a8d44641bef5e347528f080ac9abf4 Mon Sep 17 00:00:00 2001 From: LenaertsJ Date: Wed, 4 Sep 2024 15:13:14 +0000 Subject: [PATCH] Add person menu entry for signature list --- .../_workflow.html.twig | 5 ++ ...owSignatureACLAwareRepositoryInterface.php | 23 +++++++ .../Workflow/EntityWorkflowStepRepository.php | 4 +- ...orkflowStepSignatureACLAwareRepository.php | 54 +++++++++++++++++ .../EntityWorkflowStepSignatureRepository.php | 41 ++++--------- .../Controller/PersonSignatureController.php | 60 +++++++++++++++++++ .../Menu/PersonMenuBuilder.php | 17 ++++++ .../views/Person/signature_list.html.twig | 44 ++++++++++++++ .../_accompanying_period_work.html.twig | 5 ++ .../views/Workflow/_evaluation.html.twig | 5 ++ .../Workflow/_evaluation_document.html.twig | 5 ++ .../config/services/controller.yaml | 3 + .../translations/messages.fr.yml | 4 ++ 13 files changed, 240 insertions(+), 30 deletions(-) create mode 100644 src/Bundle/ChillMainBundle/Repository/Workflow/EntityWorkflowSignatureACLAwareRepositoryInterface.php create mode 100644 src/Bundle/ChillMainBundle/Repository/Workflow/EntityWorkflowStepSignatureACLAwareRepository.php create mode 100644 src/Bundle/ChillPersonBundle/Controller/PersonSignatureController.php create mode 100644 src/Bundle/ChillPersonBundle/Resources/views/Person/signature_list.html.twig diff --git a/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/_workflow.html.twig b/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/_workflow.html.twig index 58d4903b4..b1850ff82 100644 --- a/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/_workflow.html.twig +++ b/src/Bundle/ChillDocStoreBundle/Resources/views/AccompanyingCourseDocument/_workflow.html.twig @@ -38,6 +38,11 @@ {% if display_action is defined and display_action == true %}