MexinaD closed pull request #455: FINERACT-630 Allow decimal interest in a 
sheet to import loan
URL: https://github.com/apache/fineract/pull/455
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/bulkimport/populator/loan/LoanWorkbookPopulator.java
 
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/bulkimport/populator/loan/LoanWorkbookPopulator.java
index 409eed58a..2cbb18e59 100644
--- 
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/bulkimport/populator/loan/LoanWorkbookPopulator.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/bulkimport/populator/loan/LoanWorkbookPopulator.java
@@ -170,7 +170,7 @@ private void setRules(Sheet worksheet,String dateFormat) {
                                
.createIntegerConstraint(DataValidationConstraint.OperatorType.GREATER_OR_EQUAL,
 "=$M1*$N1", null);
                DataValidationConstraint interestFrequencyConstraint = 
validationHelper
                                
.createFormulaListConstraint("INDIRECT(CONCATENATE(\"INTEREST_FREQUENCY_\",$E1))");
-               DataValidationConstraint interestConstraint = 
validationHelper.createIntegerConstraint(
+               DataValidationConstraint interestConstraint = 
validationHelper.createDecimalConstraint(
                                DataValidationConstraint.OperatorType.BETWEEN, 
"=INDIRECT(CONCATENATE(\"MIN_INTEREST_\",$E1))",
                                
"=INDIRECT(CONCATENATE(\"MAX_INTEREST_\",$E1))");
                DataValidationConstraint amortizationConstraint = 
validationHelper
@@ -562,4 +562,4 @@ private void setNames(Sheet worksheet) {
                }
        }
 
-}
\ No newline at end of file
+}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to