person: add validation to relationship to avoid duplicate

This commit is contained in:
nobohan
2022-04-22 16:37:21 +02:00
parent 83dd8f810c
commit 07ea2b771c
4 changed files with 89 additions and 0 deletions

View File

@@ -62,3 +62,7 @@ You cannot associate a resource with the same person: Vous ne pouvez pas ajouter
#location
The period must remain located: 'Un parcours doit être localisé'
The person where the course is located must be associated to the course. Change course's location before removing the person.: "Le parcours est localisé auprès cet usager. Veuillez changer la localisation du parcours avant de suprimer l'usager"
#relationship
relationship:
duplicate: Une relation de filiation existe déjà entre ces 2 personnes