diff --git a/src/pages/Organization/DetailPage/OrganizationCard.js b/src/pages/Organization/DetailPage/OrganizationCard.js index 6146a11..71e9e4f 100644 --- a/src/pages/Organization/DetailPage/OrganizationCard.js +++ b/src/pages/Organization/DetailPage/OrganizationCard.js @@ -552,10 +552,9 @@ const OrganizationCard = ({ userData, loadDataFun, id, setEditModeFun }) => { Please Enter Organisation Short Name for Credit Client (Used for Demand Note) - + { - - - - - 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 + }