This commit is contained in:
Kenneth Jannette
2024-03-05 19:02:09 -06:00
parent b4f15b4e60
commit 274a31599e
3 changed files with 29 additions and 30 deletions

View File

@@ -59,15 +59,15 @@ export const docEditCopy = {
export const outgoingComesNow = (state, fetchedCase) => {
let copyString;
const position = fetchedCase.clientPosition;
const position = fetchedCase?.clientPosition;
const parties =
fetchedCase.clientPosition === "Plaintiff"
? fetchedCase.plaintiffParties
: fetchedCase.defendantParties;
fetchedCase?.clientPosition === "Plaintiff"
? fetchedCase?.plaintiffParties
: fetchedCase?.defendantParties;
const adversary =
fetchedCase.clientPosition === "Plaintiff"
? fetchedCase.defendantParties
: fetchedCase.plaintiffParties;
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.`;