#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( 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, 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("View", this::navigateToEmployeeView);
addEditButtonColumn("Edit", this::navigateToEditView); addEditButtonColumn("Edit", this::navigateToEditView);
setupPagingGrid(); setupPagingGrid();
table.addItemDoubleClickListener(event -> {
Employee employee = event.getItem();
navigateToEditView(employee);
});
} }
private void updateEmployeeStatus(final Employee employee, final boolean isActive) { private void updateEmployeeStatus(final Employee employee, final boolean isActive) {