Vacaciones #64

Merged
jesus.pelaez merged 11 commits from Vacaciones into En-desarrollo 2024-11-04 04:25:22 +00:00
Showing only changes of commit 94e7432551 - Show all commits

View File

@ -153,7 +153,7 @@ public class RequestsListView extends Main {
private String getEmployeeStatus(final Employee employee) {
Optional<TimeOffRequest> activeRequest = requestService
.findByEmployeeAndState(employee.getId(), TimeOffRequestStatus.TAKEN);
.findByEmployeeAndState(employee.getId(), TimeOffRequestStatus.IN_USE);
return activeRequest.isPresent() ? "IDLE" : "ACTIVE";
}