updates the work weeks table when the hours of a day are changed.
FEA: ItEr75S05CalendarAdminInterfaceItEr74S06
This commit is contained in:
parent
f6e78f3bc0
commit
11e9bf4017
1 changed files with 4 additions and 4 deletions
|
|
@ -684,14 +684,14 @@ public abstract class BaseCalendarEditionController extends
|
|||
|
||||
List<String> summary = new ArrayList<String>();
|
||||
for (Days day : Days.values()) {
|
||||
if (parent == null) {
|
||||
if (version.isDefault(day)) {
|
||||
if (version.isDefault(day)) {
|
||||
if (parent == null) {
|
||||
summary.add("0");
|
||||
} else {
|
||||
summary.add(asString(version.getCapacityOn(day)));
|
||||
summary.add(_("Inh"));
|
||||
}
|
||||
} else {
|
||||
summary.add(_("Inh"));
|
||||
summary.add(asString(version.getCapacityOn(day)));
|
||||
}
|
||||
}
|
||||
Label summaryLabel = new Label(StringUtils.join(summary, " - "));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue