#4-Registro-de-Información-Personal #16

Merged
alex merged 15 commits from #4-Registro-de-Información-Personal into main 2024-09-08 13:08:42 +00:00
2 changed files with 2 additions and 6 deletions
Showing only changes of commit 9799e23ac8 - Show all commits

View File

@ -300,7 +300,8 @@ 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, si, upload, profileImagePreview, saveButton, editButton
emergencyCAddress, emergencyCPhone, emergencyCEmail, si, upload, profileImagePreview,
saveButton, editButton
);
}
}

View File

@ -45,11 +45,6 @@ public class EmployeesListView extends Main {
addEditButtonColumn("View", this::navigateToEmployeeView);
addEditButtonColumn("Edit", this::navigateToEditView);
setupPagingGrid();
table.addItemDoubleClickListener(event -> {
Employee employee = event.getItem();
navigateToEditView(employee);
});
}
alex marked this conversation as resolved Outdated
Outdated
Review

no es necesario agregar esto porque ya existe el boton edit que navega a la vista edit.

no es necesario agregar esto porque ya existe el boton edit que navega a la vista edit.
private void updateEmployeeStatus(final Employee employee, final boolean isActive) {