2017-03-06 22:37:37 +01:00
|
|
|
|
module Mails
|
2017-05-27 00:44:01 +02:00
|
|
|
|
class InitiatedMail < ApplicationRecord
|
2017-03-06 22:37:37 +01:00
|
|
|
|
include MailTemplateConcern
|
|
|
|
|
|
2017-12-22 21:37:08 +01:00
|
|
|
|
belongs_to :procedure
|
|
|
|
|
|
2017-05-27 00:52:32 +02:00
|
|
|
|
SLUG = "initiated_mail"
|
2019-07-18 18:25:11 +02:00
|
|
|
|
DEFAULT_TEMPLATE_NAME = "notification_mailer/default_templates/initiated_mail"
|
2017-03-06 23:18:16 +01:00
|
|
|
|
DISPLAYED_NAME = 'Accusé de réception'
|
2019-07-23 14:59:57 +02:00
|
|
|
|
DEFAULT_SUBJECT = 'Votre dossier nº --numéro du dossier-- a bien été déposé (--libellé démarche--)'
|
2018-08-28 14:10:55 +02:00
|
|
|
|
DOSSIER_STATE = Dossier.states.fetch(:en_construction)
|
2017-03-06 22:37:37 +01:00
|
|
|
|
end
|
|
|
|
|
end
|