mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
create and review the creation of a person
This commit is contained in:
@@ -16,6 +16,18 @@ chill_person_general_update:
|
||||
pattern: /view/{id}/update
|
||||
defaults: {_controller: CLChillPersonBundle:Person:update }
|
||||
|
||||
chill_person_new:
|
||||
pattern: /new
|
||||
defaults: {_controller: CLChillPersonBundle:Person:new }
|
||||
|
||||
chill_person_review:
|
||||
pattern: /review
|
||||
defaults: {_controller: CLChillPersonBundle:Person:review }
|
||||
|
||||
chill_person_create:
|
||||
pattern: /create
|
||||
defaults: {_controller: CLChillPersonBundle:Person:create }
|
||||
|
||||
|
||||
chill_person_search:
|
||||
pattern: /search
|
||||
|
@@ -7,17 +7,17 @@ CL\Chill\PersonBundle\Entity\Person:
|
||||
groups: [general]
|
||||
name:
|
||||
- NotBlank:
|
||||
groups: [general]
|
||||
groups: [general, creation]
|
||||
- Length:
|
||||
min: 2
|
||||
max: 255
|
||||
minMessage: validation.Person.constraint.name_min
|
||||
maxMessage: validation.Person.constraint.name_max
|
||||
groups: [general]
|
||||
groups: [general, creation]
|
||||
|
||||
surname:
|
||||
- NotBlank:
|
||||
groups: [general]
|
||||
groups: [general, creation]
|
||||
- Length:
|
||||
min: 2
|
||||
max: 255
|
||||
@@ -26,7 +26,8 @@ CL\Chill\PersonBundle\Entity\Person:
|
||||
groups: [general]
|
||||
dateOfBirth:
|
||||
- Date:
|
||||
groups: [general]
|
||||
message: validation.Person.constraint.dateOfBirth.not_valid
|
||||
groups: [general, creation]
|
||||
nbOfChild:
|
||||
- Range:
|
||||
min: 0
|
||||
@@ -48,11 +49,15 @@ CL\Chill\PersonBundle\Entity\Person:
|
||||
CL\Chill\PersonBundle\Entity\PersonHistoryFile:
|
||||
properties:
|
||||
date_opening:
|
||||
- Date: ~
|
||||
- NotNull: ~
|
||||
- Date:
|
||||
message: validation.history.date_opening.not_valid
|
||||
- NotNull:
|
||||
message: validation.history.date_opening.not_null
|
||||
date_closing:
|
||||
- Date: ~
|
||||
- Date:
|
||||
message: validation.history.date_closing.not_valid
|
||||
- NotNull:
|
||||
message: validation.history.date_closing.not_null
|
||||
groups: [closed]
|
||||
constraints:
|
||||
- Callback:
|
||||
|
@@ -2,7 +2,9 @@ person:
|
||||
name: Nom
|
||||
surname: Prénom
|
||||
dateOfBirth: Date de naissance
|
||||
without_date_of_birth: Date de naissance inconnue
|
||||
nationality: Nationalité
|
||||
without_nationality: Sans nationalité
|
||||
civil_union:
|
||||
divorced: Divorcé
|
||||
separated: Séparé
|
||||
@@ -33,6 +35,9 @@ validation:
|
||||
error: '{1} Le champs %field% est incorrect. Veuillez le corriger. | ]1, Inf] Plusieurs champs sont incorrects. Veuillez les vérifier.'
|
||||
controller:
|
||||
Person:
|
||||
review:
|
||||
people_with_similar_name: %nb% personnes ont un nom similaire. Vérifiez qu'il ne s'agit pas de l'une d'elles.
|
||||
problem_with_data: Les données de votre formulaire sont invalides.
|
||||
history:
|
||||
close:
|
||||
done: Bravo ! Le dossier de <em>%name%</em> a été clotûré.
|
||||
@@ -113,6 +118,17 @@ views:
|
||||
motive_of_closing: Motif de clôture
|
||||
texto: Mémo
|
||||
action: Modifier
|
||||
creation:
|
||||
add: Ajouter
|
||||
open: Ouverture d'un dossier
|
||||
review:
|
||||
altName: Nom
|
||||
altDateOfBirth: Prénom
|
||||
altNationality: Nationalité
|
||||
confirm_creation: Confirmer la création
|
||||
creation_date: Date d'ouverture
|
||||
you_will_create_this_person: Vous allez créer le dossier suivant
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -6,6 +6,8 @@ validation:
|
||||
nbOfChild_min: Ce nombre est négatif. Il ne peut y avoir moins de 0 enfants.
|
||||
nbOfChild_max: Ce nombre est trop élevé. Il ne peut être supérieur à {{ limit }}.
|
||||
nbOfChild_invalid: La valeur introduite n'est pas un nombre.
|
||||
dateOfBirth:
|
||||
not_valid: La date de naissance n'est pas valide.
|
||||
history:
|
||||
opening_is_before_closing: L'historique des ouvertures et fermetures de dossier n'est pas cohérent. Des historiques d'ouverture et de fermeture se chevauchent. Vérifiez la liste des ouvertures et fermetures.
|
||||
open_history_without_closing: Vous tentez d'ouvrir un dossier à une date passée alors qu'il est réouvert plus tard. Veuillez insérer une nouvelle ligne d'ouverture avant de la clotûrer avant la suivante.
|
||||
|
Reference in New Issue
Block a user