This commit is contained in:
2024-08-30 17:49:01 +05:30
2 changed files with 14 additions and 15 deletions

View File

@@ -147,7 +147,8 @@ const Destribution = () => {
wordBreak="normal"
overflowWrap="normal"
>
{IODetails?.total_distributeToInvestor_amt?.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
<Badge ms={1} colorScheme="green" me={1}>$</Badge>{IODetails?.total_distributeToInvestor_amt?.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}
</Th>
<Th
textAlign={"center"}

View File

@@ -134,16 +134,16 @@ const Transaction = () => {
</Box>
),
"Amount": (
<Box w={100} display={"flex"} justifyContent={"end"}>
<Text as={"span"} textAlign={"end"} w={"100%"} color={"teal.900"}>
{/* {item.investorAmount} */}
<Box w={100} display={"flex"} justifyContent={"left"}>
<Text as={"span"} w={"100%"} color={"teal.900"}>
<Badge ms={1} colorScheme="green" me={1}>$</Badge>
{parseFloat(item?.investorAmount || 0).toLocaleString(undefined, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
})}
<Badge ms={1} colorScheme="green">
{/* <Badge ms={1} colorScheme="green">
{item?.investorCurrency}
</Badge>
</Badge> */}
</Text>
</Box>
),
@@ -159,18 +159,15 @@ const Transaction = () => {
),
"USD amount": (
<Box w={100} display={"flex"} justifyContent={"end"}>
<Box w={100} display={"flex"} justifyContent={"left"}>
{
item?.invCurToUSD_Rate === '0.0000' && (
<Text as={"span"} textAlign={"end"} w={"100%"} color={"teal.900"}>
{/* {item.USDAmount} */}
<Text as={"span"} w={"100%"} color={"teal.900"}>
<Badge ms={1} colorScheme="green" me={1}>$</Badge>
{parseFloat(item?.USDAmount || 0).toLocaleString(undefined, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
})}
<Badge ms={1} colorScheme="green" me={1}>
$
</Badge>
</Text>
)
}
@@ -214,14 +211,15 @@ const Transaction = () => {
// "Currency": null,
"Amount": (
InvestorWallet?.currencyCode_InCur&&<Box w={100} display={"flex"} justifyContent={"end"}>
<Text as={"span"} textAlign={"end"} w={"100%"} color={"teal.900"}>
<Text as={"span"} textAlign={"left"} w={"100%"} color={"teal.900"}>
<Badge ms={1} colorScheme="green" me={1}>$</Badge>
{parseFloat(InvestorWallet?.WalletBalance_InInvCur).toLocaleString(
undefined,
{ minimumFractionDigits: 2, maximumFractionDigits: 2 }
)}
<Badge ms={1} colorScheme="green">
{/* <Badge ms={1} colorScheme="green">
{InvestorWallet?.currencyCode_InCur}
</Badge>
</Badge> */}
</Text>
</Box>
),