@ -10,28 +10,32 @@
<listheader
<listheader
label="${labels.RequirementsGridNumberSerie}"
label="${labels.RequirementsGridNumberSerie}"
sort="czech(numser)"
sort="czech(numser)"
widt h="7% " />
hflex ="7" />
<listheader
<listheader
label="${labels.RequirementsGridReqDate}"
label="${labels.RequirementsGridReqDate}"
sort="auto(reqDate)"
sort="auto(reqDate)"
widt h="13% " />
hflex ="13" />
<listheader
<listheader
label="${labels.RequirementsGridCenter}"
label="${labels.RequirementsGridCenter}"
sort="czech(description )"
sort="auto(centre )"
width="10% " />
hflex="15 " />
<listheader
<listheader
label="${labels.RequirementsGridDeliveryDate}"
label="${labels.RequirementsGridDeliveryDate}"
sort="auto(reqDate)"
sort="auto(reqDate)"
widt h="13% " />
hflex ="13" />
<listheader
<listheader
label="${labels.Amount}"
label="${labels.Amount}"
sort="auto(sumTotal)"
sort="auto(sumTotal)"
align="right"
align="right"
widt h="10% " />
hflex ="10" />
<listheader
<listheader
label="${labels.RequirementsGridDescription}"
label="${labels.RequirementsGridDescription}"
sort="czech(description)"
sort="czech(description)"
width="60%" />
hflex="20" />
<listheader
sort="auto(ownedBy.fullName)"
label="${labels.ownedBy}"
hflex="15" />
</listhead>
</listhead>
<auxhead
<auxhead
sclass="category-center"
sclass="category-center"
@ -68,10 +72,13 @@
<auxheader>
<auxheader>
<div sclass="find-grid-cell">
<div sclass="find-grid-cell">
<combobox
<combobox
ctrlKeys="${labels.HandleComboKeyFilter}"
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
onChange="@command('doFilter')"
model="@load(vm.centres)"
model="@load(vm.centres)"
readonly="true"
readonly="true"
width="100%"
width="100%"
selectedItem="@bind(vm.filterTemplate.workgroup )">
selectedItem="@bind(vm.filterTemplate.centre )">
<template name="model">
<template name="model">
<comboitem label="@load(each.fullName)" />
<comboitem label="@load(each.fullName)" />
</template>
</template>
@ -124,6 +131,27 @@
</div>
</div>
</div>
</div>
</auxheader>
</auxheader>
<auxheader>
<div zclass="find-grid-cell">
<div sclass="find-grid-divtextbox">
<combobox
ctrlKeys="${labels.HandleComboKeyFilter}"
onCtrlKey="@command('handleComboKeyFilter', ctrl=self, keyEvent=event)"
onChange="@command('doFilter')"
width="100%"
selectedItem="@bind(vm.filterTemplate.ownedBy)"
model="@load(vm.allUsers)"
readonly="true">
<template name="model">
<comboitem label="@load(each.fullName)" />
</template>
</combobox>
</div>
<div sclass="find-grid-img">
<image src="/img/funnel.png" />
</div>
</div>
</auxheader>
</auxhead>
</auxhead>
<template name="model">
<template name="model">
<listitem>
<listitem>
@ -133,6 +161,7 @@
<listcell label="@load(each.deliveryDate) @converter('formatedDate', format=labels.DateFormat)" />
<listcell label="@load(each.deliveryDate) @converter('formatedDate', format=labels.DateFormat)" />
<listcell label="@load(each.sumTotal) @converter(vm.bigDecimalConverter)" />
<listcell label="@load(each.sumTotal) @converter(vm.bigDecimalConverter)" />
<listcell label="@load(each.description)" />
<listcell label="@load(each.description)" />
<listcell label="@load(each.ownedBy.fullName)" />
</listitem>
</listitem>
</template>
</template>
</listbox>
</listbox>