Do globálního nastavení byly přidány dopravní prostředky.

refs #101
This commit is contained in:
2014-07-20 20:47:32 +02:00
parent 3c42c1be35
commit b71f3a9bef
6 changed files with 125 additions and 1 deletions
@@ -0,0 +1,23 @@
<?page title="travel orders" contentType="text/html;charset=UTF-8"?>
<zk>
<vbox>
<label value="Dopravní prostředky:"/>
<button label="${labels.AddItem}" onClick="@command('addVehicle')"/>
<grid model="@load(vm.settings.vehicles)">
<columns>
<column label="${labels.code}"/>
<column label="${labels.name}"/>
<column/>
</columns>
<rows>
<template name="model">
<row>
<textbox inplace="true" value="@bind(each.code)"/>
<textbox inplace="true" value="@bind(each.description)"/>
<button label="${labels.RemoveItem}" onClick="@command('removeVehicle', vehicle=each)"/>
</row>
</template>
</rows>
</grid>
</vbox>
</zk>
+5 -1
View File
@@ -6,11 +6,12 @@ binder="@init(queueName='email')">
<caption src="/img/settings.png" zclass="form-caption" label="${labels.GlobalSettings}" />
<tabbox orient="vertical" height="500px">
<tabs width="100px">
<tabs width="140px">
<tab label="${labels.Requirements}"/>
<tab label="${labels.EMails}"/>
<tab label="${labels.ContactInfo }"/>
<tab label="${labels.BankInfo}"/>
<tab label="${labels.TravelOrders}"/>
</tabs>
<tabpanels>
<tabpanel>
@@ -27,6 +28,9 @@ binder="@init(queueName='email')">
<tabpanel>
<include src="/settings/global/bank.zul"/>
</tabpanel>
<tabpanel>
<include src="/settings/global/travelOrders.zul"/>
</tabpanel>
</tabpanels>
</tabbox>