feat(dossier): submit en construction resolve automatically correction except for sva
This commit is contained in:
parent
9a5e4d4ea5
commit
ba076357c5
15 changed files with 175 additions and 53 deletions
|
@ -888,16 +888,14 @@ class Dossier < ApplicationRecord
|
|||
RoutingEngine.compute(self)
|
||||
end
|
||||
|
||||
def submit_en_construction!(pending_correction_confirm: false)
|
||||
def submit_en_construction!
|
||||
self.traitements.submit_en_construction
|
||||
save!
|
||||
|
||||
RoutingEngine.compute(self)
|
||||
|
||||
if pending_correction_confirm
|
||||
resolve_pending_correction!
|
||||
process_sva_svr!
|
||||
end
|
||||
resolve_pending_correction!
|
||||
process_sva_svr!
|
||||
end
|
||||
|
||||
def after_passer_en_instruction(h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue