diff --git a/src/Pages/IO_Management/CreateIO/IOTransaction/ViewAmountInvested.jsx b/src/Pages/IO_Management/CreateIO/IOTransaction/ViewAmountInvested.jsx index d7a7607..3983f72 100644 --- a/src/Pages/IO_Management/CreateIO/IOTransaction/ViewAmountInvested.jsx +++ b/src/Pages/IO_Management/CreateIO/IOTransaction/ViewAmountInvested.jsx @@ -47,7 +47,7 @@ const formatCurrency = (value) => { return decimal ? `${formattedInteger}.${decimal}` : formattedInteger; }; -const ViewAmountInvested = ({ isOpen, onClose, id:investorId }) => { +const ViewAmountInvested = ({ isOpen, onClose, id: investorId }) => { const params = useParams(); const toast = useToast(); const id = params?.id; @@ -131,7 +131,11 @@ const ViewAmountInvested = ({ isOpen, onClose, id:investorId }) => { Total_Amount: IODetails?.totalAmtInvestmentInUSD, }); }; - + + console.log( + "=========hitttt", + IODetails?.ioTransactionRecords?.Approved?.[0]?.transactionAmount + ); return ( @@ -151,7 +155,9 @@ const ViewAmountInvested = ({ isOpen, onClose, id:investorId }) => { { - - Amount - - - + mb={"15px"} + isInvalid={!!errors.Total_Amount} + isReadOnly + > + + Amount + + + - - - Amount to invest - - - - - - - IO Cash - - - + + + Amount to invest + + + + + + IO Cash + + + diff --git a/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx b/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx index c2f5e49..dd99522 100644 --- a/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx +++ b/src/Pages/IO_Management/ViewIO/ViewIOdata.jsx @@ -54,7 +54,7 @@ const ViewIOdata = () => { const tabs = [ { label: "IO Details", content: }, { - label: "Investment documents", + label: "Investment documents", content: , }, { label: "Key merits", content: }, @@ -98,15 +98,25 @@ const ViewIOdata = () => { {tabs.map(({ label }, index) => (