#4 Perfil de Empleado-Registro, Guardado y Modificacion de Informacion Personal con las mejoras implementadas

This commit is contained in:
Melina Gutierrez 2024-09-08 08:06:01 -04:00
parent 9b3fed87a9
commit 926b32a8cc

View File

@ -70,6 +70,8 @@ public class EmployeeView extends BeanValidationForm<Employee> implements HasUrl
private final H2 mt = new H2("Información General del Empleado");
private final H3 fs = new H3("Información Personal");
private final H3 ss = new H3("Datos de Contacto de Emergencia");
private final H3 si = new H3("Foto del Empleado");
public EmployeeView(final EmployeeService employeeService) {
super(Employee.class);
@ -136,7 +138,7 @@ public class EmployeeView extends BeanValidationForm<Employee> implements HasUrl
team);
contentLayout2.add(
ss, emergencyCName, emergencyCAddress,
emergencyCPhone, emergencyCEmail, upload,
emergencyCPhone, emergencyCEmail, si, upload,
profileImagePreview, saveButton, editButton);
mainLayout.add(contentLayout1, contentLayout2);
@ -298,7 +300,7 @@ public class EmployeeView extends BeanValidationForm<Employee> implements HasUrl
return List.of(
mt, fs, firstName, lastName, status, birthday, birthCity, maritalStatus,
residenceAddress, phoneNumber, personalEmail, position, team, ss, emergencyCName,
emergencyCAddress, emergencyCPhone, emergencyCEmail, upload, profileImagePreview, saveButton, editButton
emergencyCAddress, emergencyCPhone, emergencyCEmail, si, upload, profileImagePreview, saveButton, editButton
);
}
}