ItEr38S15CUAsignacionCalendarioLaboralRecursoItEr37S20: Show "0" instead of "D" in calendar summary when it is not derived.

This commit is contained in:
Manuel Rego Casasnovas 2009-12-07 11:36:56 +01:00 committed by Javier Moran Rua
parent 2517a5c92f
commit 4cdc3a0f3d

View file

@ -641,7 +641,11 @@ public abstract class BaseCalendarEditionController extends
for (Days day : Days.values()) {
Integer hours = calendarData.getHours(day);
if (hours == null) {
summary.add("D");
if (parent == null) {
summary.add("0");
} else {
summary.add("D");
}
} else {
summary.add(hours.toString());
}