Skip to content

Commit

Permalink
Merge pull request apache#455 from MexinaD/FINERACT-630
Browse files Browse the repository at this point in the history
FINERACT-630 Allow decimal interest in a sheet to import loan
  • Loading branch information
MexinaD authored Nov 22, 2018
2 parents ccaec28 + 2e5aaf7 commit 47e7f7e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -562,4 +562,4 @@ private void setNames(Sheet worksheet) {
}
}

}
}

0 comments on commit 47e7f7e

Please sign in to comment.