You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//checking if condition current user already sign or owner does not exist as a signer or document has been declined by someone or document has been expired
450
+
//then stop to display tour message
451
+
if(
452
+
(checkAlreadySign&&
453
+
checkAlreadySign[0]&&
454
+
checkAlreadySign.length>0)||
455
+
!currUserId||
456
+
declined||
457
+
currDate>expireUpdateDate
458
+
){
459
+
setRequestSignTour(false);
460
+
}else{
461
+
//else condition to check current user exist in contracts_Users class and check tour message status
462
+
//if not then check user exist in contracts_Contactbook class and check tour message status
message={`List of signers who still need to sign the document .`}
1255
+
isChecked={handleDontShow}
1256
+
/>
1257
+
),
1258
+
position: "top",
1259
+
style: {fontSize: "13px"}
1260
+
},
1261
+
{
1262
+
selector: '[data-tut="reactourForth"]',
1263
+
content: ()=>(
1264
+
<TourContentWithBtn
1265
+
message={`Click any of the placeholders appearing on the document to sign. You will then see options to draw your signature, type it, or upload an image .`}
1266
+
isChecked={handleDontShow}
1267
+
/>
1268
+
),
1269
+
position: "top",
1270
+
style: {fontSize: "13px"}
1271
+
},
1272
+
{
1273
+
selector: '[data-tut="reactourFifth"]',
1274
+
content: ()=>(
1275
+
<TourContentWithBtn
1276
+
message={`Click the Back, Decline, or Finish buttons to navigate your document. Use the ellipsis menu for additional options, including the Download button .`}
1277
+
isChecked={handleDontShow}
1278
+
/>
1279
+
),
1280
+
position: "top",
1281
+
style: {fontSize: "13px"}
1282
+
}
1283
+
];
1284
+
constsignedByStep={
1285
+
selector: '[data-tut="reactourSecond"]',
1286
+
content: ()=>(
1287
+
<TourContentWithBtn
1288
+
message={`List of signers who have already signed the document .`}
1289
+
isChecked={handleDontShow}
1290
+
/>
1291
+
),
1292
+
position: "top",
1293
+
style: {fontSize: "13px"}
1294
+
};
1295
+
//checking if signed by user component exist then add signed step
//checking if default signature component exist then add defaultSign step
1302
+
constdefaultSignStep={
1303
+
selector: '[data-tut="reactourThird"]',
1304
+
content: ()=>(
1305
+
<TourContentWithBtn
1306
+
message={`You can click "Auto Sign All" to automatically sign at all the locations meant to be signed by you. Make sure that you review the document properly before you click this button .`}
1307
+
isChecked={handleDontShow}
1308
+
/>
1309
+
),
1310
+
position: "top",
1311
+
style: {fontSize: "13px"}
1312
+
};
1313
+
//index is handle is signed by exist then 2 else 1 to add tour step
0 commit comments