updates the work weeks table when the hours of a day are changed.

FEA: ItEr75S05CalendarAdminInterfaceItEr74S06
This commit is contained in:
Susana Montes Pedreira 2011-07-15 11:36:10 +02:00
parent f6e78f3bc0
commit 11e9bf4017

View file

@ -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, " - "));