Resolver errores de checkstyle
All checks were successful
PR Builder / Build-PR (pull_request) Successful in 2m46s
All checks were successful
PR Builder / Build-PR (pull_request) Successful in 2m46s
This commit is contained in:
parent
8616cd0f28
commit
9e92dc5342
@ -477,9 +477,9 @@ public class RequestEmployeeView extends BaseView implements HasUrlParameter<Str
|
|||||||
Employee employee = employeeService.getEmployee(employeeId);
|
Employee employee = employeeService.getEmployee(employeeId);
|
||||||
List<TimeOffRequest> filteredRequests = requests.stream()
|
List<TimeOffRequest> filteredRequests = requests.stream()
|
||||||
.filter(request ->
|
.filter(request ->
|
||||||
(request.getStartDate() == null || Year.from(request.getStartDate()).equals(Year.now())) ||
|
(request.getStartDate() == null || Year.from(request.getStartDate()).equals(Year.now()))
|
||||||
request.getCategory() == TimeOffRequestType.VACACION_GESTION_ACTUAL ||
|
|| request.getCategory() == TimeOffRequestType.VACACION_GESTION_ACTUAL
|
||||||
request.getCategory() == TimeOffRequestType.VACACION_GESTION_ANTERIOR)
|
|| request.getCategory() == TimeOffRequestType.VACACION_GESTION_ANTERIOR)
|
||||||
.toList();
|
.toList();
|
||||||
|
|
||||||
PDPageContentStream contentStream = null;
|
PDPageContentStream contentStream = null;
|
||||||
@ -577,8 +577,8 @@ public class RequestEmployeeView extends BaseView implements HasUrlParameter<Str
|
|||||||
contentStream.newLineAtOffset(0, -20);
|
contentStream.newLineAtOffset(0, -20);
|
||||||
contentStream.showText("Total vacaciones pendientes de uso: " + remainingVacationDays);
|
contentStream.showText("Total vacaciones pendientes de uso: " + remainingVacationDays);
|
||||||
contentStream.newLineAtOffset(0, -20);
|
contentStream.newLineAtOffset(0, -20);
|
||||||
contentStream.showText("TOTAL GENERAL DE DÍAS DISPONIBLES: " +
|
contentStream.showText("TOTAL GENERAL DE DÍAS DISPONIBLES: "
|
||||||
(remainingHolidayDays + remainingPersonalDays + remainingVacationDays));
|
+ (remainingHolidayDays + remainingPersonalDays + remainingVacationDays));
|
||||||
contentStream.endText();
|
contentStream.endText();
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
@ -653,7 +653,10 @@ public class RequestEmployeeView extends BaseView implements HasUrlParameter<Str
|
|||||||
addComponentAsFirst(new H3("Nombre del empleado: " + employeeName));
|
addComponentAsFirst(new H3("Nombre del empleado: " + employeeName));
|
||||||
addComponentAtIndex(1, new H3("Equipo: " + employeeTeam));
|
addComponentAtIndex(1, new H3("Equipo: " + employeeTeam));
|
||||||
if (dateOfExit != null) {
|
if (dateOfExit != null) {
|
||||||
addComponentAtIndex(2, new H3("Descontado a cero en fecha " + dateOfExit + " por pago de finiquito incluidas duodecima."));
|
addComponentAtIndex(
|
||||||
|
2, new H3("Descontado a cero en fecha "
|
||||||
|
+ dateOfExit
|
||||||
|
+ " por pago de finiquito incluidas duodecima."));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user