From 42a8501fd28f02c4c1e4eb82541bbeb682ebe041 Mon Sep 17 00:00:00 2001 From: Jason Chuang Date: Fri, 13 Mar 2026 03:36:41 +0800 Subject: [PATCH] fix for concurrent create proof an check create --- src/pages/Proof/Create_FromApp/ProofForm.js | 4 +++- src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/Proof/Create_FromApp/ProofForm.js b/src/pages/Proof/Create_FromApp/ProofForm.js index bda2d6e..2ac34d1 100644 --- a/src/pages/Proof/Create_FromApp/ProofForm.js +++ b/src/pages/Proof/Create_FromApp/ProofForm.js @@ -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); diff --git a/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js b/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js index 3b3b5f0..931ec83 100644 --- a/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js +++ b/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js @@ -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);