fix: remove brouillon from repousser_expiration
This commit is contained in:
parent
8c1bc9e62f
commit
96adffb5f5
2 changed files with 1 additions and 3 deletions
|
@ -12,8 +12,6 @@ class Dossiers::BatchOperationComponent < ApplicationComponent
|
|||
|
||||
def operations_for_dossier(dossier)
|
||||
case dossier.state
|
||||
when Dossier.states.fetch(:brouillon)
|
||||
[BatchOperation.operations.fetch(:repousser_expiration)]
|
||||
when Dossier.states.fetch(:en_construction)
|
||||
[BatchOperation.operations.fetch(:passer_en_instruction), BatchOperation.operations.fetch(:repousser_expiration)]
|
||||
when Dossier.states.fetch(:en_instruction)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue