2017-11-17 23:40:51 +01:00
|
|
|
|
- content_for(:title, "Demande · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
|
|
|
|
|
|
2017-09-06 11:26:32 +02:00
|
|
|
|
#avis-show
|
|
|
|
|
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
|
|
|
|
|
|
|
|
|
|
.container
|
2017-12-12 16:15:32 +01:00
|
|
|
|
.page-title Identité du demandeur
|
2017-09-06 11:26:32 +02:00
|
|
|
|
.card
|
|
|
|
|
- if @dossier.entreprise.present?
|
|
|
|
|
= render partial: 'new_gestionnaire/dossiers/identite_entreprise', locals: { entreprise: @dossier.entreprise }
|
|
|
|
|
|
|
|
|
|
- if @dossier.individual.present?
|
|
|
|
|
= render partial: 'new_gestionnaire/dossiers/identite_individual', locals: { individual: @dossier.individual }
|
|
|
|
|
|
2017-12-12 16:15:32 +01:00
|
|
|
|
.page-title Formulaire
|
2017-09-06 11:26:32 +02:00
|
|
|
|
- champs = @dossier.ordered_champs.decorate
|
|
|
|
|
- if champs.any?
|
2017-10-16 11:36:57 +02:00
|
|
|
|
.card
|
2017-12-05 16:07:05 +01:00
|
|
|
|
= render partial: 'new_gestionnaire/dossiers/champs', locals: { champs: champs, dossier: @dossier, demande_seen_at: nil }
|
2017-09-06 11:26:32 +02:00
|
|
|
|
|
|
|
|
|
- if @dossier.procedure.use_api_carto
|
2017-12-12 16:15:32 +01:00
|
|
|
|
.page-title Cartographie
|
2017-10-16 17:01:56 +02:00
|
|
|
|
.card
|
|
|
|
|
= render partial: 'new_gestionnaire/dossiers/map', locals: { dossier: @dossier }
|
2017-09-06 11:26:32 +02:00
|
|
|
|
|
|
|
|
|
- if @dossier.procedure.cerfa_flag? || @dossier.types_de_piece_justificative.any?
|
2017-12-12 16:15:32 +01:00
|
|
|
|
.page-title Pièces jointes
|
2017-10-16 11:36:57 +02:00
|
|
|
|
.card
|
2017-12-07 16:11:08 +01:00
|
|
|
|
= render partial: "new_gestionnaire/dossiers/pieces_jointes", locals: { dossier: @dossier, demande_seen_at: nil }
|