#4-Registro-de-Información-Personal #16
@ -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 H2 mt = new H2("Información General del Empleado");
|
||||||
private final H3 fs = new H3("Información Personal");
|
private final H3 fs = new H3("Información Personal");
|
||||||
private final H3 ss = new H3("Datos de Contacto de Emergencia");
|
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) {
|
public EmployeeView(final EmployeeService employeeService) {
|
||||||
super(Employee.class);
|
super(Employee.class);
|
||||||
@ -136,7 +138,7 @@ public class EmployeeView extends BeanValidationForm<Employee> implements HasUrl
|
|||||||
team);
|
team);
|
||||||
contentLayout2.add(
|
contentLayout2.add(
|
||||||
ss, emergencyCName, emergencyCAddress,
|
ss, emergencyCName, emergencyCAddress,
|
||||||
emergencyCPhone, emergencyCEmail, upload,
|
emergencyCPhone, emergencyCEmail, si, upload,
|
||||||
profileImagePreview, saveButton, editButton);
|
profileImagePreview, saveButton, editButton);
|
||||||
|
|
||||||
mainLayout.add(contentLayout1, contentLayout2);
|
mainLayout.add(contentLayout1, contentLayout2);
|
||||||
@ -298,7 +300,7 @@ public class EmployeeView extends BeanValidationForm<Employee> implements HasUrl
|
|||||||
return List.of(
|
return List.of(
|
||||||
mt, fs, firstName, lastName, status, birthday, birthCity, maritalStatus,
|
mt, fs, firstName, lastName, status, birthday, birthCity, maritalStatus,
|
||||||
residenceAddress, phoneNumber, personalEmail, position, team, ss, emergencyCName,
|
residenceAddress, phoneNumber, personalEmail, position, team, ss, emergencyCName,
|
||||||
emergencyCAddress, emergencyCPhone, emergencyCEmail, upload, profileImagePreview, saveButton, editButton
|
emergencyCAddress, emergencyCPhone, emergencyCEmail, si, upload, profileImagePreview, saveButton, editButton
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user