+
navigate(-1)}>
+
+
{pdfUrl && alreadySign ? (
-
-
-
-
-
- -
- handleDownloadPdf(pdfDetails, pdfUrl, setIsDownloading)
- }
+
+
+
-
- {" "}
- Download
-
-
- {isCompleted && (
-
-
+
+
+
+
+
- handleDownloadCertificate(pdfDetails, setIsDownloading)
+ handleDownloadPdf(pdfDetails, pdfUrl, setIsDownloading)
}
>
-
- {" "}
- Certificate
-
-
- )}
- {isSignYourself && (
- - setIsEmail(true)}>
-
- {" "}
- Mail
-
-
- )}
- - handleToPrint(e, pdfUrl, setIsDownloading)}
- >
-
- Print
-
-
-
-
+
+
+ Download
+
+
+ {isCompleted && (
+
+ handleDownloadCertificate(
+ pdfDetails,
+ setIsDownloading
+ )
+ }
+ >
+
+
+ Certificate
+
+
+ )}
+ {isSignYourself && (
+
setIsEmail(true)}
+ >
+
+
+ Mail
+
+
+ )}
+
+ handleToPrint(e, pdfUrl, setIsDownloading)
+ }
+ >
+
+
+ Print
+
+
+
+
+
) : (
- //
- //
- //
- //
- //
- //
- //
- //
- //
- // handleDownloadPdf(pdfDetails, pdfUrl, setIsDownloading)
- // }
- // >
- //
- //
- // Download
- //
- //
- // {isCompleted && (
- //
- // handleDownloadCertificate(
- // pdfDetails,
- // setIsDownloading
- // )
- // }
- // >
- //
- //
- // Certificate
- //
- //
- // )}
- // {isSignYourself && (
- // setIsEmail(true)}
- // >
- //
- //
- // Mail
- //
- //
- // )}
- //
- // handleToPrint(e, pdfUrl, setIsDownloading)
- // }
- // >
- //
- //
- // Print
- //
- //
- //
- //
- //
{/* current signer is checking user send request and check status of pdf sign than if current
user exist than show finish button else no
@@ -259,37 +228,6 @@ function Header({
Finish
)}
-
-
-
-
-
- -
- handleDownloadPdf(
- pdfDetails,
- pdfUrl,
- setIsDownloading
- )
- }
- >
-
- {" "}
- Download
-
-
-
-