ItEr56S04ValidacionEProbasFuncionaisItEr55S04: [Bug #422] Added new fields to Configuration entity in order to choose if charts are or not visible by default.
This commit is contained in:
parent
5cf805b205
commit
47fccd4b15
2 changed files with 24 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ public class Configuration extends BaseEntity {
|
|||
|
||||
private Boolean generateCodeForUnitTypes = false;
|
||||
|
||||
private Boolean expandCompanyPlanningViewCharts = true;
|
||||
|
||||
private Boolean expandOrderPlanningViewCharts = true;
|
||||
|
||||
public void setDefaultCalendar(BaseCalendar defaultCalendar) {
|
||||
this.defaultCalendar = defaultCalendar;
|
||||
}
|
||||
|
|
@ -143,4 +147,22 @@ public class Configuration extends BaseEntity {
|
|||
return generateCodeForUnitTypes;
|
||||
}
|
||||
|
||||
public void setExpandCompanyPlanningViewCharts(
|
||||
Boolean expandCompanyPlanningViewCharts) {
|
||||
this.expandCompanyPlanningViewCharts = expandCompanyPlanningViewCharts;
|
||||
}
|
||||
|
||||
public Boolean isExpandCompanyPlanningViewCharts() {
|
||||
return expandCompanyPlanningViewCharts;
|
||||
}
|
||||
|
||||
public void setExpandOrderPlanningViewCharts(
|
||||
Boolean expandOrderPlanningViewCharts) {
|
||||
this.expandOrderPlanningViewCharts = expandOrderPlanningViewCharts;
|
||||
}
|
||||
|
||||
public Boolean isExpandOrderPlanningViewCharts() {
|
||||
return expandOrderPlanningViewCharts;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -24,6 +24,8 @@
|
|||
<property name="generateCodeForTypesOfWorkHours" not-null="true" />
|
||||
<property name="generateCodeForMaterialCategories" not-null="true" />
|
||||
<property name="generateCodeForUnitTypes" not-null="true" />
|
||||
<property name="expandCompanyPlanningViewCharts" not-null="true" />
|
||||
<property name="expandOrderPlanningViewCharts" not-null="true" />
|
||||
|
||||
</class>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue