Skip to content

Commit d75c1d7

Browse files
fix: resend mail not working
1 parent 71016ba commit d75c1d7

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

apps/OpenSign/src/primitives/GetReportDisplay.js

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ const ReportTable = (props) => {
551551
};
552552
const handleResendMail = async (e, doc, user) => {
553553
e.preventDefault();
554+
console.log("first");
554555
setActLoader({ [user.objectId]: true });
555556
const url = `${localStorage.getItem("baseUrl")}functions/sendmailv3`;
556557
const headers = {
@@ -955,20 +956,22 @@ const ReportTable = (props) => {
955956
onSubmit={(e) =>
956957
handleResendMail(e, item, user)
957958
}
958-
className="w-full flex flex-col gap-2 p-3 text-black"
959+
className="w-full flex flex-col gap-2 p-3 text-black relative"
959960
>
961+
<div className="absolute right-5 text-xs z-40">
962+
<Tooltip
963+
id={`${user.objectId}_help`}
964+
message={
965+
"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}}."
966+
}
967+
/>
968+
</div>
960969
<div>
961970
<label
962971
className="text-xs ml-1"
963972
htmlFor="mailsubject"
964973
>
965974
Subject{" "}
966-
<Tooltip
967-
id={isNextStep[user.objectId]}
968-
message={
969-
"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}}."
970-
}
971-
/>
972975
</label>
973976
<input
974977
id="mailsubject"
@@ -989,12 +992,6 @@ const ReportTable = (props) => {
989992
htmlFor="mailbody"
990993
>
991994
Body{" "}
992-
<Tooltip
993-
id={isNextStep[user.objectId]}
994-
message={
995-
"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}}."
996-
}
997-
/>
998995
</label>
999996
<EditorToolbar containerId="toolbar1" />
1000997
<ReactQuill

0 commit comments

Comments
 (0)