|
|
|
@ -1,28 +1,5 @@
|
|
|
|
|
<?page contentType="text/html;charset=UTF-8"?>
|
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">
|
|
|
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
|
|
|
<window
|
|
|
|
|
vflex="1"
|
|
|
|
|
border="normal"
|
|
|
|
|
apply="org.zkoss.bind.BindComposer"
|
|
|
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.signeddocs.SignedDocsList')">
|
|
|
|
|
<caption
|
|
|
|
|
image="/img/adobe-032.png"
|
|
|
|
|
zclass="form-caption"
|
|
|
|
|
label="${labels.AgendaSignedDocuments}" />
|
|
|
|
|
<tabbox
|
|
|
|
|
vflex="1"
|
|
|
|
|
orient="top">
|
|
|
|
|
<tabs width="500px">
|
|
|
|
|
<tab label="${labels.ActualDocuments}" />
|
|
|
|
|
<!-- tab label="${labels.Archive}" /-->
|
|
|
|
|
</tabs>
|
|
|
|
|
<tabpanels>
|
|
|
|
|
<tabpanel>
|
|
|
|
|
<include src="toolbar.zul" />
|
|
|
|
|
<hlayout vflex="1">
|
|
|
|
|
|
|
|
|
|
<hlayout vflex="1">
|
|
|
|
|
<listbox
|
|
|
|
|
vflex="1"
|
|
|
|
|
hflex="60"
|
|
|
|
@ -134,83 +111,19 @@
|
|
|
|
|
hflex="3"
|
|
|
|
|
sort="czech(fileName)"
|
|
|
|
|
label="${labels.FileName}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="1"/>
|
|
|
|
|
<listheader hflex="1" />
|
|
|
|
|
</listhead>
|
|
|
|
|
<template name="model">
|
|
|
|
|
<listitem>
|
|
|
|
|
<listcell label="@load(each.actualReportName)" />
|
|
|
|
|
<listcell label="@load(each.fileName)" />
|
|
|
|
|
<listcell>
|
|
|
|
|
<button label="Otevřít" onClick="@command('onOpen', item = each)" sclass="nicebutton"/>
|
|
|
|
|
<button
|
|
|
|
|
label="Otevřít"
|
|
|
|
|
onClick="@command('onOpen', item = each)"
|
|
|
|
|
sclass="nicebutton" />
|
|
|
|
|
</listcell>
|
|
|
|
|
</listitem>
|
|
|
|
|
</template>
|
|
|
|
|
</listbox>
|
|
|
|
|
</hlayout>
|
|
|
|
|
</tabpanel>
|
|
|
|
|
<tabpanel>
|
|
|
|
|
<!-- listbox
|
|
|
|
|
vflex="1"
|
|
|
|
|
selectedItem="@bind(vm.selectedOrderItem)"
|
|
|
|
|
model="@load(vm.orderItems)">
|
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="7"
|
|
|
|
|
sort="czech(code)"
|
|
|
|
|
label="${labels.RequirementItemCode}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="15"
|
|
|
|
|
sort="czech(name)"
|
|
|
|
|
label="${labels.RequirementItemName}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="20"
|
|
|
|
|
sort="czech(textItem)"
|
|
|
|
|
label="${labels.RequirementItemText}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="5"
|
|
|
|
|
sort="auto(quantity)"
|
|
|
|
|
align="right"
|
|
|
|
|
label="${labels.RequirementItemQuantity}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="5"
|
|
|
|
|
sort="auto(munit.name)"
|
|
|
|
|
label="${labels.RequirementItemMUnit}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="7"
|
|
|
|
|
align="right"
|
|
|
|
|
sort="auto(unitPrice)"
|
|
|
|
|
label="${labels.RequirementItemUnitPrice}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="7"
|
|
|
|
|
align="right"
|
|
|
|
|
sort="auto(total)"
|
|
|
|
|
label="${labels.RequirementItemTotal}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="15"
|
|
|
|
|
sort="czech(description)"
|
|
|
|
|
label="${labels.RequirementItemDescription}" />
|
|
|
|
|
<listheader
|
|
|
|
|
hflex="5"
|
|
|
|
|
sort="auto(reqItem.orderNum)"
|
|
|
|
|
label="${labels.OrderAbr}" />
|
|
|
|
|
</listhead>
|
|
|
|
|
<template name="model">
|
|
|
|
|
<listitem>
|
|
|
|
|
<listcell label="@load(each.code)" />
|
|
|
|
|
<listcell label="@load(each.name)" />
|
|
|
|
|
<listcell label="@load(each.textItem)" />
|
|
|
|
|
<listcell label="@load(each.quantity) @converter(vm.standardBigDecimalConverter)" />
|
|
|
|
|
<listcell label="@load(each.munit.name)" />
|
|
|
|
|
<listcell label="@load(each.unitPrice) @converter(vm.standardBigDecimalConverter)" />
|
|
|
|
|
<listcell label="@load(each.total) @converter(vm.standardBigDecimalConverter)" />
|
|
|
|
|
<listcell label="@load(each.description)" />
|
|
|
|
|
<listcell label="@load(each.reqItem.orderNum)" />
|
|
|
|
|
</listitem>
|
|
|
|
|
</template>
|
|
|
|
|
</listbox-->
|
|
|
|
|
</tabpanel>
|
|
|
|
|
</tabpanels>
|
|
|
|
|
</tabbox>
|
|
|
|
|
</window>
|
|
|
|
|
</zk>
|
|
|
|
|
</hlayout>
|
|
|
|
|