-
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.
feat(amend): Add waiver amendment emails (#993)
- Loading branch information
1 parent
0b94fa1
commit 73c5fb0
Showing
12 changed files
with
63,618 additions
and
10,318 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
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
128 changes: 128 additions & 0 deletions
128
lib/libs/email/preview/Initial Submissions/CMS/Waiver_Contracting.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,128 @@ | ||
import { Waiver1915bCMSEmail } from "libs/email/content/new-submission/emailTemplates/Waiver1915bCMS"; | ||
import { emailTemplateValue } from "../../../mock-data/new-submission"; | ||
|
||
export const Waiver1915bCMSContractingInitialEmailPreview = () => { | ||
return ( | ||
<Waiver1915bCMSEmail | ||
variables={{ | ||
...emailTemplateValue, | ||
attachments: { | ||
b4WaiverApplication: { | ||
label: "1915(b) Comprehensive (Contracting) Waiver Application Pre-print", | ||
files: [ | ||
{ | ||
filename: "contracting-waiver-application.pdf", | ||
title: "test.pdf", | ||
bucket: "test", | ||
key: "test", | ||
uploadDate: Date.now(), | ||
}, | ||
], | ||
}, | ||
tribalConsultation: { | ||
label: "Tribal Consultation", | ||
files: [ | ||
{ | ||
filename: "contracting-waiver-tribal-consultation.pdf", | ||
title: "test.pdf", | ||
bucket: "test", | ||
key: "test", | ||
uploadDate: Date.now(), | ||
}, | ||
], | ||
}, | ||
other: { label: "Other", files: [] }, | ||
}, | ||
event: "contracting-initial", | ||
id: "CO-1234.R21.00", | ||
authority: "1915(b)", | ||
actionType: "New", | ||
}} | ||
/> | ||
); | ||
}; | ||
|
||
export const Waiver1915bCMSContractingRenewalEmailPreview = () => { | ||
return ( | ||
<Waiver1915bCMSEmail | ||
variables={{ | ||
...emailTemplateValue, | ||
event: "contracting-renewal", | ||
id: "CO-1234.R21.00", | ||
authority: "1915(b)", | ||
actionType: "Renewal", | ||
waiverNumber: "CO-1234.R21.00", | ||
attachments: { | ||
b4WaiverApplication: { | ||
label: "1915(b) Comprehensive (Contracting) Waiver Application Pre-print", | ||
files: [ | ||
{ | ||
filename: "contracting-waiver-application.pdf", | ||
title: "test.pdf", | ||
bucket: "test", | ||
key: "test", | ||
uploadDate: Date.now(), | ||
}, | ||
], | ||
}, | ||
b4IndependentAssessment: { | ||
label: "1915(b) Comprehensive (Contracting) Independent Assessment", | ||
files: [ | ||
{ | ||
filename: "contracting-waiver-independent-assessment.pdf", | ||
title: "test.pdf", | ||
bucket: "test", | ||
key: "test", | ||
uploadDate: Date.now(), | ||
}, | ||
], | ||
}, | ||
tribalConsultation: { label: "Tribal Consultation", files: [] }, | ||
other: { label: "Other", files: [] }, | ||
}, | ||
}} | ||
/> | ||
); | ||
}; | ||
|
||
export const Waiver1915bCMSContractingAmendmentEmailPreview = () => { | ||
return ( | ||
<Waiver1915bCMSEmail | ||
variables={{ | ||
...emailTemplateValue, | ||
event: "contracting-amendment", | ||
id: "CO-1234.R21.01", | ||
authority: "1915(b)", | ||
actionType: "Amendment", | ||
waiverNumber: "CO-1234.R21.00", | ||
attachments: { | ||
b4WaiverApplication: { | ||
label: "1915(b) Comprehensive (Contracting) Waiver Application Pre-print", | ||
files: [ | ||
{ | ||
filename: "contracting-waiver-application.pdf", | ||
title: "test.pdf", | ||
bucket: "test", | ||
key: "test", | ||
uploadDate: Date.now(), | ||
}, | ||
], | ||
}, | ||
tribalConsultation: { | ||
label: "Tribal Consultation", | ||
files: [ | ||
{ | ||
filename: "contracting-waiver-tribal-consultation.pdf", | ||
title: "test.pdf", | ||
bucket: "test", | ||
key: "test", | ||
uploadDate: Date.now(), | ||
}, | ||
], | ||
}, | ||
other: { label: "Other", files: [] }, | ||
}, | ||
}} | ||
/> | ||
); | ||
}; |
Oops, something went wrong.