alberto-art3ch commented on code in PR #4977:
URL: https://github.com/apache/fineract/pull/4977#discussion_r2310790888


##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/ProgressiveLoanTransactionValidatorImpl.java:
##########
@@ -313,6 +321,11 @@ public void validateBuyDownFee(JsonCommand command, Long 
loanId) {
         final BigDecimal transactionAmount = 
this.fromApiJsonHelper.extractBigDecimalWithLocaleNamed("transactionAmount", 
element);
         
baseDataValidator.reset().parameter("transactionAmount").value(transactionAmount).notNull().positiveAmount();
 
+        final Long transactionClassificationId = 
fromApiJsonHelper.extractLongNamed(LoanApiConstants.TRANSACTION_CLASSIFICATIONID_PARAMNAME,
+                element);
+        
progressiveLoanTransactionService.validateClassificationCodeValue(LoanApiConstants.BUY_DOWN_FEE_CLASSIFICATION_CODE,

Review Comment:
   Done! method used from the LoanTransactionValidator class



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to