En-desarrollo #71
@ -156,7 +156,8 @@ public class RequestEmployeeView extends Div implements HasUrlParameter<String>
|
|||||||
if (vacationPreviousRequests != null && !vacationPreviousRequests.isEmpty()) {
|
if (vacationPreviousRequests != null && !vacationPreviousRequests.isEmpty()) {
|
||||||
utilizedVacationPreviousDays = vacationPreviousRequests.getLast().getDaysBalance();
|
utilizedVacationPreviousDays = vacationPreviousRequests.getLast().getDaysBalance();
|
||||||
}
|
}
|
||||||
double totalVacationPreviousDays = vacationDays.getFirst() - (vacationDays.getFirst() - utilizedVacationPreviousDays);
|
double totalVacationPreviousDays = vacationDays.getFirst()
|
||||||
|
- (vacationDays.getFirst() - utilizedVacationPreviousDays);
|
||||||
|
|
||||||
double utilizedFixedAndMovableHolidays = calculateHolidayUtilizedDays(currentYear);
|
double utilizedFixedAndMovableHolidays = calculateHolidayUtilizedDays(currentYear);
|
||||||
double utilizedPersonalDays = calculatePersonalDaysUtilized(isMale, currentYear);
|
double utilizedPersonalDays = calculatePersonalDaysUtilized(isMale, currentYear);
|
||||||
|
@ -181,7 +181,8 @@ public class RequestsListView extends Main {
|
|||||||
if (vacationPreviousRequests != null && !vacationPreviousRequests.isEmpty()) {
|
if (vacationPreviousRequests != null && !vacationPreviousRequests.isEmpty()) {
|
||||||
utilizedVacationPreviousDays = vacationPreviousRequests.getLast().getDaysBalance();
|
utilizedVacationPreviousDays = vacationPreviousRequests.getLast().getDaysBalance();
|
||||||
}
|
}
|
||||||
double totalVacationPreviousDays = vacationDays.getFirst() - (vacationDays.getFirst() - utilizedVacationPreviousDays);
|
double totalVacationPreviousDays = vacationDays.getFirst()
|
||||||
|
- (vacationDays.getFirst() - utilizedVacationPreviousDays);
|
||||||
|
|
||||||
|
|
||||||
double totalUtilized = calculateTotalUtilized(employeeRequests);
|
double totalUtilized = calculateTotalUtilized(employeeRequests);
|
||||||
|
Loading…
Reference in New Issue
Block a user