Remove unwanted comments
This commit is contained in:
+2
-7
@@ -1607,10 +1607,8 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
|||||||
.orElseThrow(() -> new LoanTransactionNotFoundException(command.entityId()));
|
.orElseThrow(() -> new LoanTransactionNotFoundException(command.entityId()));
|
||||||
|
|
||||||
if (!loanTransaction.getTypeOf().getCode().equals(LoanTransactionType.WAIVE_CHARGES.getCode())) {
|
if (!loanTransaction.getTypeOf().getCode().equals(LoanTransactionType.WAIVE_CHARGES.getCode())) {
|
||||||
/**
|
throw new InvalidLoanTransactionTypeException("Undo Waive Charge", "Waive an Installment Charge First",
|
||||||
* TODO: Add proper validation
|
"Transaction is not a waive charge type.");
|
||||||
*/
|
|
||||||
throw new InvalidLoanTransactionTypeException("", "", "Transaction is not a waive charge type.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<LoanChargePaidBy> loanChargePaidBySet = loanTransaction.getLoanChargesPaid();
|
Set<LoanChargePaidBy> loanChargePaidBySet = loanTransaction.getLoanChargesPaid();
|
||||||
@@ -1725,9 +1723,6 @@ public class LoanWritePlatformServiceJpaRepositoryImpl implements LoanWritePlatf
|
|||||||
changes.put("amount", amountWaived);
|
changes.put("amount", amountWaived);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/**
|
|
||||||
* TODO: Throw installment number should not be empty error.
|
|
||||||
*/
|
|
||||||
throw new InstallmentNotFoundException(command.entityId());
|
throw new InstallmentNotFoundException(command.entityId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user