parent
0b918b9f51
commit
a8020789be
@ -0,0 +1,71 @@
|
||||
<?page title="address" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<grid>
|
||||
<columns>
|
||||
<column hflex="min"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormCompany}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.company)" width="100%"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormIC}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.ic)"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormDIC}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.dic)"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormStreet}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.street)" width="100%"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormNo}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.houseNumber)"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormCity}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.city)" width="100%"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.SuppliersFormZIP}"/>
|
||||
<textbox value="@bind(vm.settings.mainAddress.zipCode)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<vbox>
|
||||
<label value="${labels.ShippingAddresses}"/>
|
||||
<button label="${labels.AddItem}" onClick="@command('addAddress')"/>
|
||||
<listbox model="@load(vm.settings.shippingAddrs)">
|
||||
<listhead>
|
||||
<listheader label="${labels.SuppliersFormStreet}"/>
|
||||
<listheader label="${labels.SuppliersFormNo}"/>
|
||||
<listheader label="${labels.SuppliersFormCity}"/>
|
||||
<listheader label="${labels.SuppliersFormZIP}"/>
|
||||
<listheader/>
|
||||
</listhead>
|
||||
<template name="model">
|
||||
<listitem>
|
||||
<listcell>
|
||||
<textbox inplace="true" value="@bind(each.street)"></textbox>
|
||||
</listcell>
|
||||
<listcell>
|
||||
<textbox inplace="true" value="@bind(each.houseNumber)"></textbox>
|
||||
</listcell>
|
||||
<listcell>
|
||||
<textbox inplace="true" value="@bind(each.city)"></textbox>
|
||||
</listcell>
|
||||
<listcell>
|
||||
<textbox inplace="true" value="@bind(each.zipCode)"></textbox>
|
||||
</listcell>
|
||||
<listcell>
|
||||
<button label="${labels.RemoveItem }" onClick="@command('removeAddress', addr=each)"/>
|
||||
</listcell>
|
||||
</listitem>
|
||||
</template>
|
||||
</listbox>
|
||||
</vbox>
|
||||
</zk>
|
@ -0,0 +1,23 @@
|
||||
<?page title="bank" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<grid>
|
||||
<columns>
|
||||
<column hflex="min"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${labels.BankName}"/>
|
||||
<textbox value="@bind(vm.settings.bankName)" width="100%"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.AccountNumber}"/>
|
||||
<textbox value="@bind(vm.settings.accountNumber)"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${labels.BankCode}"/>
|
||||
<textbox value="@bind(vm.settings.bankCode)"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</zk>
|
@ -0,0 +1,84 @@
|
||||
<?page title="email" contentType="text/html;charset=UTF-8"?>
|
||||
<zk>
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="${labels.NewRequirement}"/>
|
||||
<tab label="${labels.AuthRequirement}"/>
|
||||
<tab label="${labels.ConfirmRequirement}"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<columns>
|
||||
<column hflex="min"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${labels.MailSubject}"/> <textbox value="@bind(vm.settings.newReqTemplate.subject)" width="100%"/>
|
||||
</row>
|
||||
<row spans="2">
|
||||
<vbox>
|
||||
<ckeditor toolbar="Basic" value="@bind(vm.settings.newReqTemplate.text)" width="460px" height="180px"/>
|
||||
<button label="${labels.InsertField}" popup="fieldsNew, position=after_start"/>
|
||||
</vbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<columns>
|
||||
<column hflex="min"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${labels.MailSubject}"/> <textbox value="@bind(vm.settings.authReqTemplate.subject)" width="100%"/>
|
||||
</row>
|
||||
<row spans="2">
|
||||
<vbox>
|
||||
<ckeditor toolbar="Basic" value="@bind(vm.settings.authReqTemplate.text)" width="460px" height="180px"/>
|
||||
<button label="${labels.InsertField}" popup="fieldsAuth, position=after_start"/>
|
||||
</vbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<columns>
|
||||
<column hflex="min"/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${labels.MailSubject}"/> <textbox value="@bind(vm.settings.confReqTemplate.subject)" width="100%"/>
|
||||
</row>
|
||||
<row spans="2">
|
||||
<vbox>
|
||||
<ckeditor toolbar="Basic" value="@bind(vm.settings.confReqTemplate.text)" width="460px" height="180px"/>
|
||||
<button label="${labels.InsertField}" popup="fieldsConfirm, position=after_start"/>
|
||||
</vbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
<menupopup id="fieldsNew" children="@load(vm.requirementFields)">
|
||||
<template name="children">
|
||||
<menuitem label="@load(each) @converter(vm.locConverter)" onClick="@command('insertField', field=each, message=vm.settings.newReqTemplate)"/>
|
||||
</template>
|
||||
</menupopup>
|
||||
<menupopup id="fieldsAuth" children="@load(vm.requirementFields)">
|
||||
<template name="children">
|
||||
<menuitem label="@load(each) @converter(vm.locConverter)" onClick="@command('insertField', field=each, message=vm.settings.authReqTemplate)"/>
|
||||
</template>
|
||||
</menupopup>
|
||||
<menupopup id="fieldsConfirm" children="@load(vm.requirementFields)">
|
||||
<template name="children">
|
||||
<menuitem label="@load(each) @converter(vm.locConverter)" onClick="@command('insertField', field=each, message=vm.settings.confReqTemplate)"/>
|
||||
</template>
|
||||
</menupopup>
|
||||
</zk>
|
Loading…
Reference in New Issue