Subversion Repositories SmartDukaan

Rev

Rev 34512 | Rev 34532 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34512 Rev 34515
Line 3694... Line 3694...
3694
        BigDecimal suggestedAmount = BigDecimal.ZERO;
3694
        BigDecimal suggestedAmount = BigDecimal.ZERO;
3695
        //1 LAC
3695
        //1 LAC
3696
        if (creditAccount == null || creditAccount.getGateway().equals(Gateway.SDDIRECT)) {
3696
        if (creditAccount == null || creditAccount.getGateway().equals(Gateway.SDDIRECT)) {
3697
 
3697
 
3698
            if (currentPartnerDailyInvestment != null) {
3698
            if (currentPartnerDailyInvestment != null) {
3699
                if (hundredPercentLimitPartnerIds.contains(creditAccount.getFofoId())) {
3699
                if (hundredPercentLimitPartnerIds.contains(currentPartnerDailyInvestment.getFofoId())) {
3700
                    suggestedAmount = getSuggestedAmount(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount, 1);
3700
                    suggestedAmount = getSuggestedAmount(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount, 1);
3701
                    suggestedAmount = suggestedAmount.min(BigDecimal.valueOf(1500000));
3701
                    suggestedAmount = suggestedAmount.min(BigDecimal.valueOf(1500000));
3702
                } else {
3702
                } else {
3703
                    suggestedAmount = getSuggestedLimit(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount);
3703
                    suggestedAmount = getSuggestedLimit(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount);
3704
                }
3704
                }