2017-03-06 22:37:37 +01:00
|
|
|
|
module Mails
|
2017-05-27 00:44:01 +02:00
|
|
|
|
class ReceivedMail < 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 = "received_mail"
|
2017-05-27 01:16:38 +02:00
|
|
|
|
TEMPLATE_NAME = "mails/received_mail"
|
2017-03-06 23:18:16 +01:00
|
|
|
|
DISPLAYED_NAME = 'Accusé de passage en instruction'
|
2018-02-28 16:01:20 +01:00
|
|
|
|
DEFAULT_SUBJECT = 'Votre dossier demarches-simplifiees.fr nº --numéro du dossier-- va être instruit'
|
2018-01-10 15:03:56 +01:00
|
|
|
|
DOSSIER_STATE = 'en_instruction'
|
2017-03-06 22:37:37 +01:00
|
|
|
|
end
|
|
|
|
|
end
|