Přidaná agenda pro schvalování služebních cest. Interface pro servisní

třídy požadavků (zatím prázdný). 
refs #108 
refs #100
This commit is contained in:
2014-07-14 12:20:11 +02:00
parent 91fdbd7a9d
commit eade2dd793
33 changed files with 1485 additions and 26 deletions
@@ -0,0 +1,90 @@
<?page title="${labels.RequirementsFormTitle}" contentType="text/html;charset=UTF-8"?>
<zk>
<window
id="editWin"
closable="true"
border="normal"
position="center"
apply="org.zkoss.bind.BindComposer"
viewModel="@id('vm') @init('info.bukova.isspst.ui.requirement.TripRequirementForm')">
<caption
src="/img/reqact.png"
zclass="form-caption"
label="${labels.RequirementsFormTitle}" />
<vlayout>
<grid hflex="min">
<columns>
<column
align="right"
hflex="min" />
<column />
</columns>
<rows>
<row>
<cell sclass="row-title">${labels.RequirementsFormNumberSerie} :</cell>
<cell>
<textbox
id="numser"
constraint="@load(vm.constriant)"
width="200px"
value="@bind(vm.dataBean.numser)"
readonly="true" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.RequirementsFormReqDate} :</cell>
<cell>
<datebox
id="reqDate"
width="200px"
value="@bind(vm.dataBean.reqDate)"
format="${labels.DateFormat}" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.RequirementsFormCenter} :</cell>
<cell>
<combobox
model="@load(vm.centres)"
readonly="true"
selectedItem="@bind(vm.dataBean.centre)">
<template name="model">
<comboitem label="@load(each.fullName)" />
</template>
</combobox>
</cell>
</row>
<row>
<cell sclass="row-title">${labels.RequirementsFormFrom} :</cell>
<cell>
<textbox
id="from"
width="300px"
value="@bind(vm.dataBean.from)" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.RequirementsFormTo} :</cell>
<cell>
<textbox
id="to"
width="300px"
value="@bind(vm.dataBean.to)" />
</cell>
</row>
<row>
<cell sclass="row-title">${labels.RequirementsFormPurpose} :</cell>
<cell>
<textbox
id="description"
width="300px"
value="@bind(vm.dataBean.description)" />
</cell>
</row>
</rows>
</grid>
<include src="/app/formButtons.zul" />
</vlayout>
</window>
</zk>