multitenant
Josef Rokos 10 years ago
commit d70e60ca61

@ -31,6 +31,9 @@ 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;

@ -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

@ -93,30 +93,33 @@
selectedIndex="@bind(vm.selItemIndex)">
<listhead>
<listheader
hflex="1"
hflex="10"
label="${labels.RequirementItemCode}" />
<listheader
hflex="3"
hflex="15"
label="${labels.RequirementItemName}" />
<listheader
hflex="1"
hflex="30"
label="${labels.RequirementItemText}" />
<listheader
hflex="10"
align="right"
label="${labels.RequirementItemQuantity}" />
<listheader
hflex="1"
hflex="10"
label="${labels.RequirementItemMUnit}" />
<listheader
hflex="1"
hflex="10"
align="right"
label="${labels.RequirementItemUnitPrice}" />
<listheader
hflex="1"
hflex="10"
align="right"
label="${labels.RequirementItemTotal}" />
<listheader
hflex="3"
hflex="15"
label="${labels.RequirementItemDescription}" />
<listheader hflex="1" />
<listheader hflex="10" />
</listhead>
<template name="model">
<listitem>
@ -135,6 +138,13 @@
onFocus="@command('onFocusItem', item=each, ctrl=self)"
value="@bind(each.name)" />
</listcell>
<listcell>
<textbox
inplace="true"
sclass="grid-textbox-max"
onFocus="@command('onFocusItem', item=each, ctrl=self)"
value="@bind(each.textItem)" />
</listcell>
<listcell>
<textbox
inplace="true"

Loading…
Cancel
Save