From c5d9b32e8df3ee98f0644959678e3c62cb3ac6ff Mon Sep 17 00:00:00 2001 From: YasinShaikh123 <123150391+YasinShaikh123@users.noreply.github.com> Date: Mon, 2 Sep 2024 15:31:57 +0530 Subject: [PATCH] Revert "update" This reverts commit 4957bd5032e305a9f7db4dc464ac12df99fd4d76. --- .../InvestorDetails/Transaction.jsx | 20 +++++++++---------- .../InvestorDetails/ViewInvestorDetails.jsx | 2 +- src/Services/investor.details.service.js | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Pages/Investor_Management/InvestorDetails/Transaction.jsx b/src/Pages/Investor_Management/InvestorDetails/Transaction.jsx index 35388b0..ed97948 100644 --- a/src/Pages/Investor_Management/InvestorDetails/Transaction.jsx +++ b/src/Pages/Investor_Management/InvestorDetails/Transaction.jsx @@ -134,16 +134,16 @@ const Transaction = () => { ), "Amount": ( - - - {/* $ */} + + + $ {parseFloat(item?.investorAmount || 0).toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2, })} - + {/* {item?.investorCurrency} - + */} ), @@ -210,16 +210,16 @@ const Transaction = () => { Transaction: null, // "Currency": null, "Amount": ( - InvestorWallet?.currencyCode_InCur&& - - {/* $ */} + InvestorWallet?.currencyCode_InCur&& + + $ {parseFloat(InvestorWallet?.WalletBalance_InInvCur).toLocaleString( undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 } )} - + {/* {InvestorWallet?.currencyCode_InCur} - + */} ), diff --git a/src/Pages/Investor_Management/InvestorDetails/ViewInvestorDetails.jsx b/src/Pages/Investor_Management/InvestorDetails/ViewInvestorDetails.jsx index bd80ca1..8c1fae9 100644 --- a/src/Pages/Investor_Management/InvestorDetails/ViewInvestorDetails.jsx +++ b/src/Pages/Investor_Management/InvestorDetails/ViewInvestorDetails.jsx @@ -295,7 +295,7 @@ const ViewInvestorDetails = () => { */} - 0 +