mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add flash message in case signature was already applied
This commit is contained in:
parent
0c797c2997
commit
cc8214d52c
@ -383,6 +383,10 @@ class WorkflowController extends AbstractController
|
||||
}
|
||||
|
||||
if ($signature->isSigned()) {
|
||||
$this->addFlash(
|
||||
'notice',
|
||||
$this->translator->trans('workflow.signature_zone.already_signed_alert')
|
||||
);
|
||||
return $this->redirectToRoute('chill_main_workflow_show', ['id' => $signature->getStep()->getEntityWorkflow()->getId()]);
|
||||
}
|
||||
|
||||
|
@ -542,6 +542,7 @@ workflow:
|
||||
user signature: Selectionner utilisateur pour signer
|
||||
persons: Usagers
|
||||
user: Utilisateur
|
||||
already_signed_alert: La signature a déjà été appliquée
|
||||
|
||||
|
||||
Subscribe final: Recevoir une notification à l'étape finale
|
||||
|
Loading…
x
Reference in New Issue
Block a user