This commit is contained in:
YasinShaikh123
2024-08-26 20:28:41 +05:30

View File

@@ -114,7 +114,7 @@ const PendingRequest = () => {
"Country",
"Phone Number",
"Amount in Investor currency",
"Currency",
// "Currency",
// "Withdrawal Amount",
"Action",
];
@@ -187,13 +187,13 @@ const PendingRequest = () => {
</Text>
</Box>
),
Currency: (
<Box w={"60px"} isTruncated={true}>
<Text as={"span"} color={"teal.900"}>
<Badge ms={1} colorScheme="green">{item?.currencyCode}</Badge>
</Text>
</Box>
),
// Currency: (
// <Box w={"60px"} isTruncated={true}>
// <Text as={"span"} color={"teal.900"}>
// <Badge ms={1} colorScheme="green">{item?.currencyCode}</Badge>
// </Text>
// </Box>
// ),
// "Withdrawal Amount": (
// <Box w={"80px"} isTruncated={true}>
// <Text as={"span"} color={"teal.900"}>
@@ -206,13 +206,13 @@ const PendingRequest = () => {
// </Box>
// ),
"Amount in Investor currency": (
<Box w={"60px"} isTruncated={true}>
<Box w={"100px"} isTruncated={true} display={'flex'} justifyContent={'end'}>
<Text as={"span"} color={"teal.900"}>
{/* {item.investorAmount} */}
{parseFloat(item?.investorAmount || 0).toLocaleString(undefined, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
})}
})}<Badge ms={1} colorScheme="green">{item?.currencyCode}</Badge>
</Text>
</Box>
),