-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MCR-2539] CMS notified when a state is sent questions (#2096)
* email template created * add new emailer function sendQuestionCMSEmail * use sendQuestionCMSEmail in createQuestionResolver * add test from sendQuestionCMSEmail function * add test for createQuestion resolver * update the state email to link to the QA tab * add round number * PR fixes to pass question from the resolver, update error messages and field name for questionResponseURL * get rid of extra linebreak in email template * update email configuration to use dmcpReview and dmcpSubmission * fix web test * update docs * update CreatQuestion resolver to find all questions for a contract and update emailer functions to expect an array of questions * calculate round number by division
- Loading branch information
1 parent
4de1e03
commit d37eab1
Showing
35 changed files
with
716 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
services/app-api/src/emailer/emails/__snapshots__/sendQuestionCMSEmail.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`renders overall email for a new question as expected 1`] = ` | ||
"DMCO sent questions to the state for submission MCR-MN-0003-SNBC<br /> | ||
<b>Sent by:</b> Ronald McDonald (DMCO) <a href="cms@email.com">cms@email.com</a> | ||
<br /> | ||
<b>Round:</b> 1<br /> | ||
<b>Date:</b> 01/01/2024<br /> | ||
<br /> | ||
<a href="http://localhost/submissions/12345/question-and-answers">View submission Q&A</a>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.