🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: resend mail not working
prafull-opensignlabsd75c1d7c0c7e
diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.jsindex fdfc4422f..28ae7822c 100644--- a/apps/OpenSign/src/primitives/GetReportDisplay.js+++ b/apps/OpenSign/src/primitives/GetReportDisplay.js@@ -551,6 +551,7 @@ const ReportTable = (props) => {};const handleResendMail = async (e, doc, user) => {e.preventDefault();+ console.log("first");setActLoader({ [user.objectId]: true });const url = `${localStorage.getItem("baseUrl")}functions/sendmailv3`;const headers = {@@ -955,20 +956,22 @@ const ReportTable = (props) => {onSubmit={(e) =>handleResendMail(e, item, user)}- className="w-full flex flex-col gap-2 p-3 text-black"+ className="w-full flex flex-col gap-2 p-3 text-black relative">+ <div className="absolute right-5 text-xs z-40">+ <Tooltip+ id={`${user.objectId}_help`}+ message={+ "You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."+ }+ />+ </div><div><labelclassName="text-xs ml-1"htmlFor="mailsubject">Subject{" "}- <Tooltip- id={isNextStep[user.objectId]}- message={- "You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."- }- /></label><inputid="mailsubject"@@ -989,12 +992,6 @@ const ReportTable = (props) => {htmlFor="mailbody">Body{" "}- <Tooltip- id={isNextStep[user.objectId]}- message={- "You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."- }- /></label><EditorToolbar containerId="toolbar1" /><ReactQuill