Skip to content

Commit

Permalink
working with export
Browse files Browse the repository at this point in the history
  • Loading branch information
jdinh8124 committed Jan 15, 2025
1 parent 5855118 commit a01a6a0
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 366 deletions.
198 changes: 100 additions & 98 deletions lib/libs/email/preview/InitialSubmissions/CMS/Waiver_Capitated.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Waiver1915bCMSEmail } from "libs/email/content/newSubmission/emailTemplates";
import { emailTemplateValue } from "libs/email/mock-data/new-submission" ;
import { emailTemplateValue } from "libs/email/mock-data/new-submission";

export default () => {
export const Waiver1915bCMSCapitatedInitialEmailPreview = () => {
return (
<Waiver1915bCMSEmail
variables={{
Expand Down Expand Up @@ -43,100 +43,102 @@ export default () => {
);
};

// export const Waiver1915bCMSCapitatedRenewalEmailPreview = () => {
// return (
// <Waiver1915bCMSEmail
// variables={{
// ...emailTemplateValue,
// waiverNumber: "CO-1234.R21.00",
// attachments: {
// bCapIndependentAssessment: {
// label: "1915(b) Comprehensive (Capitated) Waiver Independent Assessment",
// files: [
// {
// filename: "capitated-waiver-independent-assessment.pdf",
// title: "test.pdf",
// bucket: "test",
// key: "test",
// uploadDate: Date.now(),
// },
// ],
// },
// bCapWaiverApplication: {
// label: "1915(b) Comprehensive (Capitated) Waiver Application Pre-print",
// files: [
// {
// filename: "capitated-waiver-application.pdf",
// title: "test.pdf",
// bucket: "test",
// key: "test",
// uploadDate: Date.now(),
// },
// ],
// },
// bCapCostSpreadsheets: {
// label: "1915(b) Comprehensive (Capitated) Waiver Cost Effectiveness Spreadsheets",
// files: [
// {
// filename: "capitated-waiver-cost-effectiveness-spreadsheet.pdf",
// title: "test.pdf",
// bucket: "test",
// key: "test",
// uploadDate: Date.now(),
// },
// ],
// },
// tribalConsultation: { label: "Tribal Consultation", files: [] },
// other: { label: "Other", files: [] },
// },
// event: "capitated-renewal",
// id: "CO-1234.R21.00",
// authority: "1915(b)",
// actionType: "Renewal",
// }}
// />
// );
// };
export const Waiver1915bCMSCapitatedRenewalEmailPreview = () => {
return (
<Waiver1915bCMSEmail
variables={{
...emailTemplateValue,
waiverNumber: "CO-1234.R21.00",
attachments: {
bCapIndependentAssessment: {
label: "1915(b) Comprehensive (Capitated) Waiver Independent Assessment",
files: [
{
filename: "capitated-waiver-independent-assessment.pdf",
title: "test.pdf",
bucket: "test",
key: "test",
uploadDate: Date.now(),
},
],
},
bCapWaiverApplication: {
label: "1915(b) Comprehensive (Capitated) Waiver Application Pre-print",
files: [
{
filename: "capitated-waiver-application.pdf",
title: "test.pdf",
bucket: "test",
key: "test",
uploadDate: Date.now(),
},
],
},
bCapCostSpreadsheets: {
label: "1915(b) Comprehensive (Capitated) Waiver Cost Effectiveness Spreadsheets",
files: [
{
filename: "capitated-waiver-cost-effectiveness-spreadsheet.pdf",
title: "test.pdf",
bucket: "test",
key: "test",
uploadDate: Date.now(),
},
],
},
tribalConsultation: { label: "Tribal Consultation", files: [] },
other: { label: "Other", files: [] },
},
event: "capitated-renewal",
id: "CO-1234.R21.00",
authority: "1915(b)",
actionType: "Renewal",
}}
/>
);
};

export const Waiver1915bCMSCapitatedAmendmentEmailPreview = () => {
return (
<Waiver1915bCMSEmail
variables={{
...emailTemplateValue,
waiverNumber: "CO-1234.R21.00",
attachments: {
bCapCostSpreadsheets: {
label: "1915(b) Comprehensive (Capitated) Waiver Cost Effectiveness Spreadsheets",
files: [
{
filename: "capitated-waiver-cost-effectiveness-spreadsheet.pdf",
title: "test.pdf",
bucket: "test",
key: "test",
uploadDate: Date.now(),
},
],
},
bCapWaiverApplication: {
label: "1915(b) Comprehensive (Capitated) Waiver Application Pre-print",
files: [
{
filename: "capitated-waiver-application.pdf",
title: "test.pdf",
bucket: "test",
key: "test",
uploadDate: Date.now(),
},
],
},
tribalConsultation: { label: "Tribal Consultation", files: [] },
other: { label: "Other", files: [] },
},
event: "capitated-amendment",
id: "CO-1234.R21.01",
authority: "1915(b)",
actionType: "Amendment",
}}
/>
);
};

// export const Waiver1915bCMSCapitatedAmendmentEmailPreview = () => {
// return (
// <Waiver1915bCMSEmail
// variables={{
// ...emailTemplateValue,
// waiverNumber: "CO-1234.R21.00",
// attachments: {
// bCapCostSpreadsheets: {
// label: "1915(b) Comprehensive (Capitated) Waiver Cost Effectiveness Spreadsheets",
// files: [
// {
// filename: "capitated-waiver-cost-effectiveness-spreadsheet.pdf",
// title: "test.pdf",
// bucket: "test",
// key: "test",
// uploadDate: Date.now(),
// },
// ],
// },
// bCapWaiverApplication: {
// label: "1915(b) Comprehensive (Capitated) Waiver Application Pre-print",
// files: [
// {
// filename: "capitated-waiver-application.pdf",
// title: "test.pdf",
// bucket: "test",
// key: "test",
// uploadDate: Date.now(),
// },
// ],
// },
// tribalConsultation: { label: "Tribal Consultation", files: [] },
// other: { label: "Other", files: [] },
// },
// event: "capitated-amendment",
// id: "CO-1234.R21.01",
// authority: "1915(b)",
// actionType: "Amendment",
// }}
// />
// );
// };
export default Waiver1915bCMSCapitatedInitialEmailPreview;
170 changes: 86 additions & 84 deletions lib/libs/email/preview/InitialSubmissions/CMS/Waiver_Contracting.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Waiver1915bCMSEmail } from "libs/email/content/newSubmission/emailTemplates";
import { emailTemplateValue } from "libs/email/mock-data/new-submission";

export default () => {
export const Waiver1915bCMSContractingInitialEmailPreview = () => {
return (
<Waiver1915bCMSEmail
variables={{
Expand Down Expand Up @@ -42,87 +42,89 @@ export default () => {
);
};

// 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 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: [] },
},
}}
/>
);
};

// 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: [] },
// },
// }}
// />
// );
// };
export default Waiver1915bCMSContractingInitialEmailPreview;
Loading

0 comments on commit a01a6a0

Please sign in to comment.