Do agendy materiál byla přidaná měrná jednotka.

refs #94
This commit is contained in:
2014-06-30 13:13:36 +02:00
parent 0e0fb3a43c
commit 35131d555d
6 changed files with 132 additions and 6 deletions
+4 -2
View File
@@ -8,8 +8,9 @@
<listbox model="@load(vm.dataList)" selectedItem="@bind(vm.dataBean)" height="500px">
<listhead menupopup="auto">
<listheader label="${labels.code}" sort="czech(code)" width="10%" />
<listheader label="${labels.name}" sort="czech(name)" width="30%" />
<listheader label="${labels.description}" sort="czech(description)" width="60%" />
<listheader label="${labels.name}" sort="czech(name)" width="25%" />
<listheader label="${labels.description}" sort="czech(description)" width="55%" />
<listheader label="${labels.munit}" width="10%"/>
</listhead>
<auxhead sclass="category-center" visible="@load(vm.filter)">
@@ -50,6 +51,7 @@
<listcell label="@load(each.code)" />
<listcell label="@load(each.name)" />
<listcell label="@load(each.description)" />
<listcell label="@load(each.munit.code)"/>
</listitem>
</template>
</listbox>
@@ -28,6 +28,16 @@
<textbox id="description" width="300px" value="@bind(vm.dataBean.description)" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.munit} :</cell>
<cell>
<combobox model="@load(vm.munits)" selectedItem="@bind(vm.dataBean.munit)" readonly="true">
<template name="model">
<comboitem label="@load(each.code)"/>
</template>
</combobox>
</cell>
</row>
</rows>
</grid>
<include src="/app/formButtons.zul" />