This commit is contained in:
Kenneth Jannette
2024-03-05 18:57:18 -06:00
parent dbda2df6f4
commit c37150a823
3 changed files with 45 additions and 28 deletions

View File

@@ -1,6 +1,12 @@
export const docEditCopy = {
NewYork: {
prelimaryStatement: function (documentType, respondent, servingParty) {
prelimaryStatement: function (
documentType,
respondent,
servingParty,
fetchedCase
) {
const position = fetchedCase.clientPosition;
const docCopy =
documentType && documentType === "interrogatories"
? "Interrogatories"
@@ -50,3 +56,29 @@ export const docEditCopy = {
versusText: "vs.",
},
};
export const outgoingComesNow = (state, fetchedCase) => {
let copyString;
const position = fetchedCase.clientPosition;
const parties =
fetchedCase.clientPosition === "Plaintiff"
? fetchedCase.plaintiffParties
: fetchedCase.defendantParties;
const adversary =
fetchedCase.clientPosition === "Plaintiff"
? fetchedCase.defendantParties
: fetchedCase.plaintiffParties;
if (state === "ny") {
copyString = `COMES NOW, ${position}, ${parties}, through counsel, and hereby propounds these Interrogatories and Requests for Production on ${adversary}, to be answered under oath, in writing, in accordance with NY CPLR 3120 - 3130.`;
} else if (state === "fl") {
copyString = `COMES NOW, ${position}, ${parties}, through counsel, and hereby propounds these Interrogatories and Requests for Production on ${adversary}, to be answered to be answered under oath, in writing, in accordance with Rule 1.340, Florida Rules of Civil Procedure.`;
} else if (state === "nj") {
copyString =
`Comes now ${position}, ${parties}, through counsel, and hereby propounds these Interrogatories and Requests for Production on ${adversary}, to be answered to be answered under oath, in writing, in accordance with NJ R. 4:17-1 - 4:18-1,` +
<div className="jersey-itals">et. seq.</div> +
`All questions must be answered unless the court otherwise orders or unless a claim of privilege or protective order is made in accordance with R. 4:17-1(b)(3).`;
}
return <div className="req-edit-comesnow">{copyString}</div>;
};