Send an email when a workflow is send to an external

- create an event subscriber to catch the workflow which arrive to a "sentExternal" step;
- add a messenger's message to handle the generation of the email;
- add a simple message, and a simple controller for viewing the document
- add dedicated tests
This commit is contained in:
2024-10-04 13:40:50 +02:00
parent 7913a377c8
commit a0b5c208eb
11 changed files with 417 additions and 4 deletions

View File

@@ -33,15 +33,15 @@ services:
# workflow related
Chill\MainBundle\Workflow\:
resource: '../Workflow/'
autowire: true
autoconfigure: true
Chill\MainBundle\Workflow\EntityWorkflowManager:
autoconfigure: true
autowire: true
arguments:
$handlers: !tagged_iterator chill_main.workflow_handler
# seems to have no alias on symfony 5.4
Symfony\Component\Mime\BodyRendererInterface:
alias: 'twig.mime_body_renderer'
# other stuffes
chill.main.helper.translatable_string: