diff --git a/src/pages/Payment/Details_GLD/PaymentDetails.js b/src/pages/Payment/Details_GLD/PaymentDetails.js index 9efe315..d74c937 100644 --- a/src/pages/Payment/Details_GLD/PaymentDetails.js +++ b/src/pages/Payment/Details_GLD/PaymentDetails.js @@ -150,25 +150,30 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { - - - - - Payment Receipt: - - - - {onDownload? - - : - - } - - - + { + data.status == "APPR" + ? + + + + + Payment Receipt: + + + + {onDownload? + + : + + } + + + + : null + } diff --git a/src/pages/Payment/Details_Public/PaymentDetails.js b/src/pages/Payment/Details_Public/PaymentDetails.js index 2dea0fc..16d6a85 100644 --- a/src/pages/Payment/Details_Public/PaymentDetails.js +++ b/src/pages/Payment/Details_Public/PaymentDetails.js @@ -160,27 +160,32 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { - - - - - : - - - - {onDownload? - - : - - } - - - + { + data.status == "APPR" + ? + + + + + : + + + + {onDownload? + + : + + } + + + + : null + }