Display action renseigner un siret when not gestionnaire logged and dossier in states draft, replied, initiated
This commit is contained in:
parent
6dd4736f9d
commit
9e88a0d889
1 changed files with 4 additions and 3 deletions
|
@ -56,9 +56,10 @@
|
|||
%div.col-lg-8.col-md-8.col-sm-8.col-xs-8.title-no-expanse
|
||||
%div.carret-right
|
||||
INFORMATIONS ENTREPRISE / ASSOCIATION
|
||||
%a#add_siret.action{href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id)}
|
||||
%div.col-lg-4.col-md-4.col-sm-4.col-xs-4.action
|
||||
= "Renseigner un SIRET"
|
||||
- if !@current_gestionnaire && ["draft", "replied", "initiated"].include?(@facade.dossier.state)
|
||||
%a#add_siret.action{href: users_dossier_add_siret_path(dossier_id: @facade.dossier.id)}
|
||||
%div.col-lg-4.col-md-4.col-sm-4.col-xs-4.action
|
||||
= "Renseigner un SIRET"
|
||||
|
||||
- unless @facade.entreprise.nil?
|
||||
.default_data_block
|
||||
|
|
Loading…
Reference in a new issue