Vacaciones #58

Merged
jesus.pelaez merged 8 commits from Vacaciones into En-desarrollo 2024-10-21 16:43:12 +00:00
Showing only changes of commit 2c30bed91f - Show all commits

View File

@ -91,11 +91,8 @@ public class RequestRegisterView extends VerticalLayout {
endDatePicker.setMin(startDate);
endDatePicker.setMax(endDate);
startDatePicker.clear();
endDatePicker.clear();
getUI().ifPresent(ui -> ui.access(() -> {
startDatePicker.setInitialPosition(startDate);
}));
startDatePicker.setValue(startDate);
endDatePicker.setValue(startDate.plusDays(vacation.getDuration().intValue() - 1));
}
private void updateDatePickerMinValues() {