Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Emails): avoir les logs d'envois des TemplateTransactional #1337

Merged
merged 4 commits into from
Jul 18, 2024

Conversation

raphodn
Copy link
Contributor

@raphodn raphodn commented Jul 15, 2024

Quoi ?

Suite à la création du modèle TemplateTransactional (#1018), on souhaite avoir des stats d'envoi par utilisateur / structure.

Modifications apportées :

  • nouveau modèle TemplateTransactionalSendLog + ajout dans l'admin
  • création d'un log à chaque envoi
  • variables d'emails : ajout d'id, mettre au maximum en majuscules pour homogénéiser (todo : mettre à jour les templates brevo/mailjet correspondants)

Reste à faire (prochaine PR)

  • stocker la Generic Foreign Key (User ou Siae) : ca demande de gérer différemment les envois send_transactional_email, je préfère faire le refactoring dans une prochaine PR

@raphodn raphodn marked this pull request as ready for review July 16, 2024 08:41
Copy link
Contributor

@madjid-asa madjid-asa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@raphodn raphodn force-pushed the raphodn/template-transactional-send-logs branch from cf613c2 to 9178537 Compare July 17, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants