@@ -134,16 +134,16 @@ const Transaction = () => {
|
||||
</Box>
|
||||
),
|
||||
"Amount": (
|
||||
<Box w={100} display={"flex"} alignItems={"right"}>
|
||||
<Text as={"span"} w={"100%"} color={"teal.900"} display={"flex"} justifyContent={"end"}>
|
||||
{/* <Badge ms={1} colorScheme="green" me={1}>$</Badge> */}
|
||||
<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>
|
||||
),
|
||||
@@ -210,16 +210,16 @@ const Transaction = () => {
|
||||
Transaction: null,
|
||||
// "Currency": null,
|
||||
"Amount": (
|
||||
InvestorWallet?.currencyCode_InCur&&<Box w={100} display={"flex"} justifyContent={"right"}>
|
||||
<Text as={"span"} textAlign={"right"} w={"100%"} color={"teal.900"}>
|
||||
{/* <Badge ms={1} colorScheme="green" me={1}>$</Badge> */}
|
||||
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>
|
||||
{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>
|
||||
),
|
||||
|
||||
@@ -295,7 +295,7 @@ const ViewInvestorDetails = () => {
|
||||
</HStack> */}
|
||||
</HStack>
|
||||
</Box>
|
||||
0
|
||||
|
||||
<NormalTable
|
||||
emptyMessage={`We don't have any Sponers `}
|
||||
tableHeadRow={tableHeadRow}
|
||||
|
||||
@@ -17,7 +17,7 @@ export const investorDetails = createApi({
|
||||
`/investorDetails/admin?page=${page}&size=${size}`,
|
||||
providesTags: ["getInvestors"],
|
||||
}),
|
||||
|
||||
|
||||
|
||||
// =====[get investment details ]
|
||||
getInvestorsDetailsById: builder.query({
|
||||
|
||||
Reference in New Issue
Block a user