diff --git a/src/Components/DataTable/DataTable.jsx b/src/Components/DataTable/DataTable.jsx index 539cded..752a8bb 100644 --- a/src/Components/DataTable/DataTable.jsx +++ b/src/Components/DataTable/DataTable.jsx @@ -65,7 +65,7 @@ const DataTable = ({ {/* {caption} */} {caption} - + {tableHeadRow.map((heading, index) => ( + {tableHeadRow.map((heading, i) => (
@@ -121,7 +121,7 @@ const DataTable = ({ )} ) : ( -
{ fontWeight={"500"} className="d-flex align-items-center web-text-small" > - $ + + $ + {/* {`$${item.Distribution_Amt}`} */} {`$${parseFloat(item.Distribution_Amt || 0).toLocaleString(undefined, { minimumFractionDigits: 2, @@ -264,7 +266,9 @@ const Investors = ({ data }) => { fontWeight={"500"} className="d-flex align-items-center web-text-small" > - $ + + $ + {/* {`$${formatCurrency(item.Total_Return) || 0}`} */} {`${parseFloat(item.Total_Return || 0).toLocaleString(undefined, { minimumFractionDigits: 2, @@ -421,6 +425,7 @@ const Investors = ({ data }) => { const handleRefresh = async () => { setIsRefetchLoading(true); + await refetch(); setIsRefetchLoading(false); }; @@ -445,21 +450,23 @@ const Investors = ({ data }) => { value={searchTerm} onChange={(e) => setSearchTerm(e.target.value)} /> - + + + { > Total Investment Amount ( USD ) - $ + + $ + {parseFloat(IODetails?.totalAmtInvestmentInUSD).toLocaleString()} diff --git a/src/Pages/Master/ExchangeRate/ExchangeRate.jsx b/src/Pages/Master/ExchangeRate/ExchangeRate.jsx index 24aec28..b223e76 100644 --- a/src/Pages/Master/ExchangeRate/ExchangeRate.jsx +++ b/src/Pages/Master/ExchangeRate/ExchangeRate.jsx @@ -84,7 +84,7 @@ const ExchangeRate = () => { fontWeight={"600"} className="d-flex align-items-center fw- web-text-small" > - {index + 1}. + {index + 1} ), "From Currency": (