Rename Progress Type 'Normal' to 'Spread progress'
FEA: ItEr64OTS04ReporteAvancesCadeaCritica
This commit is contained in:
parent
3b85ac0dd9
commit
cf5194b48c
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"));
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue