Rename Progress Type 'Normal' to 'Spread progress'

FEA: ItEr64OTS04ReporteAvancesCadeaCritica
This commit is contained in:
Diego Pino Garcia 2010-11-30 10:05:15 +01:00
parent 3b85ac0dd9
commit cf5194b48c
3 changed files with 3 additions and 3 deletions

View file

@ -71,7 +71,7 @@ public class Configuration extends BaseEntity {
private Boolean generateCodeForCostCategory = true;
private ProgressType progressType = ProgressType.NORMAL;
private ProgressType progressType = ProgressType.SPREAD_PROGRESS;
public void setDefaultCalendar(BaseCalendar defaultCalendar) {
this.defaultCalendar = defaultCalendar;

View file

@ -32,7 +32,7 @@ import java.util.List;
*/
public enum ProgressType {
NORMAL(_("Normal")),
SPREAD_PROGRESS(_("Spread progress")),
CRITICAL_PATH_DURATION(_("Critical path by duration")),
CRITICAL_PATH_NUMHOURS(_("Critical path by number of hours"));

View file

@ -603,7 +603,7 @@ public abstract class TaskElement extends BaseEntity {
}
public BigDecimal getAdvancePercentage(ProgressType progressType) {
if (progressType.equals(ProgressType.NORMAL)) {
if (progressType.equals(ProgressType.SPREAD_PROGRESS)) {
return advancePercentage;
}
return BigDecimal.ZERO;