Create new route to redirect from document to work that contains evaluation that contains document

This commit is contained in:
2023-07-13 12:49:01 +02:00
parent 51e382760d
commit 22ded77bde
3 changed files with 57 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ export default {
case 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWork':
return `/fr/person/accompanying-period/work/${n.relatedEntityId}/show`
case 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod\\AccompanyingPeriodWorkEvaluationDocument':
return `/fr/notification/${n.id}/show` // to the notification
return `/fr/person/accompanying-period/work/evaluation/document/${n.relatedEntityId}/show` // to the notification
case 'Chill\\MainBundle\\Entity\\Workflow\\EntityWorkflow':
return `/fr/main/workflow/${n.relatedEntityId}/show`
default: