-
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.
Merge pull request #952 from Enterprise-CMCS/main
Release to val
- Loading branch information
Showing
41 changed files
with
3,888 additions
and
6,061 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
19 changes: 19 additions & 0 deletions
19
lib/libs/email/content/withdrawConfirmation/emailTemplates/ChipSpaState.tsx
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,19 @@ | ||
import { CommonEmailVariables, Events } from "shared-types"; | ||
import { FollowUpNotice, BasicFooter } from "../../email-components"; | ||
import { BaseEmailTemplate } from "../../email-templates"; | ||
|
||
export const ChipSpaStateEmail = (props: { | ||
variables: Events["WithdrawPackage"] & CommonEmailVariables; | ||
}) => { | ||
const variables = props.variables; | ||
return ( | ||
<BaseEmailTemplate | ||
previewText={`CHIP SPA Package ${variables.id} Withdrawal Confirmation`} | ||
heading={`This email is to confirm CHIP SPA ${variables.id} was withdrawn by ${variables.submitterName}. The review of CHIP SPA ${variables.id} has concluded.`} | ||
applicationEndpointUrl={variables.applicationEndpointUrl} | ||
footerContent={<BasicFooter />} | ||
> | ||
<FollowUpNotice isChip /> | ||
</BaseEmailTemplate> | ||
); | ||
}; |
19 changes: 19 additions & 0 deletions
19
lib/libs/email/content/withdrawConfirmation/emailTemplates/MedSpaState.tsx
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,19 @@ | ||
import { CommonEmailVariables, Events } from "shared-types"; | ||
import { FollowUpNotice, BasicFooter } from "../../email-components"; | ||
import { BaseEmailTemplate } from "../../email-templates"; | ||
|
||
export const MedSpaStateEmail = (props: { | ||
variables: Events["WithdrawPackage"] & CommonEmailVariables; | ||
}) => { | ||
const variables = props.variables; | ||
return ( | ||
<BaseEmailTemplate | ||
previewText={`Medicaid SPA Package ${variables.id} Withdrawal Confirmation`} | ||
heading={`This email is to confirm Medicaid SPA ${variables.id} was withdrawn by ${variables.submitterName}. The review of Medicaid SPA ${variables.id} has concluded.`} | ||
applicationEndpointUrl={variables.applicationEndpointUrl} | ||
footerContent={<BasicFooter />} | ||
> | ||
<FollowUpNotice includeStateLead={false} /> | ||
</BaseEmailTemplate> | ||
); | ||
}; |
2 changes: 2 additions & 0 deletions
2
lib/libs/email/content/withdrawConfirmation/emailTemplates/index.tsx
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
export { ChipSpaStateEmail } from "./ChipSpaState"; | ||
export { MedSpaStateEmail } from "./MedSpaState"; | ||
export { WaiverStateEmail } from "./WaiverState"; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
export const emailTemplateValue = { | ||
territory: "CO", | ||
applicationEndpointUrl: "https://mako-dev.cms.gov/", | ||
timestamp: Date.now(), | ||
get timestamp() { | ||
return Date.now(); | ||
}, | ||
submitterName: "George Harrison", | ||
submitterEmail: "[email protected]", | ||
additionalInformation: | ||
"This submission includes necessary documentation for requested updates to the state’s Medicaid plan, in alignment with CMS requirements.", | ||
origin: "mako" as const, | ||
appkParentId: null, | ||
proposedEffectiveDate: Date.now() + 5184000000, | ||
get proposedEffectiveDate() { | ||
return Date.now() + 5184000000; | ||
}, | ||
}; |
Oops, something went wrong.