transection amount
This commit is contained in:
@@ -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>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user