Skip to content

Commit

Permalink
correct verbage for med and chip spa
Browse files Browse the repository at this point in the history
  • Loading branch information
jdinh8124 committed Jan 3, 2025
1 parent 0625112 commit 4baba91
Show file tree
Hide file tree
Showing 9 changed files with 301 additions and 464 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const ChipSpaCMSEmail = (props: {
details={{
"State or Territory": variables.territory,
Name: variables.submitterName,
Email: variables.submitterEmail,
"Email Address": variables.submitterEmail,
"CHIP SPA Package ID": variables.id,
Summary: variables.additionalInformation,
}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Events } from "shared-types";
import { CommonEmailVariables } from "shared-types";
import { Text } from "@react-email/components";
import { Link, Text } from "@react-email/components";
import {
PackageDetails,
FollowUpNotice,
Expand All @@ -15,21 +15,22 @@ export const ChipSpaStateEmail = (props: {
}) => {
const variables = props.variables;
const previewText = `CHIP SPA ${variables.id} Submitted`;
const heading = "This response confirms the submission of your CHIP State Plan Amendment to CMS:";
const heading =
"This is confirmation that you submitted a CHIP State Plan Amendment to CMS for review:";

return (
<BaseEmailTemplate
previewText={previewText}
heading={heading}
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<FollowUpNotice isChip />}
// footerContent={<FollowUpNotice isChip />}
>
<DetailsHeading />
<PackageDetails
details={{
"State or Territory": variables.territory,
Name: variables.submitterName,
Email: variables.submitterEmail,
"Email Address": variables.submitterEmail,
"CHIP SPA Package ID": variables.id,
Summary: variables.additionalInformation,
}}
Expand All @@ -38,7 +39,16 @@ export const ChipSpaStateEmail = (props: {
This response confirms the receipt of your CHIP State Plan Amendment (CHIP SPA). You can
expect a formal response to your submittal from CMS at a later date.
</Text>
<MailboxNotice type="SPA" />
<Text style={{ ...styles.text.base, marginTop: "16px" }}>
{" "}
If you have questions or did not expect this email, please contact{" "}
<Link
href={`mailto:[email protected]`}
style={{ textDecoration: "underline" }}
>
[email protected]
</Link>
</Text>
</BaseEmailTemplate>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const MedSpaStateEmail = (props: {
previewText={previewText}
heading={heading}
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<FollowUpNotice />}
// footerContent={<FollowUpNotice />}
>
<DetailsHeading />
<PackageDetails
Expand All @@ -38,10 +38,11 @@ export const MedSpaStateEmail = (props: {
/>
<Text style={styles.text.description}>
{`This response confirms the receipt of your Medicaid State Plan Amendment
(SPA). You can expect a formal response to your submittal to be issued
(SPA or your response to a SPA Request for Additional Information (RAI)). You can expect a formal response to your submittal to be issued
within 90 days, before ${formatNinetyDaysDate(variables.timestamp)}.`}
</Text>
<MailboxNotice type="SPA" />
<FollowUpNotice includeStateLead={false} />
</BaseEmailTemplate>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const MedSpaCMSEmail = (props: {
details={{
"State or Territory": variables.territory,
Name: variables.submitterName,
Email: variables.submitterEmail,
"Email Address": variables.submitterEmail,
"Medicaid SPA Package ID": variables.id,
Summary: variables.additionalInformation,
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ exports[`Initial Submission CMS Email Snapshot Test > renders a Chipspa Preview
<p
style="font-size: 14px; line-height: 1.4; margin: 4px 0px 4px 0px; font-weight: 600; letter-spacing: -0.5px;"
>
Email
Email Address
:
</p>
</td>
Expand Down Expand Up @@ -2754,7 +2754,7 @@ exports[`Initial Submission CMS Email Snapshot Test > renders a Chipspa Preview
<p
style="font-size: 14px; line-height: 1.4; margin: 4px 0px 4px 0px; font-weight: 600; letter-spacing: -0.5px;"
>
Email
Email Address
:
</p>
</td>
Expand Down Expand Up @@ -4101,7 +4101,7 @@ exports[`Initial Submission CMS Email Snapshot Test > renders a Medicaid Spa Pre
<p
style="font-size: 14px; line-height: 1.4; margin: 4px 0px 4px 0px; font-weight: 600; letter-spacing: -0.5px;"
>
Email
Email Address
:
</p>
</td>
Expand Down Expand Up @@ -7137,7 +7137,7 @@ exports[`Initial Submission CMS Email Snapshot Test > renders a TempExt Preview
<p
style="font-size: 14px; line-height: 1.4; margin: 4px 0px 4px 0px; font-weight: 600; letter-spacing: -0.5px;"
>
Email
Email Address
:
</p>
</td>
Expand Down Expand Up @@ -10365,7 +10365,7 @@ exports[`Initial Submission CMS Email Snapshot Test > renders a Waiver Capitated
<p
style="font-size: 14px; line-height: 1.4; margin: 4px 0px 4px 0px; font-weight: 600; letter-spacing: -0.5px;"
>
Email
Email Address
:
</p>
</td>
Expand Down
Loading

0 comments on commit 4baba91

Please sign in to comment.