suppression de l'ajout en PJ
This commit is contained in:
parent
4aab72be68
commit
183f1a5fa8
1 changed files with 4 additions and 4 deletions
|
@ -17,20 +17,20 @@ class NotificationMailer < ApplicationMailer
|
|||
end
|
||||
|
||||
def send_closed_notification(dossier)
|
||||
send_final_notification(dossier, dossier.procedure.closed_mail_template, dossier.justificatif_motivation)
|
||||
send_final_notification(dossier, dossier.procedure.closed_mail_template)
|
||||
end
|
||||
|
||||
def send_refused_notification(dossier)
|
||||
send_final_notification(dossier, dossier.procedure.refused_mail_template, dossier.justificatif_motivation)
|
||||
send_final_notification(dossier, dossier.procedure.refused_mail_template)
|
||||
end
|
||||
|
||||
def send_without_continuation_notification(dossier)
|
||||
send_final_notification(dossier, dossier.procedure.without_continuation_mail_template, dossier.justificatif_motivation)
|
||||
send_final_notification(dossier, dossier.procedure.without_continuation_mail_template)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def send_notification(dossier, mail_template, attachment_file = nil)
|
||||
def send_notification(dossier, mail_template)
|
||||
email = dossier.user.email
|
||||
|
||||
subject = mail_template.subject_for_dossier(dossier)
|
||||
|
|
Loading…
Reference in a new issue