Updated code
This commit is contained in:
@@ -614,12 +614,6 @@ public class ApplicationDao {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add handler for isPecEmail
|
|
||||||
if ("textinput".equals(fieldType) && Boolean.TRUE.equals(settingMap.get("isPecEmail"))) {
|
|
||||||
applicationFormEntity.getApplication().setPecEmail(fieldValue.toString());
|
|
||||||
log.info("Set PEC to {} for Application ID: {}", fieldValue, applicationFormEntity.getApplication().getId());
|
|
||||||
}
|
|
||||||
|
|
||||||
if ("textinput".equals(fieldType) && Boolean.TRUE.equals(settingMap.get("isPIVA"))) {
|
if ("textinput".equals(fieldType) && Boolean.TRUE.equals(settingMap.get("isPIVA"))) {
|
||||||
applicationFormEntity.getApplication().setVatNumber(fieldValue.toString());
|
applicationFormEntity.getApplication().setVatNumber(fieldValue.toString());
|
||||||
log.info("Set PEC to {} for Application ID: {}", fieldValue, applicationFormEntity.getApplication().getId());
|
log.info("Set PEC to {} for Application ID: {}", fieldValue, applicationFormEntity.getApplication().getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user