2017-12-15 11:26:19 +01:00
|
|
|
.container
|
|
|
|
.tab-title Identité du demandeur
|
|
|
|
.card
|
2018-03-14 11:00:48 +01:00
|
|
|
= render partial: "new_gestionnaire/dossiers/user_infos", locals: { user: dossier.user }
|
|
|
|
|
2018-04-05 18:54:33 +02:00
|
|
|
- if dossier.etablissement.present?
|
|
|
|
= render partial: "new_gestionnaire/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement }
|
2017-12-15 11:26:19 +01:00
|
|
|
|
|
|
|
- if dossier.individual.present?
|
|
|
|
= render partial: "new_gestionnaire/dossiers/identite_individual", locals: { individual: dossier.individual }
|
|
|
|
|
|
|
|
.tab-title Formulaire
|
|
|
|
- champs = dossier.ordered_champs.includes(:type_de_champ).decorate
|
|
|
|
- if champs.any?
|
|
|
|
.card
|
|
|
|
= render partial: "new_gestionnaire/dossiers/champs", locals: { champs: champs, demande_seen_at: demande_seen_at }
|
|
|
|
|
|
|
|
- if dossier.procedure.use_api_carto
|
|
|
|
.tab-title Cartographie
|
|
|
|
.card
|
|
|
|
= render partial: "new_gestionnaire/dossiers/map", locals: { dossier: dossier }
|
|
|
|
|
|
|
|
- if dossier.procedure.cerfa_flag? || dossier.types_de_piece_justificative.any?
|
|
|
|
.tab-title Pièces jointes
|
|
|
|
.card
|
|
|
|
= render partial: "new_gestionnaire/dossiers/pieces_jointes", locals: { dossier: dossier, demande_seen_at: demande_seen_at }
|