[Fix #2550] Also send mail notification when accepting dossier

This commit is contained in:
Frederic Merizen 2018-09-25 15:57:07 +02:00
parent 7631bde16a
commit 40bc6208f0

View file

@ -18,6 +18,7 @@ class AutoReceiveDossiersForProcedureJob < ApplicationJob
)
dossier.attestation = dossier.build_attestation
dossier.save
NotificationMailer.send_closed_notification(dossier).deliver_later
end
else
raise "Receiving Procedure##{procedure_id} in invalid state \"#{state}\""