|
|
|
@ -19,7 +19,31 @@
|
|
|
|
|
label="${labels.TravelOrdersFormTitle}" />
|
|
|
|
|
<vlayout vflex="1">
|
|
|
|
|
<include src="../tripBillInterior.zul" vflex="1"/>
|
|
|
|
|
<include src="/app/formButtons.zul" />
|
|
|
|
|
<vlayout
|
|
|
|
|
vflex="min"
|
|
|
|
|
hflex="max">
|
|
|
|
|
<div
|
|
|
|
|
hflex="max"
|
|
|
|
|
align="right">
|
|
|
|
|
<button
|
|
|
|
|
image="~./zul/img/misc/drag-disallow.png"
|
|
|
|
|
label="${labels.ButtonStorno}"
|
|
|
|
|
onClick="editWin.detach()"
|
|
|
|
|
sclass="nicebutton" />
|
|
|
|
|
<button
|
|
|
|
|
image="/img/save.png"
|
|
|
|
|
label="Uložit a odeslat ke schválení"
|
|
|
|
|
onClick="@command('saveForApproval', window=editWin) @global-command('refresh')"
|
|
|
|
|
disabled="@load(not vm.canSave)"
|
|
|
|
|
sclass="nicebutton" />
|
|
|
|
|
<button
|
|
|
|
|
image="/img/save.png"
|
|
|
|
|
label="${labels.ButtonSave}"
|
|
|
|
|
onClick="@command('save', window=editWin) @global-command('refresh')"
|
|
|
|
|
disabled="@load(not vm.canSave)"
|
|
|
|
|
sclass="nicebutton" />
|
|
|
|
|
</div>
|
|
|
|
|
</vlayout>
|
|
|
|
|
</vlayout>
|
|
|
|
|
</window>
|
|
|
|
|
</zk>
|