Removed check form application for PEC

This commit is contained in:
rajesh
2025-09-11 15:37:06 +05:30
parent 7742b7ee56
commit bd0e96a81b

View File

@@ -1493,11 +1493,6 @@ public class ApplicationDao {
log.warn("Invalid amount requested | amount: {}", applicationEntity.getAmountRequested()); log.warn("Invalid amount requested | amount: {}", applicationEntity.getAmountRequested());
throw new CustomValidationException(Status.BAD_REQUEST, Translator.toLocale(GepafinConstant.AMOUNT_REQUEST_SHOULD_GREATED_THEN_ZERO)); throw new CustomValidationException(Status.BAD_REQUEST, Translator.toLocale(GepafinConstant.AMOUNT_REQUEST_SHOULD_GREATED_THEN_ZERO));
} }
if (StringUtils.isEmpty(applicationEntity.getPecEmail())) {
log.warn("PEC email is required");
throw new CustomValidationException(Status.BAD_REQUEST, Translator.toLocale(GepafinConstant.PEC_EMAIL_IS_REQUIRED));
}
List<FlowEdgesEntity> flowEdgesList = flowEdgesRepository.findByCallId(applicationEntity.getCall().getId()); List<FlowEdgesEntity> flowEdgesList = flowEdgesRepository.findByCallId(applicationEntity.getCall().getId());
Long totalSteps = flowFormDao.calculateTotalSteps(flowEdgesList); Long totalSteps = flowFormDao.calculateTotalSteps(flowEdgesList);
Integer completedSteps = flowFormDao.getCompletedSteps(applicationEntity, true); Integer completedSteps = flowFormDao.getCompletedSteps(applicationEntity, true);