2018-01-03 17:11:47 +01:00
|
|
|
class AdministrationMailer < ApplicationMailer
|
2018-01-05 11:16:50 +01:00
|
|
|
layout 'mailers/layout'
|
|
|
|
|
2017-12-21 15:04:03 +01:00
|
|
|
def new_admin_email admin, administration
|
2016-02-23 16:51:24 +01:00
|
|
|
@admin = admin
|
2017-12-21 15:04:03 +01:00
|
|
|
@administration = administration
|
2016-02-23 16:51:24 +01:00
|
|
|
|
2017-06-07 11:48:48 +02:00
|
|
|
mail(to: 'tech@tps.apientreprise.fr',
|
2016-02-23 16:51:24 +01:00
|
|
|
subject: "Création d'un compte Admin TPS")
|
|
|
|
end
|
2018-01-05 11:16:50 +01:00
|
|
|
|
|
|
|
def dubious_procedures(procedures_and_type_de_champs)
|
|
|
|
@procedures_and_type_de_champs = procedures_and_type_de_champs
|
2018-01-10 16:49:54 +01:00
|
|
|
mail(to: 'equipe@tps.apientreprise.fr',
|
2018-01-05 11:16:50 +01:00
|
|
|
subject: "[RGS] De nouvelles procédures comportent des champs interdits")
|
|
|
|
end
|
2016-02-23 16:51:24 +01:00
|
|
|
end
|