BigDecimal averageGrade =
conclusionBean.hasEnteredAverageGrade() ? new BigDecimal(conclusionBean.getEnteredAverageGrade()).setScale(2,
RoundingMode.FLOOR) : registration.getAverage();
registration.editConclusionInformation(null, finalAverage, averageGrade, conclusionDate, null);
}
}
private void checkEnteredFinalAverageGrade(RegistrationConclusionBean conclusionBean) {
if (conclusionBean.getEnteredFinalAverageGrade() < 10 || conclusionBean.getEnteredFinalAverageGrade() > 20) {