Groupe instructeur selector default blank
This commit is contained in:
parent
9c3e72c84a
commit
70500e3d56
11 changed files with 124 additions and 69 deletions
|
@ -599,6 +599,12 @@ class Procedure < ApplicationRecord
|
|||
groupe_instructeurs.count > 1
|
||||
end
|
||||
|
||||
def defaut_groupe_instructeur_for_new_dossier
|
||||
if !routee? || feature_enabled?(:procedure_routage_api)
|
||||
defaut_groupe_instructeur
|
||||
end
|
||||
end
|
||||
|
||||
def can_be_deleted_by_administrateur?
|
||||
brouillon? || dossiers.state_instruction_commencee.empty?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue