Merge branch 'develop' into staging
This commit is contained in:
commit
8072ec8a9c
2 changed files with 18 additions and 7 deletions
|
@ -19,13 +19,15 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
|
|||
|
||||
def show
|
||||
create_dossier_facade params[:id]
|
||||
@champs_private = @facade.champs_private unless @facade.nil?
|
||||
unless @facade.nil?
|
||||
@champs_private = @facade.champs_private
|
||||
|
||||
@headers_private = @champs_private.inject([]) do |acc, champ|
|
||||
acc.push(champ) if champ.type_champ == 'header_section'
|
||||
acc
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def filter
|
||||
super
|
||||
|
|
|
@ -59,12 +59,12 @@
|
|||
%h3 Détails
|
||||
|
||||
.row{style:'margin-right:3%; margin-left:3%;'}
|
||||
.description.col-md-4.col-lg-4
|
||||
.description.col-md-3.col-lg-3
|
||||
%h4.text-info
|
||||
= @facade.procedure.libelle
|
||||
|
||||
= h @facade.procedure.description.html_safe
|
||||
.champs.col-md-4.col-lg-4
|
||||
.champs.col-md-3.col-lg-3
|
||||
%h4.text-info
|
||||
Champs
|
||||
.badge.progress-bar-info
|
||||
|
@ -73,7 +73,16 @@
|
|||
= champ.libelle
|
||||
%br
|
||||
|
||||
.pieces_justificatives.col-md-4.col-lg-4
|
||||
.champs_private.col-md-3.col-lg-3
|
||||
%h4.text-info
|
||||
Champs privés
|
||||
.badge.progress-bar-info
|
||||
= @facade.procedure.types_de_champ_private.size
|
||||
- @facade.procedure.types_de_champ_private.order(:order_place).each do |champ|
|
||||
= champ.libelle
|
||||
%br
|
||||
|
||||
.pieces_justificatives.col-md-3.col-lg-3
|
||||
%h4.text-info
|
||||
Pièces justificatives
|
||||
.badge.progress-bar-info
|
||||
|
|
Loading…
Reference in a new issue