From ff053f7fb2bd74b4deb50191397ed071c9acf3f7 Mon Sep 17 00:00:00 2001 From: Franta Pribyl Date: Wed, 10 Sep 2014 12:53:23 +0200 Subject: [PATCH] =?UTF-8?q?Dopln=C4=9Bn=20do=20polo=C5=BEek=20po=C5=BEadav?= =?UTF-8?q?k=C5=AF=20textov=C3=BD=20popisek.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #135 --- .../bukova/isspst/data/RequirementItem.java | 15 ++++++++++- .../WEB-INF/locales/zk-label.properties | 5 ++-- .../main/orders/requirements/reqForm.zul | 26 +++++++++++++------ 3 files changed, 35 insertions(+), 11 deletions(-) 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)"> + - +