Notification System
Notification System - 3 items delivered in v0.13
What Was Delivered
-
Send Notification to vendor when an order is created and is assigned to a vendor.
-
Edit a project
-
Click on orders tab
-
Select a Vendor
-
Click save.
-
During this time, a notification should be sent to the vendor.
-
Call the template Order Created Vendor (triggered when created) and Order Updated Vendor (triggered when updated).
-
Update Request RFI when editing a project.
-
Create a checkbox called: Ready for review
-
Create a text field called: Notes
-
Create a notification template called: RFI updated (rfi-updated) and send this to the FTS consultant once the record is saved.
-
Emails are fired from the ProjectListener class.
-
In this class, create a HandleRfiItemsUpdate. Trigger this when a ProjectRequestInformation is updated.
-
Use a basic message like: RFI ITem has been Updated.
-
Send a notification using the nm->sendTemplateNotification - see example below. $
this-\>nm-\>sendTemplateNotification('project-created-admin', $adminParams, $entity?-\>getUserGroup()?-\>getFtsConsultant());Additional Spec: -
Set ProjectRequestForInformation.status to: ProjectRequestForInformationStatus called ready-for-review.
-
Send an email to the FTS Consultant.
-
Record ProjectStatusHistoryLog of when the checkbox was ticked and record the notes provided.
-
Incorrect link sent in notification email and template Error found when clicking the ‘Click here' link in the email that was send for a task. And doesn’t resolve itself in the system when you conduct a refresh of the page
From the Chatlogs
"- please fix this on the template." ", this is fixed, if you have time kindly please help check and confirm, thanks" "- looks good for the most part - please address my notes on the PR."
Impact
Enhanced notification accuracy and delivery, ensuring stakeholders receive timely alerts on project activities.