| Line 644... |
Line 644... |
| 644 |
private ChartInvestmentModel getInvestmentChart(int fofoId) throws ProfitMandiBusinessException {
|
644 |
private ChartInvestmentModel getInvestmentChart(int fofoId) throws ProfitMandiBusinessException {
|
| 645 |
PartnerDailyInvestment investment = partnerInvestmentService.getInvestment(fofoId, 0);
|
645 |
PartnerDailyInvestment investment = partnerInvestmentService.getInvestment(fofoId, 0);
|
| 646 |
|
646 |
|
| 647 |
Map<String, Float> investmentWalletAmount = new HashMap<>();
|
647 |
Map<String, Float> investmentWalletAmount = new HashMap<>();
|
| 648 |
investmentWalletAmount.put("Wallet", investment.getWalletAmount());
|
648 |
investmentWalletAmount.put("Wallet", investment.getWalletAmount());
|
| 649 |
investmentWalletAmount.put("Ex.Activated Stocks", investment.getInStockAmount()-investment.getActivatedStockAmount());
|
649 |
investmentWalletAmount.put("InStocks", investment.getInStockAmount()-investment.getActivatedStockAmount());
|
| 650 |
investmentWalletAmount.put("Unbilled Order", investment.getUnbilledAmount());
|
650 |
investmentWalletAmount.put("Unbilled Order", investment.getUnbilledAmount());
|
| 651 |
investmentWalletAmount.put("GrnPending", investment.getGrnPendingAmount());
|
651 |
investmentWalletAmount.put("GrnPending", investment.getGrnPendingAmount());
|
| 652 |
investmentWalletAmount.put("ReturnInTransit", investment.getReturnInTransitAmount());
|
652 |
investmentWalletAmount.put("ReturnInTransit", investment.getReturnInTransitAmount());
|
| 653 |
|
653 |
|
| 654 |
if (investment.getShortInvestment() > 0) {
|
654 |
if (investment.getShortInvestment() > 0) {
|