Skip to content

Commit

Permalink
feat(routing): remove routing when dossier is submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
E-L-T committed May 17, 2024
1 parent 75e568a commit 9a0fb7b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/models/concerns/dossier_state_concern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ def after_passer_en_construction

save!

RoutingEngine.compute(self)

MailTemplatePresenterService.create_commentaire_for_state(self, Dossier.states.fetch(:en_construction))
procedure.compute_dossiers_count
end
Expand Down
2 changes: 0 additions & 2 deletions app/models/dossier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -884,8 +884,6 @@ def submit_en_construction!
self.traitements.submit_en_construction
save!

RoutingEngine.compute(self)

resolve_pending_correction!
process_sva_svr!
end
Expand Down

0 comments on commit 9a0fb7b

Please sign in to comment.