|
|
@ -2,7 +2,7 @@
|
|
|
|
<zk>
|
|
|
|
<zk>
|
|
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
|
|
<window
|
|
|
|
<window
|
|
|
|
vflex="1"
|
|
|
|
vflex=" 1"
|
|
|
|
border="normal"
|
|
|
|
border="normal"
|
|
|
|
apply="org.zkoss.bind.BindComposer"
|
|
|
|
apply="org.zkoss.bind.BindComposer"
|
|
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.main.orders.created.OrderList')">
|
|
|
|
viewModel="@id('vm') @init('info.bukova.isspst.ui.main.orders.created.OrderList')">
|
|
|
@ -10,243 +10,313 @@
|
|
|
|
image="/img/autotruck-032.png"
|
|
|
|
image="/img/autotruck-032.png"
|
|
|
|
zclass="form-caption"
|
|
|
|
zclass="form-caption"
|
|
|
|
label="${labels.CreatedOrders}" />
|
|
|
|
label="${labels.CreatedOrders}" />
|
|
|
|
<include src="/app/toolbar.zul" />
|
|
|
|
<tabbox
|
|
|
|
<listbox
|
|
|
|
|
|
|
|
vflex="1"
|
|
|
|
vflex="1"
|
|
|
|
selectedItem="@bind(vm.dataBean)"
|
|
|
|
orient="top">
|
|
|
|
model="@load(vm.dataList)">
|
|
|
|
<tabs width="500px">
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
<tab label="${labels.AccountDocuments}" />
|
|
|
|
<listheader
|
|
|
|
<tab label="${labels.Items}" />
|
|
|
|
hflex="10"
|
|
|
|
</tabs>
|
|
|
|
sort="czech(numser)"
|
|
|
|
<tabpanels>
|
|
|
|
label="${labels.OrderFormNumber}" />
|
|
|
|
<tabpanel>
|
|
|
|
<listheader
|
|
|
|
<include src="/main/toolbar.zul" />
|
|
|
|
hflex="10"
|
|
|
|
<listbox
|
|
|
|
sort="auto(orderDate)"
|
|
|
|
vflex="1"
|
|
|
|
label="${labels.OrderFormOrderDate}" />
|
|
|
|
onSelect="@command('onChangeSelectOrder', ctrl=self)"
|
|
|
|
<listheader
|
|
|
|
selectedItem="@bind(vm.dataBean)"
|
|
|
|
hflex="7"
|
|
|
|
model="@load(vm.dataList)">
|
|
|
|
align="right"
|
|
|
|
<listhead menupopup="auto">
|
|
|
|
sort="auto(total)"
|
|
|
|
<listheader
|
|
|
|
label="${labels.OrderFormTotal}" />
|
|
|
|
hflex="10"
|
|
|
|
<listheader
|
|
|
|
sort="czech(numser)"
|
|
|
|
hflex="10"
|
|
|
|
label="${labels.OrderFormNumber}" />
|
|
|
|
sort="auto(deliveryDate)"
|
|
|
|
<listheader
|
|
|
|
label="${labels.RequirementsFormDeliveryDate}" />
|
|
|
|
hflex="10"
|
|
|
|
<listheader
|
|
|
|
sort="auto(orderDate)"
|
|
|
|
hflex="10"
|
|
|
|
label="${labels.OrderFormOrderDate}" />
|
|
|
|
sort="auto(deliveredDate))"
|
|
|
|
<listheader
|
|
|
|
label="${labels.OrderFormDeliveredDate}" />
|
|
|
|
hflex="7"
|
|
|
|
<listheader
|
|
|
|
align="right"
|
|
|
|
hflex="10"
|
|
|
|
sort="auto(total)"
|
|
|
|
sort="auto(invoiceNumber)"
|
|
|
|
label="${labels.OrderFormTotal}" />
|
|
|
|
label="${labels.OrderFormInvoiceNumber}" />
|
|
|
|
<listheader
|
|
|
|
<listheader
|
|
|
|
hflex="10"
|
|
|
|
hflex="15"
|
|
|
|
sort="auto(deliveryDate)"
|
|
|
|
sort="auto(suplier.company)"
|
|
|
|
label="${labels.RequirementsFormDeliveryDate}" />
|
|
|
|
label="${labels.SuppliersFormTitle}" />
|
|
|
|
<listheader
|
|
|
|
<listheader
|
|
|
|
hflex="10"
|
|
|
|
hflex="15"
|
|
|
|
sort="auto(deliveredDate))"
|
|
|
|
sort="auto(deliveryAddress.company)"
|
|
|
|
label="${labels.OrderFormDeliveredDate}" />
|
|
|
|
label="${labels.DeliveryAddress}" />
|
|
|
|
<listheader
|
|
|
|
<listheader
|
|
|
|
hflex="10"
|
|
|
|
hflex="15"
|
|
|
|
sort="auto(invoiceNumber)"
|
|
|
|
sort="auto(address.company)"
|
|
|
|
label="${labels.OrderFormInvoiceNumber}" />
|
|
|
|
visible="false"
|
|
|
|
<listheader
|
|
|
|
label="${labels.BillingAddress}" />
|
|
|
|
hflex="15"
|
|
|
|
<listheader
|
|
|
|
sort="auto(suplier.company)"
|
|
|
|
hflex="10"
|
|
|
|
label="${labels.SuppliersFormTitle}" />
|
|
|
|
sort="auto(ownedBy.fullName)"
|
|
|
|
<listheader
|
|
|
|
label="${labels.Owner}" />
|
|
|
|
hflex="15"
|
|
|
|
<listheader
|
|
|
|
sort="auto(deliveryAddress.company)"
|
|
|
|
hflex="10"
|
|
|
|
label="${labels.DeliveryAddress}" />
|
|
|
|
sort="czech(description)"
|
|
|
|
<listheader
|
|
|
|
label="${labels.OrderFormDescription}" />
|
|
|
|
hflex="15"
|
|
|
|
</listhead>
|
|
|
|
sort="auto(address.company)"
|
|
|
|
<auxhead visible="@load(vm.filter)">
|
|
|
|
visible="false"
|
|
|
|
<auxheader>
|
|
|
|
label="${labels.BillingAddress}" />
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<listheader
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
hflex="10"
|
|
|
|
<textbox
|
|
|
|
sort="auto(ownedBy.fullName)"
|
|
|
|
value="@bind(vm.filterTemplate.numser)"
|
|
|
|
label="${labels.Owner}" />
|
|
|
|
instant="true"
|
|
|
|
<listheader
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
hflex="10"
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
sort="czech(description)"
|
|
|
|
</div>
|
|
|
|
label="${labels.OrderFormDescription}" />
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
</listhead>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<auxhead visible="@load(vm.filter)">
|
|
|
|
</div>
|
|
|
|
<auxheader>
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
</auxheader>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<auxheader>
|
|
|
|
<textbox
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
value="@bind(vm.filterTemplate.numser)"
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
instant="true"
|
|
|
|
<datebox
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
value="@bind(vm.filterTemplate.orderDate)"
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
format="${labels.DateFormat}"
|
|
|
|
</div>
|
|
|
|
instant="true"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
sclass="find-grid-textbox"
|
|
|
|
</div>
|
|
|
|
width="100%" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</auxheader>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<auxheader>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
</div>
|
|
|
|
<datebox
|
|
|
|
</auxheader>
|
|
|
|
value="@bind(vm.filterTemplate.orderDate)"
|
|
|
|
<auxheader></auxheader>
|
|
|
|
format="${labels.DateFormat}"
|
|
|
|
<auxheader>
|
|
|
|
instant="true"
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
sclass="find-grid-textbox"
|
|
|
|
<datebox
|
|
|
|
width="100%" />
|
|
|
|
value="@bind(vm.filterTemplate.deliveryDate)"
|
|
|
|
</div>
|
|
|
|
format="${labels.DateFormat}"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
instant="true"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
sclass="find-grid-textbox"
|
|
|
|
</div>
|
|
|
|
width="100%" />
|
|
|
|
</auxheader>
|
|
|
|
</div>
|
|
|
|
<auxheader></auxheader>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<auxheader>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
</div>
|
|
|
|
<datebox
|
|
|
|
</auxheader>
|
|
|
|
value="@bind(vm.filterTemplate.deliveryDate)"
|
|
|
|
<auxheader>
|
|
|
|
format="${labels.DateFormat}"
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
instant="true"
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<datebox
|
|
|
|
sclass="find-grid-textbox"
|
|
|
|
value="@bind(vm.filterTemplate.deliveredDate)"
|
|
|
|
width="100%" />
|
|
|
|
format="${labels.DateFormat}"
|
|
|
|
</div>
|
|
|
|
instant="true"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
sclass="find-grid-textbox"
|
|
|
|
</div>
|
|
|
|
width="100%" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</auxheader>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<auxheader>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
</div>
|
|
|
|
<datebox
|
|
|
|
</auxheader>
|
|
|
|
value="@bind(vm.filterTemplate.deliveredDate)"
|
|
|
|
<auxheader>
|
|
|
|
format="${labels.DateFormat}"
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
instant="true"
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<textbox
|
|
|
|
sclass="find-grid-textbox"
|
|
|
|
value="@bind(vm.filterTemplate.invoiceNumber)"
|
|
|
|
width="100%" />
|
|
|
|
instant="true"
|
|
|
|
</div>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
</div>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
</auxheader>
|
|
|
|
</div>
|
|
|
|
<auxheader>
|
|
|
|
</div>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
</auxheader>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<auxheader>
|
|
|
|
<textbox
|
|
|
|
<div zclass="find-grid-cell">
|
|
|
|
value="@bind(vm.filterTemplate.invoiceNumber)"
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
instant="true"
|
|
|
|
<combobox
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
ctrlKeys="${labels.HandleComboKeyFilter}"
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
|
|
|
|
</div>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
width="100%"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
selectedItem="@bind(vm.filterTemplate.suplier)"
|
|
|
|
</div>
|
|
|
|
model="@load(vm.suppAddresses)">
|
|
|
|
</div>
|
|
|
|
<template name="model">
|
|
|
|
</auxheader>
|
|
|
|
<comboitem label="@load(each)" />
|
|
|
|
<auxheader>
|
|
|
|
</template>
|
|
|
|
<div zclass="find-grid-cell">
|
|
|
|
</combobox>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
</div>
|
|
|
|
<combobox
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
ctrlKeys="${labels.HandleComboKeyFilter}"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
|
|
|
|
</div>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
width="100%"
|
|
|
|
</auxheader>
|
|
|
|
selectedItem="@bind(vm.filterTemplate.suplier)"
|
|
|
|
<auxheader>
|
|
|
|
model="@load(vm.suppAddresses)"
|
|
|
|
<div zclass="find-grid-cell">
|
|
|
|
readonly="true">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<template name="model">
|
|
|
|
<combobox
|
|
|
|
<comboitem label="@load(each)" />
|
|
|
|
ctrlKeys="${labels.HandleComboKeyFilter}"
|
|
|
|
</template>
|
|
|
|
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
|
|
|
|
</combobox>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
width="100%"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
selectedItem="@bind(vm.filterTemplate.deliveryAddress)"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
model="@load(vm.deliveryAddresses)"
|
|
|
|
</div>
|
|
|
|
readonly="true">
|
|
|
|
</div>
|
|
|
|
<template name="model">
|
|
|
|
</auxheader>
|
|
|
|
<comboitem label="@load(each)" />
|
|
|
|
<auxheader>
|
|
|
|
</template>
|
|
|
|
<div zclass="find-grid-cell">
|
|
|
|
</combobox>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
</div>
|
|
|
|
<combobox
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
ctrlKeys="${labels.HandleComboKeyFilter}"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
|
|
|
|
</div>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
width="100%"
|
|
|
|
</auxheader>
|
|
|
|
selectedItem="@bind(vm.filterTemplate.deliveryAddress)"
|
|
|
|
<auxheader>
|
|
|
|
model="@load(vm.deliveryAddresses)"
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
readonly="true">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<template name="model">
|
|
|
|
<textbox
|
|
|
|
<comboitem label="@load(each)" />
|
|
|
|
value="@bind(vm.filterTemplate.address)"
|
|
|
|
</template>
|
|
|
|
instant="true"
|
|
|
|
</combobox>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
</div>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
</div>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</auxheader>
|
|
|
|
</div>
|
|
|
|
<auxheader>
|
|
|
|
</auxheader>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
<auxheader>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<div zclass="find-grid-cell">
|
|
|
|
<textbox
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
value="@bind(vm.filterTemplate.address)"
|
|
|
|
<combobox
|
|
|
|
instant="true"
|
|
|
|
ctrlKeys="${labels.HandleComboKeyFilter}"
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
width="100%"
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
selectedItem="@bind(vm.filterTemplate.ownedBy)"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
model="@load(vm.users)"
|
|
|
|
</div>
|
|
|
|
readonly="true">
|
|
|
|
</div>
|
|
|
|
<template name="model">
|
|
|
|
</auxheader>
|
|
|
|
<comboitem label="@load(each.fullName)" />
|
|
|
|
<auxheader>
|
|
|
|
</template>
|
|
|
|
<div zclass="find-grid-cell">
|
|
|
|
</combobox>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
</div>
|
|
|
|
<combobox
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
ctrlKeys="${labels.HandleComboKeyFilter}"
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
|
|
|
|
</div>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
width="100%"
|
|
|
|
</auxheader>
|
|
|
|
selectedItem="@bind(vm.filterTemplate.ownedBy)"
|
|
|
|
<auxheader>
|
|
|
|
model="@load(vm.users)"
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
readonly="true">
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<template name="model">
|
|
|
|
<textbox
|
|
|
|
<comboitem label="@load(each.fullName)" />
|
|
|
|
value="@bind(vm.filterTemplate.description)"
|
|
|
|
</template>
|
|
|
|
instant="true"
|
|
|
|
</combobox>
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
</div>
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
</div>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
</div>
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</auxheader>
|
|
|
|
</div>
|
|
|
|
<auxheader>
|
|
|
|
</auxheader>
|
|
|
|
<div sclass="find-grid-cell">
|
|
|
|
</auxhead>
|
|
|
|
<div sclass="find-grid-divtextbox">
|
|
|
|
<template name="model">
|
|
|
|
<textbox
|
|
|
|
<listitem>
|
|
|
|
value="@bind(vm.filterTemplate.description)"
|
|
|
|
<listcell label="@load(each.numser)" />
|
|
|
|
instant="true"
|
|
|
|
<listcell label="@load(each.orderDate) @converter('formatedDate', format=labels.DateFormat)" />
|
|
|
|
onChange="@command('doFilter')"
|
|
|
|
<listcell label="@load(each.total) @converter(vm.standardBigDecimalConverter)" />
|
|
|
|
sclass="find-grid-textbox" />
|
|
|
|
<listcell label="@load(each.deliveryDate) @converter('formatedDate', format=labels.DateFormat)" />
|
|
|
|
</div>
|
|
|
|
<listcell label="@load(each.deliveredDate) @converter('formatedDate', format=labels.DateFormat)" />
|
|
|
|
<div sclass="find-grid-img">
|
|
|
|
<listcell label="@load(each.invoiceNumber)" />
|
|
|
|
<image src="/img/funnel.png" />
|
|
|
|
<listcell label="@load(each.suplier)" />
|
|
|
|
</div>
|
|
|
|
<listcell label="@load(each.deliveryAddress)" />
|
|
|
|
</div>
|
|
|
|
<listcell label="@load(each.address)" />
|
|
|
|
</auxheader>
|
|
|
|
<listcell label="@load(each.ownedBy.fullName)" />
|
|
|
|
</auxhead>
|
|
|
|
<listcell label="@load(each.description)" />
|
|
|
|
<template name="model">
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
</template>
|
|
|
|
<listcell label="@load(each.numser)" />
|
|
|
|
</listbox>
|
|
|
|
<listcell label="@load(each.orderDate) @converter('formatedDate', format=labels.DateFormat)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.total) @converter(vm.standardBigDecimalConverter)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.deliveryDate) @converter('formatedDate', format=labels.DateFormat)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.deliveredDate) @converter('formatedDate', format=labels.DateFormat)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.invoiceNumber)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.suplier)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.deliveryAddress)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.address)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.ownedBy.fullName)" />
|
|
|
|
|
|
|
|
<listcell label="@load(each.description)" />
|
|
|
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</listbox>
|
|
|
|
|
|
|
|
</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}" />
|
|
|
|
|
|
|
|
</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)" />
|
|
|
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</listbox>
|
|
|
|
|
|
|
|
</tabpanel>
|
|
|
|
|
|
|
|
</tabpanels>
|
|
|
|
|
|
|
|
</tabbox>
|
|
|
|
</window>
|
|
|
|
</window>
|
|
|
|
</zk>
|
|
|
|
</zk>
|