multitenant
Josef Rokos 10 years ago
commit d70e60ca61

@ -30,7 +30,10 @@ public class RequirementItem
@Column(name = "NAME") @Column(name = "NAME")
private String name; private String name;
@Column(name = "TEXTITEM")
private String textItem;
@Column(name = "QUANTITY", precision=15, scale=4) @Column(name = "QUANTITY", precision=15, scale=4)
private BigDecimal quantity; private BigDecimal quantity;
@ -86,6 +89,16 @@ public class RequirementItem
this.name = name; this.name = name;
} }
public String getTextItem()
{
return textItem;
}
public void setTextItem(String textItem)
{
this.textItem = textItem;
}
public BigDecimal getQuantity() public BigDecimal getQuantity()
{ {
return quantity; return quantity;

@ -31,8 +31,9 @@ RequirementsGridMyCentres=Má střediska
RequirementsGridMyWorkgroups=Mé komise RequirementsGridMyWorkgroups=Mé komise
RequirementsGridAll=Vše RequirementsGridAll=Vše
RequirementItemCode=Kód RequirementItemCode=Kód skupiny
RequirementItemName=Text RequirementItemName=Název skupiny
RequirementItemText=Text položky
RequirementItemQuantity=Množství RequirementItemQuantity=Množství
RequirementItemMUnit=MJ RequirementItemMUnit=MJ
RequirementItemUnitPrice=Jedn. cena RequirementItemUnitPrice=Jedn. cena

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

Loading…
Cancel
Save