-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMedSpaCMS.tsx
27 lines (26 loc) · 995 Bytes
/
MedSpaCMS.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { CommonEmailVariables, Events } from "shared-types";
import { PackageDetails, BasicFooter, Divider } from "../../email-components";
import { BaseEmailTemplate } from "../../email-templates";
export const MedSpaCMSEmail = ({
variables,
}: {
variables: Events["WithdrawPackage"] & CommonEmailVariables;
}) => (
<BaseEmailTemplate
previewText={`SPA Package ${variables.id} Withdraw Request`}
heading="The OneMAC Submission Portal received a request to withdraw the package below. The package will no longer be considered for CMS review:"
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<BasicFooter />}
>
<Divider />
<PackageDetails
details={{
"State or Territory": variables.territory,
Name: variables.submitterName,
"Email Address": variables.submitterEmail,
"Medicaid SPA Package ID": variables.id,
Summary: variables.additionalInformation,
}}
/>
</BaseEmailTemplate>
);