🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
feat: save declined by user details in-progress report
RaktimaNXGab6c88bebd09
diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.jsindex 9171b52a7..94e98f145 100644--- a/apps/OpenSign/src/primitives/GetReportDisplay.js+++ b/apps/OpenSign/src/primitives/GetReportDisplay.js@@ -473,9 +473,21 @@ const ReportTable = (props) => {};//function to handle revoke/decline docmentconst handleRevoke = async (item) => {+ const senderUser = localStorage.getItem(+ `Parse/${localStorage.getItem("parseAppId")}/currentUser`+ );+ const jsonSender = JSON.parse(senderUser);setIsRevoke({});setActLoader({ [`${item.objectId}`]: true });- const data = { IsDeclined: true, DeclineReason: reason };+ const data = {+ IsDeclined: true,+ DeclineReason: reason,+ DeclineBy: {+ __type: "Pointer",+ className: "_User",+ objectId: jsonSender?.objectId+ }+ };await axios.put(`${localStorage.getItem("baseUrl")}classes/contracts_Document/${