Make champ PJ generally available
This commit is contained in:
parent
64d32c6afc
commit
57a136c861
5 changed files with 12 additions and 22 deletions
|
@ -4,7 +4,6 @@ namespace :'2018_05_21_cerfa_to_pj' do
|
|||
|
||||
dossiers.group_by(&:procedure).each do |procedure, dossiers|
|
||||
if !procedure.types_de_champ.find_by(libelle: 'CERFA')
|
||||
procedure.administrateur.enable_feature(:champ_pj)
|
||||
type_de_champ = procedure.types_de_champ.create(
|
||||
type_champ: 'piece_justificative',
|
||||
libelle: 'CERFA'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue