[ update amount reseversl ]

This commit is contained in:
YasinShaikh123
2025-01-21 16:25:38 +05:30
parent 8587b91a33
commit f4a2fd2889
2 changed files with 32 additions and 4 deletions

View File

@@ -117,6 +117,7 @@ const BankDepositRequest = () => {
"Last Name",
"Country",
"Phone Number",
"Deposit Amount",
"Action",
];
@@ -212,17 +213,30 @@ const BankDepositRequest = () => {
</Box>
),
Country: (
<Box w={"80px"} isTruncated={true}>
<Box isTruncated={true}>
<Text as={"span"} color={"teal.900"}>
{item?.countryName}
</Text>
</Box>
),
"Phone Number": (
<Box w={"80px"} isTruncated={true}>
<Box isTruncated={true}>
<Text as={"span"} color={"teal.900"}>
{/* {item?.mobileNumber} */}
{item?.ISDcode + " " + item?.mobileNumber}
{item?.ISDCode} {item?.mobileNumber}
{/* {item?.ISDcode + " " + item?.mobileNumber} */}
</Text>
</Box>
),
"Deposit Amount": (
<Box isTruncated={true} display={"flex"} justifyContent={"end"}>
<Text as={"span"} color={"teal.900"} textAlign={"right"}>
{parseFloat(item?.investorAmount || 0).toLocaleString(undefined, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
})}
<Badge ms={1} colorScheme="green">
{item?.currencyCode}
</Badge>
</Text>
</Box>
),

View File

@@ -130,6 +130,7 @@ const ReversalFawateerDeposit = () => {
"First Name",
"Last Name",
"Phone Number",
"Deposit Amount (BHD)",
"Action",
];
@@ -193,6 +194,19 @@ const ReversalFawateerDeposit = () => {
</Text>
</Box>
),
"Deposit Amount (BHD)": (
<Box isTruncated={true}>
<Text as={"span"} color={"teal.900"} textAlign={"right"}>
{parseFloat(item?.transaction_details?.investorAmount || 0).toLocaleString(undefined, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
})}
<Badge ms={1} colorScheme="green">
{item?.currencyCode}
</Badge>
</Text>
</Box>
),
Action: (
<Box display={"flex"} justifyContent={"center"} gap={2}>
<Tooltip