AdmMono/web/gui/tarifas/editarPrecioVentaja.zul

116 lines
6.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?page contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarPrecioVentaja"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarPrecioVentaja" border="normal"
apply="${editarPrecioVentajaController}"
width="500px" height="457x" contentStyle="overflow:auto"
title="${c:l('editarPrecioVentajaController.window.title')}">
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
<button id="btnApagar" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarPrecioVentajaController.btnApagar.tooltiptext')}"/>
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarPrecioVentajaController.btnSalvar.tooltiptext')}"/>
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarPrecioVentaja.detach()"
tooltiptext="${c:l('editarPrecioVentajaController.btnFechar.tooltiptext')}"/>
</hbox>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label value="${c:l('editarPrecioVentajaController.servico.label')}"/>
<intbox id="itxCorrida" width="47%" maxlength="7" value="@{winEditarPrecioVentaja$composer.precioVentaja.corridaId}"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.linha.label')}"/>
<combobox id="cmbRutaOriginal" width="95%" mold="rounded"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winEditarPrecioVentaja$composer.lsRuta}"
selectedItem="@{winEditarPrecioVentaja$composer.precioVentaja.rutaOriginalId}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.origem.label')}"/>
<combobox id="cmbParadaOrigem" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
mold="rounded" buttonVisible="true" width="80%" sinTodos="true"
selectedItem="@{winEditarPrecioVentaja$composer.precioVentaja.origenOriginalId}"
initialValue="@{winEditarPrecioVentaja$composer.precioVentaja.origenOriginalId}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.destino.label')}"/>
<combobox id="cmbParadaDestino" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
mold="rounded" buttonVisible="true" width="80%" sinTodos="true"
selectedItem="@{winEditarPrecioVentaja$composer.precioVentaja.destinoOriginalId}"
initialValue="@{winEditarPrecioVentaja$composer.precioVentaja.destinoOriginalId}"
constraint="no empty"/>
</row>
<row spans="2">
<label value="${c:l('editarPrecioVentajaController.precocom.label')}"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.linha.label')}"/>
<combobox id="cmbRutaPrecio" width="95%" mold="rounded"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winEditarPrecioVentaja$composer.lsRuta}"
selectedItem="@{winEditarPrecioVentaja$composer.precioVentaja.rutaPrecioId}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.origem.label')}"/>
<combobox id="cmbOrigemPrecoCopiado" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
mold="rounded" buttonVisible="true" width="80%" sinTodos="true"
initialValue="@{winEditarPrecioVentaja$composer.precioVentaja.origenPrecioId}"
selectedItem="@{winEditarPrecioVentaja$composer.precioVentaja.origenPrecioId}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.destino.label')}"/>
<combobox id="cmbParadaDestinoCopiado" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
mold="rounded" buttonVisible="true" width="80%" sinTodos="true"
initialValue="@{winEditarPrecioVentaja$composer.precioVentaja.destinoPrecioId}"
selectedItem="@{winEditarPrecioVentaja$composer.precioVentaja.destinoPrecioId}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('editarPrecioVentajaController.prefixoOrigem.value')}"/>
<checkbox id="chkPrefixoOrigem" checked="@{winEditarPrecioVentaja$composer.precioVentaja.indPrefixoOrigen}" />
</row>
</rows>
</grid>
<grid >
<columns>
<column width="10%" />
<column width="35%" />
<column align="center" width="10%"/>
<column width="10%" />
<column width="35%" />
</columns>
<rows>
<row>
<label value="${c:l('editarPrecioVentajaController.inicio.value')}"/>
<datebox id="dtVigorIni" width="90%" mold="rounded" constraint="no empty"
format="dd/MM/yyyy HH:mm" value="@{winEditarPrecioVentaja$composer.precioVentaja.fechaInicio}"/>
<label value="${c:l('editarPrecioVentajaController.ate.label')}" style="center"/>
<label value="${c:l('editarPrecioVentajaController.fim.value')}"/>
<datebox id="dtVigorFim" width="90%" mold="rounded" constraint="no empty"
format="dd/MM/yyyy HH:mm" value="@{winEditarPrecioVentaja$composer.precioVentaja.fechaFinal}"/>
</row>
</rows>
</grid>
</window>
</zk>