@@ -471,7 +471,8 @@ function PdfRequestFiles() {
471
471
const maxCount =
472
472
requiredCheckbox [ i ] . options ?. validation ?. maxRequiredCount ;
473
473
const parseMax = maxCount && parseInt ( maxCount ) ;
474
- const response = requiredCheckbox [ i ] . options ?. response ?. length ;
474
+ const response =
475
+ requiredCheckbox [ i ] . options ?. response ?. length ;
475
476
const defaultValue =
476
477
requiredCheckbox [ i ] . options ?. defaultValue ?. length ;
477
478
if ( parseMin === 0 && parseMax === 0 ) {
@@ -670,7 +671,8 @@ function PdfRequestFiles() {
670
671
) } &${ localStorage . getItem ( "_appName" ) } `;
671
672
const hostUrl = window . location . origin ;
672
673
let signPdf = `${ hostUrl } /login/${ pdfDetails ?. [ 0 ] . objectId } /${ user . Email } /${ objectId } /${ serverParams } ` ;
673
- const openSignUrl = "https://www.opensignlabs.com/contact-us" ;
674
+ const openSignUrl =
675
+ "https://www.opensignlabs.com/contact-us" ;
674
676
const orgName = pdfDetails [ 0 ] ?. ExtUserPtr . Company
675
677
? pdfDetails [ 0 ] . ExtUserPtr . Company
676
678
: "" ;
@@ -681,7 +683,10 @@ function PdfRequestFiles() {
681
683
requestSubject &&
682
684
( ! isEnableSubscription || isSubscribed )
683
685
) {
684
- const replacedRequestBody = requestBody . replace ( / " / g, "'" ) ;
686
+ const replacedRequestBody = requestBody . replace (
687
+ / " / g,
688
+ "'"
689
+ ) ;
685
690
const htmlReqBody =
686
691
"<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /></head><body>" +
687
692
replacedRequestBody +
@@ -1148,9 +1153,9 @@ function PdfRequestFiles() {
1148
1153
isDecline . currnt === "Sure"
1149
1154
? "Are you sure want to decline this document ?"
1150
1155
: isDecline . currnt === "YouDeclined"
1151
- ? "You have declined this document!"
1152
- : isDecline . currnt === "another" &&
1153
- "You can not sign this document as it has been declined/revoked."
1156
+ ? "You have declined this document!"
1157
+ : isDecline . currnt === "another" &&
1158
+ "You can not sign this document as it has been declined/revoked."
1154
1159
}
1155
1160
footerMessage = { isDecline . currnt === "Sure" }
1156
1161
declineDoc = { declineDoc }
@@ -1229,7 +1234,10 @@ function PdfRequestFiles() {
1229
1234
</ ModalUi >
1230
1235
{ /* this component used to render all pdf pages in left side */ }
1231
1236
< RenderAllPdfPage
1232
- signPdfUrl = { pdfDetails [ 0 ] && pdfDetails [ 0 ] . SignedUrl }
1237
+ signPdfUrl = {
1238
+ pdfDetails [ 0 ] &&
1239
+ ( pdfDetails [ 0 ] . SignedUrl || pdfDetails [ 0 ] . URL )
1240
+ }
1233
1241
allPages = { allPages }
1234
1242
setAllPages = { setAllPages }
1235
1243
setPageNumber = { setPageNumber }
0 commit comments