Subversion Repositories SmartDukaan

Rev

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

Rev 34510 Rev 34512
Line 3696... Line 3696...
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(creditAccount.getFofoId())) {
3700
                    suggestedAmount = getSuggestedAmount(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount, 1);
3700
                    suggestedAmount = getSuggestedAmount(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount, 1);
-
 
3701
                    suggestedAmount = suggestedAmount.min(BigDecimal.valueOf(1500000));
3701
                } else {
3702
                } else {
3702
                    suggestedAmount = getSuggestedLimit(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount);
3703
                    suggestedAmount = getSuggestedLimit(currentPartnerDailyInvestment.getTotalInvestment() - utilizationAmount);
3703
                }
3704
                }
3704
            }
3705
            }
3705
            if (suggestedAmount.doubleValue() < 0) {
3706
            if (suggestedAmount.doubleValue() < 0) {