Compare commits

..
5 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ Welcome to OpenSign, the premier open source docusign alternative - document e-s
The simplest way to install OpenSign on your own server is using official docker images by running the following command -
```
export HOST_URL=https://opensign.yourdomain.com && curl --remote-name-all https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/docker-compose.yml https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/Caddyfile https://raw.githubusercontent.com/OpenSignLabs/OpenSign/main/.env.local_dev && mv .env.local_dev .env.prod && docker compose up --force-recreate
export HOST_URL=https://opensign.yourdomain.com && curl --remote-name-all https://raw.githubusercontent.com/OpenSignLabs/OpenSign/docker_beta/docker-compose.yml https://raw.githubusercontent.com/OpenSignLabs/OpenSign/docker_beta/Caddyfile https://raw.githubusercontent.com/OpenSignLabs/OpenSign/docker_beta/.env.local_dev && mv .env.local_dev .env.prod && docker compose up --force-recreate
```
Make sure that you have `Docker` and `git` installed before you run this command -
@@ -103,8 +103,16 @@ function EmailComponent({
setEmailList([]);
}, 1500);
setIsLoading(false);
}
else {
} else if (sendMail?.data?.result?.status === "daily-quota-reached") {
setIsLoading(false);
setIsEmail(false);
setIsAlert({
isShow: true,
alertMessage: t("daily-quota-reached")
});
setEmailValue("");
setEmailList([]);
} else {
setIsLoading(false);
setIsEmail(false);
setIsAlert({
+6 -2
View File
@@ -1311,8 +1311,12 @@ function PlaceHolderSign() {
setIsMailSend(true);
setIsLoading({ isLoad: false });
setIsUiLoading(false);
}
else if (sendMail?.data?.result?.status === "quota-reached") {
} else if (sendMail?.data?.result?.status === "daily-quota-reached") {
setMailStatus("daily-quota-reached");
setIsSend(true);
setIsMailSend(true);
setIsUiLoading(false);
} else if (sendMail?.data?.result?.status === "quota-reached") {
setMailStatus("quotareached");
setIsSend(true);
setIsMailSend(true);
+1 -2
View File
@@ -1368,7 +1368,7 @@ function SignYourSelf() {
setCurrWidgetsDetails={setCurrWidgetsDetails}
/>
)}
{/*render email component to send email after finish signature on document
{/*render email component to send email after finish signature on document */}
<EmailComponent
isEmail={isEmail}
pdfUrl={pdfUrl}
@@ -1380,7 +1380,6 @@ function SignYourSelf() {
extUserId={extUserId}
setIsDownloadModal={setIsDownloadModal}
/>
*/}
{/* pdf header which contain funish back button */}
<Header
pageNumber={pageNumber}
@@ -806,8 +806,13 @@ const ReportTable = (props) => {
setIsAlert(true);
setAlertMsg({ type: "success", message: t("mail-sent-alert") });
setIsResendMail({});
}
else {
} else if (res?.data?.result?.status === "daily-quota-reached") {
setIsAlert(true);
setAlertMsg({
type: "danger",
message: t("daily-quota-reached")
});
} else {
setIsAlert(true);
setAlertMsg({
type: "danger",