[Bug #849] fix the behaviour of the dates in the cost category view
Disable any previous day to the selected init date in order to not be chosen as end date. FEA : ItEr70S04BugFixing
This commit is contained in:
parent
5c9fa9021a
commit
71320743c8
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ public class CostCategoryCRUDController extends GenericForwardComposer
|
|||
public void onEvent(Event event) throws Exception {
|
||||
// Updates the constraint of the endDate box with the new date
|
||||
LocalDate initDate = ((HourCost)row.getValue()).getInitDate();
|
||||
Datebox endDateBox = (Datebox) row.getChildren().get(3);
|
||||
Datebox endDateBox = (Datebox) row.getChildren().get(4);
|
||||
endDateBox.setConstraint("after " +
|
||||
String.format("%04d", initDate.getYear()) +
|
||||
String.format("%02d", initDate.getMonthOfYear()) +
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue