2017-05-24 18:45:31 +02:00
|
|
|
= render partial: 'dossiers/edit_avis', locals: { dossier_facade: @facade }
|
|
|
|
|
2017-05-31 16:29:51 +02:00
|
|
|
= render partial: 'dossiers/attestation', locals: { dossier: @facade.dossier }
|
|
|
|
|
2017-01-31 10:46:20 +01:00
|
|
|
= render partial: 'dossiers/messagerie', locals: { dossier_facade: @facade }
|
2016-12-07 13:57:55 +01:00
|
|
|
|
2017-06-01 11:26:21 +02:00
|
|
|
= render partial: 'dossiers/motivation', locals: { dossier_facade: @facade }
|
|
|
|
|
2016-12-07 13:57:55 +01:00
|
|
|
- if @facade.procedure.individual_with_siret
|
2017-04-12 11:12:05 +02:00
|
|
|
.default-data-block
|
2017-04-06 15:32:05 +02:00
|
|
|
.row.show-block.infos
|
|
|
|
.header
|
|
|
|
.col-xs-8.title-no-expanse
|
|
|
|
.carret-right
|
2017-01-31 10:46:20 +01:00
|
|
|
INFORMATIONS DU DEMANDEUR
|
2017-12-04 16:17:15 +01:00
|
|
|
- if !@current_gestionnaire && ["brouillon", "en_construction"].include?(@facade.dossier.state)
|
2017-04-06 19:10:25 +02:00
|
|
|
%a#add_siret.action{ href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id) }
|
2017-04-06 15:32:05 +02:00
|
|
|
.col-lg-4.col-md-4.col-sm-4.col-xs-4.action
|
2017-04-06 16:33:53 +02:00
|
|
|
Renseigner un SIRET
|
2016-12-07 13:57:55 +01:00
|
|
|
|
|
|
|
- unless @facade.entreprise.nil?
|
2017-04-12 11:12:05 +02:00
|
|
|
.default-data-block
|
2017-04-06 15:32:05 +02:00
|
|
|
.row.show-block.infos#infos_entreprise
|
|
|
|
.header
|
|
|
|
.col-xs-12.title
|
|
|
|
.carret-right
|
|
|
|
.carret-down
|
2017-01-31 10:46:20 +01:00
|
|
|
INFORMATIONS DU DEMANDEUR
|
2017-04-06 15:32:05 +02:00
|
|
|
.body.display-block-on-print
|
2016-12-07 13:57:55 +01:00
|
|
|
= render partial: '/dossiers/infos_entreprise'
|
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
.default-data-block.default_visible
|
|
|
|
.row.show-block.infos#infos-dossiers
|
2017-04-06 15:32:05 +02:00
|
|
|
.header
|
|
|
|
.col-xs-10.title
|
|
|
|
.carret-right
|
|
|
|
.carret-down
|
2016-12-07 13:57:55 +01:00
|
|
|
CONSTRUCTION DU DOSSIER
|
|
|
|
= render partial: '/dossiers/edit_dossier'
|
2017-04-06 15:32:05 +02:00
|
|
|
.body.display-block-on-print
|
2016-12-07 13:57:55 +01:00
|
|
|
= render partial: '/dossiers/infos_dossier'
|
|
|
|
|
|
|
|
- if @facade.dossier.procedure.module_api_carto.use_api_carto
|
2017-04-12 11:12:05 +02:00
|
|
|
.default-data-block.default_visible.no-page-break-inside
|
2017-04-06 15:32:05 +02:00
|
|
|
.row.show-block#carto
|
|
|
|
.header
|
|
|
|
.col-xs-10.title
|
|
|
|
.carret-right
|
|
|
|
.carret-down
|
2016-12-20 14:48:09 +01:00
|
|
|
CARTOGRAPHIE
|
|
|
|
= render partial: '/dossiers/edit_carto'
|
2017-04-06 15:32:05 +02:00
|
|
|
.body.display-block-on-print
|
2017-04-26 14:55:14 +02:00
|
|
|
%input#json_latlngs{ type: 'hidden', value: "#{@facade.dossier.json_latlngs}", name: 'json_latlngs' }
|
|
|
|
%input#quartier_prioritaires{ type: 'hidden', value: "#{@facade.dossier.quartier_prioritaires.to_json}" }
|
|
|
|
%input#cadastres{ type: 'hidden', value: "#{@facade.dossier.cadastres.to_json}" }
|
2016-12-20 14:48:09 +01:00
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
= render partial: '/users/carte/map', locals: { dossier: @facade.dossier }
|
|
|
|
= render partial: 'users/carte/init_carto', locals: { dossier: @facade.dossier }
|
2016-12-20 14:48:09 +01:00
|
|
|
|
2017-07-04 16:37:29 +02:00
|
|
|
- if @current_gestionnaire && gestionnaire_signed_in? && current_gestionnaire.assigned_on_procedure?(@facade.dossier.procedure_id) && @champs_private.present?
|
2017-04-12 11:12:05 +02:00
|
|
|
.default-data-block.default_visible
|
2017-04-06 15:32:05 +02:00
|
|
|
.row.show-block#private-fields
|
|
|
|
.header
|
|
|
|
.col-xs-10.title
|
|
|
|
.carret-right
|
|
|
|
.carret-down
|
2016-12-22 11:39:44 +01:00
|
|
|
= "formulaire privé".upcase
|
2017-04-06 15:32:05 +02:00
|
|
|
.col-xs-2.count
|
2016-12-22 11:39:44 +01:00
|
|
|
- private_fields_count = @champs_private.count
|
2016-12-07 14:44:05 +01:00
|
|
|
= (private_fields_count == 1) ? "1 champ" : "#{private_fields_count} champs"
|
2017-04-06 15:32:05 +02:00
|
|
|
.body
|
2016-12-07 13:57:55 +01:00
|
|
|
= render partial: '/dossiers/infos_private_fields'
|
2017-04-25 17:02:54 +02:00
|
|
|
|
|
|
|
= render partial: 'dossiers/avis', locals: { dossier_facade: @facade }
|