diff --git a/src/main/java/info/bukova/isspst/data/RequirementItem.java b/src/main/java/info/bukova/isspst/data/RequirementItem.java index 6525de4e..4bc5f6aa 100644 --- a/src/main/java/info/bukova/isspst/data/RequirementItem.java +++ b/src/main/java/info/bukova/isspst/data/RequirementItem.java @@ -30,7 +30,10 @@ public class RequirementItem @Column(name = "NAME") private String name; - + + @Column(name = "TEXTITEM") + private String textItem; + @Column(name = "QUANTITY", precision=15, scale=4) private BigDecimal quantity; @@ -86,6 +89,16 @@ public class RequirementItem this.name = name; } + public String getTextItem() + { + return textItem; + } + + public void setTextItem(String textItem) + { + this.textItem = textItem; + } + public BigDecimal getQuantity() { return quantity; diff --git a/src/main/webapp/WEB-INF/locales/zk-label.properties b/src/main/webapp/WEB-INF/locales/zk-label.properties index cf5ac7d0..9e9ead4f 100644 --- a/src/main/webapp/WEB-INF/locales/zk-label.properties +++ b/src/main/webapp/WEB-INF/locales/zk-label.properties @@ -31,8 +31,9 @@ RequirementsGridMyCentres=Má střediska RequirementsGridMyWorkgroups=Mé komise RequirementsGridAll=Vše -RequirementItemCode=Kód -RequirementItemName=Text +RequirementItemCode=Kód skupiny +RequirementItemName=Název skupiny +RequirementItemText=Text položky RequirementItemQuantity=Množství RequirementItemMUnit=MJ RequirementItemUnitPrice=Jedn. cena diff --git a/src/main/webapp/main/orders/requirements/reqForm.zul b/src/main/webapp/main/orders/requirements/reqForm.zul index 523a06c1..459555ac 100644 --- a/src/main/webapp/main/orders/requirements/reqForm.zul +++ b/src/main/webapp/main/orders/requirements/reqForm.zul @@ -93,30 +93,33 @@ selectedIndex="@bind(vm.selItemIndex)"> + - +