Subversion Repositories SmartDukaan

Rev

Rev 35942 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35942 Rev 37592
Line 155... Line 155...
155
        investments.put("isInvestmentOk", isInvestmentOk);
155
        investments.put("isInvestmentOk", isInvestmentOk);
156
        investments.put("inStock", investment.getInStockAmount());
156
        investments.put("inStock", investment.getInStockAmount());
157
        investments.put("minimum", investment.getMinInvestmentString());
157
        investments.put("minimum", investment.getMinInvestmentString());
158
        investments.put("short", investment.getShortPercentage());
158
        investments.put("short", investment.getShortPercentage());
159
        investments.put("activated_stock", investment.getActivatedStockAmount());
159
        investments.put("activated_stock", investment.getActivatedStockAmount());
-
 
160
        // Apple handsets held past the aging window. Deducted from investment when the credit limit
-
 
161
        // is calculated but not from the investment figures above, so it is surfaced separately.
-
 
162
        investments.put("aged_apple_stock", investment.getAgedAppleStockAmount());
-
 
163
        investments.put("aged_apple_qty", investment.getAgedAppleQty());
160
        investments.put("okDays", okInvestmentDays);
164
        investments.put("okDays", okInvestmentDays);
161
        investments.put("cutOf", 100-ProfitMandiConstants.CUTOFF_INVESTMENT);
165
        investments.put("cutOf", 100-ProfitMandiConstants.CUTOFF_INVESTMENT);
162
        investments.put("minInvestment", 100-ProfitMandiConstants.MIN_INVESTMENT_PERCENTAGE);
166
        investments.put("minInvestment", 100-ProfitMandiConstants.MIN_INVESTMENT_PERCENTAGE);
163
        return investments;
167
        return investments;
164
    }
168
    }