#41 - email notifications #54

Merged
EwelinaLasowy merged 44 commits from #41-email-notifications into main 2022-02-21 13:19:59 +01:00
EwelinaLasowy commented 2022-02-17 12:26:26 +01:00 (Migrated from github.com)

This should close #41.
Notification are sent depending on the state of the vacation request:

  • when vacation request is created, user that created the vacation request receive e-mail
    image
  • when vacation request is waiting for technical/administrative approval, all technical/administrative approvers receive e-mail
    image
  • when vacation request is cancelled/rejected/approved, user that created the vacation request, all technical/administrative approvers receive e-mail
    image
This should close #41. Notification are sent depending on the state of the vacation request: - when vacation request is created, user that created the vacation request receive e-mail ![image](https://user-images.githubusercontent.com/56546832/154673396-748dbf54-f4a8-4754-9906-3681cefc059e.png) - when vacation request is waiting for technical/administrative approval, all technical/administrative approvers receive e-mail ![image](https://user-images.githubusercontent.com/56546832/154673439-b32a11a3-5eb4-41b6-b568-076f36a25271.png) - when vacation request is cancelled/rejected/approved, user that created the vacation request, all technical/administrative approvers receive e-mail ![image](https://user-images.githubusercontent.com/56546832/154677552-9f683695-edf2-4206-b9e5-a5cf0d4e7f02.png)
jsawo (Migrated from github.com) requested changes 2022-02-21 12:40:13 +01:00
jsawo (Migrated from github.com) commented 2022-02-21 12:31:09 +01:00
class VacationRequestWaitsForAdminApproval
```suggestion class VacationRequestWaitsForAdminApproval ```
jsawo (Migrated from github.com) commented 2022-02-21 12:31:57 +01:00
class VacationRequestWaitsForTechApproval
```suggestion class VacationRequestWaitsForTechApproval ```
jsawo (Migrated from github.com) commented 2022-02-21 12:35:33 +01:00

"d.m.Y" is repeated more than 10 times in this PR alone - it is safe to assume there will be more
maybe we should consider using a const here?
This would prevent potential bugs and make it easier to change the format if needed.

`"d.m.Y"` is repeated more than 10 times in this PR alone - it is safe to assume there will be more maybe we should consider using a const here? This would prevent potential bugs and make it easier to change the format if needed.
jsawo (Migrated from github.com) approved these changes 2022-02-21 13:06:53 +01:00
Sign in to join this conversation.