Agenda Vytvořené objednávky

Přidány záložky Doklady a Položky.

closes #148
This commit is contained in:
2014-10-05 13:38:47 +02:00
parent cfcecc2e1b
commit 49f921847d
6 changed files with 435 additions and 252 deletions
+31 -13
View File
@@ -2,6 +2,7 @@
<zk>
<window
vflex="1"
hflex="1"
border="normal"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.dashboard.DashBoardVM')">
@@ -23,9 +24,15 @@
<caption
image="/img/commission-small.png"
label="${labels.CentresForRequirements}" />
<hbox children="@load(vm.centres)">
<hbox
children="@load(vm.centres)"
vflex="1"
hflex="1">
<template name="children">
<listbox model="@load(vm.groupRoles[each])">
<listbox
model="@load(vm.groupRoles[each])"
vflex="1"
hflex="1">
<listhead>
<listheader label="@load(each.fullName)" />
</listhead>
@@ -40,7 +47,9 @@
</template>
</hbox>
</groupbox>
<hbox vflex="1" hflex="1">
<hbox
vflex="1"
hflex="1">
<groupbox
vflex="1"
hflex="1"
@@ -49,10 +58,15 @@
image="/img/commission-small.png"
label="${labels.WorkgroupMembership}" />
<vbox
sclass="addScrollbar"
vflex="1"
hflex="1"
sclass="addScrollbar"
children="@load(vm.workgroups)">
<template name="children">
<listbox model="@load(vm.groupRoles[each])">
<listbox
model="@load(vm.groupRoles[each])"
vflex="1"
hflex="1">
<listhead>
<listheader label="@load(each.fullName)" />
</listhead>
@@ -75,21 +89,25 @@
image="/img/money-small.png"
label="${labels.WorkgroupLimits}" />
<vbox
sclass="addScrollbar"
vflex="1"
hflex="1"
sclass="addScrollbar"
children="@load(vm.workgroups)">
<template name="children">
<listbox>
<listbox
vflex="1"
hflex="1">
<listhead>
<listheader label="@load(each.fullName)"/>
<listheader/>
<listheader label="@load(each.fullName)" />
<listheader />
</listhead>
<listitem>
<listcell label="${labels.Limit}"/>
<listcell label="@load(each.limit) @converter(vm.standardBigDecimalConverter)"/>
<listcell label="${labels.Limit}" />
<listcell label="@load(each.limit) @converter(vm.standardBigDecimalConverter)" />
</listitem>
<listitem>
<listcell label="${labels.Spent}"/>
<listcell label="@load(vm.workgroupSpent[each]) @converter(vm.standardBigDecimalConverter)"/>
<listcell label="${labels.Spent}" />
<listcell label="@load(vm.workgroupSpent[each]) @converter(vm.standardBigDecimalConverter)" />
</listitem>
</listbox>
</template>