From 926b32a8cc6bb0955445a8c422a5b944794920c2 Mon Sep 17 00:00:00 2001 From: Melina Gutierrez Date: Sun, 8 Sep 2024 08:06:01 -0400 Subject: [PATCH] #4 Perfil de Empleado-Registro, Guardado y Modificacion de Informacion Personal con las mejoras implementadas --- .../java/com/primefactorsolutions/views/EmployeeView.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/primefactorsolutions/views/EmployeeView.java b/src/main/java/com/primefactorsolutions/views/EmployeeView.java index 0011715..ad1f23d 100644 --- a/src/main/java/com/primefactorsolutions/views/EmployeeView.java +++ b/src/main/java/com/primefactorsolutions/views/EmployeeView.java @@ -70,6 +70,8 @@ public class EmployeeView extends BeanValidationForm 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 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 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 ); } }