diff --git a/app/views/new_gestionnaire/dossiers/_identite_individual.html.haml b/app/views/new_gestionnaire/dossiers/_identite_individual.html.haml new file mode 100644 index 000000000..810ae7e39 --- /dev/null +++ b/app/views/new_gestionnaire/dossiers/_identite_individual.html.haml @@ -0,0 +1,14 @@ +%table.table + %tbody + %tr + %th Civilité : + %td= individual.gender + %tr + %th Prénom : + %td= individual.prenom + %tr + %th Nom : + %td= individual.nom + %tr + %th Date de naissance : + %td= individual.birthdate diff --git a/app/views/new_gestionnaire/dossiers/show.html.haml b/app/views/new_gestionnaire/dossiers/show.html.haml index b747a962f..aaf1f87f0 100644 --- a/app/views/new_gestionnaire/dossiers/show.html.haml +++ b/app/views/new_gestionnaire/dossiers/show.html.haml @@ -4,6 +4,9 @@ - if @dossier.entreprise.present? = render partial: "identite_entreprise", locals: { entreprise: @dossier.entreprise } + - if @dossier.individual.present? + = render partial: "identite_individual", locals: { individual: @dossier.individual } + .card.featured .card-title Construction du dossier - if @dossier.champs.present? && @dossier.champs.any?