ucdavis / Harvest

Harvest Farm Project Tracking Website and Mobile App
MIT License
2 stars 1 forks source link

Emails #873

Open srkirkland opened 1 year ago

srkirkland commented 1 year ago

@jSylvestre confirm we did:

While working through our new business processes in the system, we've realized that we'd like email notifications to occur in a couple situations: 1) When a request is submitted in the system and is ready for a quote to be prepared, both manager and supervisor roles should receive the email notification. Right now only manager is receiving this email notification.

2) When a supervisor role prepares a quote and clicks "Save" in the system, the manager role should receive an email notification. Only managers can submit a quote to the PI for approval. Right now there is no email notification when a supervisor role saves a quote.

jSylvestre commented 1 year ago

@srkirkland 1: https://github.com/ucdavis/Harvest/blob/main/Harvest.Core/Services/EmailService.cs#L156-L178 2: https://github.com/ucdavis/Harvest/blob/main/Harvest.Core/Services/EmailService.cs#L106