Risky Commit ☠️
This commit is contained in:
@@ -110,8 +110,9 @@ const DistributionInvestor = ({ isOpen, onClose }) => {
|
||||
"First name",
|
||||
"Last Name",
|
||||
"Amount",
|
||||
"Holding %",
|
||||
"Holding (%)",
|
||||
"Distriution Amt($)",
|
||||
"Yeild (%)",
|
||||
];
|
||||
|
||||
const extractedArray = calcualtedData?.data?.map((item, index) => ({
|
||||
@@ -160,17 +161,15 @@ const DistributionInvestor = ({ isOpen, onClose }) => {
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
"Holding %": (
|
||||
<Box minW={19} isTruncated={true}>
|
||||
<Text
|
||||
textAlign={"right"}
|
||||
as={"span"}
|
||||
color={"teal.900"}
|
||||
fontWeight={"500"}
|
||||
>
|
||||
{parseFloat(item?.distribution_per).toFixed(2)}%
|
||||
</Text>
|
||||
</Box>
|
||||
"Holding (%)": (
|
||||
<Box minW={24} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"} fontWeight={"500"}>
|
||||
{item?.investor_holidings?.toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}%
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
"Distriution Amt($)": (
|
||||
<Box minW={24} isTruncated={true}>
|
||||
@@ -182,6 +181,16 @@ const DistributionInvestor = ({ isOpen, onClose }) => {
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
"Yeild (%)": (
|
||||
<Box minW={24} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"} fontWeight={"500"}>
|
||||
{item?.distribution_per?.toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}%
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
}));
|
||||
|
||||
const Total = () => {
|
||||
@@ -359,7 +368,7 @@ const DistributionInvestor = ({ isOpen, onClose }) => {
|
||||
return (
|
||||
<Modal size={"xl"} isOpen={isOpen} onClose={handleClose}>
|
||||
<ModalOverlay />
|
||||
<ModalContent maxW={1000}>
|
||||
<ModalContent maxW={1200}>
|
||||
<ModalHeader fontSize={"md"}>
|
||||
Distribution To Investor Transaction
|
||||
</ModalHeader>
|
||||
|
||||
@@ -147,7 +147,7 @@ const Exit = ({ isOpen, onClose }) => {
|
||||
"First name",
|
||||
"Last Name",
|
||||
"Amount",
|
||||
"Holding %",
|
||||
"Holding (%)",
|
||||
"Exit Amt($)",
|
||||
];
|
||||
|
||||
@@ -197,17 +197,15 @@ const Exit = ({ isOpen, onClose }) => {
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
"Holding %": (
|
||||
<Box minW={19} isTruncated={true}>
|
||||
<Text
|
||||
textAlign={"right"}
|
||||
as={"span"}
|
||||
color={"teal.900"}
|
||||
fontWeight={"500"}
|
||||
>
|
||||
{parseFloat(item?.distribution_per).toFixed(2)}%
|
||||
</Text>
|
||||
</Box>
|
||||
"Holding (%)": (
|
||||
<Box minW={24} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"} fontWeight={"500"}>
|
||||
{item?.investor_holidings?.toLocaleString(undefined, {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
})}%
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
"Exit Amt($)": (
|
||||
<Box minW={24} isTruncated={true}>
|
||||
|
||||
Reference in New Issue
Block a user