Subversion Repositories SmartDukaan

Rev

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

Rev 33638 Rev 33639
Line 3782... Line 3782...
3782
                if (interestAmount == null) {
3782
                if (interestAmount == null) {
3783
                    interestAmount = (double) 0;
3783
                    interestAmount = (double) 0;
3784
                }
3784
                }
3785
                double principalAmount = loanStatusAmount.get(LoanReferenceType.PRINCIPAL);
3785
                double principalAmount = loanStatusAmount.get(LoanReferenceType.PRINCIPAL);
3786
                //if it can be settled
3786
                //if it can be settled
3787
                if (userWallet.getAmount() >= 50 || userWallet.getAmount() > Math.abs(interestAmount + principalAmount)) {
3787
                if (userWallet.getAmount() >= 100 || userWallet.getAmount() > Math.abs(interestAmount + principalAmount)) {
3788
                    double paidAmount = 0;
3788
                    double paidAmount = 0;
3789
                    if (userWallet.getAmount() > Math.abs(interestAmount)) {
3789
                    if (userWallet.getAmount() > Math.abs(interestAmount)) {
3790
 
3790
 
3791
                        LOGGER.info("interestAmount b {}", interestAmount);
3791
                        LOGGER.info("interestAmount b {}", interestAmount);
3792
 
3792