transection amount

This commit is contained in:
YasinShaikh123
2024-09-02 15:44:37 +05:30
parent 1be4a00ced
commit 7a8ea42832
2 changed files with 9 additions and 9 deletions

View File

@@ -134,16 +134,16 @@ const Transaction = () => {
</Box>
),
"Amount": (
<Box w={100} display={"flex"} justifyContent={"left"}>
<Text as={"span"} w={"100%"} color={"teal.900"}>
<Badge ms={1} colorScheme="green" me={1}>$</Badge>
<Box w={100} display={"flex"} justifyContent={"right"}>
<Text as={"span"} w={"100%"} color={"teal.900"} display={"flex"} justifyContent={"end"}>
{/* <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>
),
@@ -211,15 +211,15 @@ const Transaction = () => {
// "Currency": null,
"Amount": (
InvestorWallet?.currencyCode_InCur&&<Box w={100} display={"flex"} justifyContent={"end"}>
<Text as={"span"} textAlign={"left"} w={"100%"} color={"teal.900"}>
<Badge ms={1} colorScheme="green" me={1}>$</Badge>
<Text as={"span"} textAlign={"right"} w={"100%"} color={"teal.900"} fontWeight={600}>
{/* <Badge ms={1} colorScheme="green" me={1}>$</Badge> */}
{parseFloat(InvestorWallet?.WalletBalance_InInvCur||0).toLocaleString(
undefined,
{ minimumFractionDigits: 2, maximumFractionDigits: 2 }
)}
{/* <Badge ms={1} colorScheme="green">
<Badge ms={1} colorScheme="green">
{InvestorWallet?.currencyCode_InCur}
</Badge> */}
</Badge>
</Text>
</Box>
),