Explorar el Código

fix for concurrent create proof an check create

web_access_fix
Jason Chuang hace 1 semana
padre
commit
42a8501fd2
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
  1. +3
    -1
      src/pages/Proof/Create_FromApp/ProofForm.js
  2. +3
    -1
      src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js

+ 3
- 1
src/pages/Proof/Create_FromApp/ProofForm.js Ver fichero

@@ -168,7 +168,9 @@ const FormPanel = ({ formData }) => {
if (msg === "haveActiveProof") {
msg = "Action Failed: There is already a pending payment and proofreading record for client review."
} else if (msg === "haveProofed") {
msg = "Action Failed: Already proofed."
msg = "Action Failed: An active proof is already created for this application."
} else if (msg === "applicationNotFound") {
msg = "Application not found."
}
setWarningText(msg);
setIsWarningPopUp(true);


+ 3
- 1
src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js Ver fichero

@@ -190,7 +190,9 @@ const ApplicationDetailCard = (
if (msg === "haveActiveProof") {
msg = "Action Failed: There is already a pending payment and proofreading record for client review."
} else if (msg === "haveProofed") {
msg = "Action Failed: Already proofed."
msg = "Action Failed: An active proof is already created for this application."
} else if (msg === "applicationNotFound") {
msg = "Application not found."
}
setWarningText(msg);
setIsWarningPopUp(true);


Cargando…
Cancelar
Guardar