Revert "update"

This reverts commit 4957bd5032.
This commit is contained in:
YasinShaikh123
2024-09-02 15:31:57 +05:30
parent 4957bd5032
commit c5d9b32e8d
3 changed files with 12 additions and 12 deletions

View File

@@ -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>
),

View File

@@ -295,7 +295,7 @@ const ViewInvestorDetails = () => {
</HStack> */}
</HStack>
</Box>
0
<NormalTable
emptyMessage={`We don't have any Sponers `}
tableHeadRow={tableHeadRow}

View File

@@ -17,7 +17,7 @@ export const investorDetails = createApi({
`/investorDetails/admin?page=${page}&size=${size}`,
providesTags: ["getInvestors"],
}),
// =====[get investment details ]
getInvestorsDetailsById: builder.query({