201 lines
7.8 KiB
XML
201 lines
7.8 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="winEditarExcepcionPeaje"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarExcepcionPeaje" title="${c:l('editarExcepcionPeajeController.window.title')}"
|
|
apply="${editarExcepcionPeajeController}" contentStyle="overflow:auto"
|
|
height="500px" width="800px" border="normal"
|
|
xmlns:h="http://www.w3.org/1999/xhtml">
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px" align="right">
|
|
<button id="btnApagar" height="20"
|
|
image="/gui/img/remove.png" width="35px" visible="false"
|
|
tooltiptext="${c:l('editarExcepcionPeajeController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarExcepcionPeajeController.btnSalvar.tooltiptext')}" />
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarExcepcionPeaje.detach()"
|
|
tooltiptext="${c:l('editarExcepcionPeajeController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="15%" />
|
|
<column width="35%" />
|
|
<column width="15%" />
|
|
<column width="35%" />
|
|
</columns>
|
|
<rows>
|
|
<row spans="1,3">
|
|
<label
|
|
value="${c:l('busquedaExcepcionPeajeController.cmbRuta.value')}" />
|
|
<combobox id="cmbRuta" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true" width="90%"
|
|
model="@{winEditarExcepcionPeaje$composer.lsRuta}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('busquedaExcepcionPeajeController.lbCidadeOrigem.value')}" />
|
|
<cell>
|
|
<combobox id="cmbParadaOrigemCve"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve"
|
|
mold="rounded" buttonVisible="true" width="30%" />
|
|
<combobox id="cmbParadaOrigem" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
|
mold="rounded" buttonVisible="true" width="65%" />
|
|
</cell>
|
|
<label
|
|
value="${c:l('busquedaExcepcionPeajeController.lbCidadeDestino.value')}" />
|
|
<cell>
|
|
<combobox id="cmbParadaDestinoCve"
|
|
autodrop="false"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve"
|
|
mold="rounded" buttonVisible="true" width="30%" />
|
|
<combobox id="cmbParadaDestino" autodrop="false" constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
|
mold="rounded" buttonVisible="true" width="65%" />
|
|
</cell>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<toolbar>
|
|
<separator bar="true" />
|
|
</toolbar>
|
|
<grid fixedLayout="true" >
|
|
<columns>
|
|
<column width="26%" />
|
|
<column width="37%" />
|
|
<column width="37%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbVigenciaVenta.value')}" />
|
|
<hbox>
|
|
<h:table border="0">
|
|
<h:tr>
|
|
<h:td>
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbDe.value')}" />
|
|
|
|
<datebox id="fecInicio" width="70x" constraint="no empty"
|
|
mold="rounded" />
|
|
</h:td>
|
|
</h:tr>
|
|
</h:table>
|
|
</hbox>
|
|
<hbox>
|
|
<h:table border="0">
|
|
<h:tr>
|
|
<h:td>
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbHasta.value')}" />
|
|
|
|
<datebox id="fecFin" width="70x" constraint="no empty" mold="rounded" />
|
|
</h:td>
|
|
</h:tr>
|
|
</h:table>
|
|
</hbox>
|
|
</row>
|
|
<row spans="1,2">
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbDias.value')}" />
|
|
<hbox>
|
|
<checkbox id="chkINDLUNES"
|
|
label="${c:l('editarExcepcionPeajeController.lbLun.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDLUNES}" />
|
|
<checkbox id="chkINDMARTES"
|
|
label="${c:l('editarExcepcionPeajeController.lbMar.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDMARTES}" />
|
|
<checkbox id="chkINDMIERCOLES"
|
|
label="${c:l('editarExcepcionPeajeController.lbMie.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDMIERCOLES}" />
|
|
<checkbox id="chkINDJUEVES"
|
|
label="${c:l('editarExcepcionPeajeController.lbJue.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDJUEVES}" />
|
|
<checkbox id="chkINDVIERNES"
|
|
label="${c:l('editarExcepcionPeajeController.lbVie.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDVIERNES}" />
|
|
<checkbox id="chkINDSABADO"
|
|
label="${c:l('editarExcepcionPeajeController.lbSab.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDSABADO}" />
|
|
<checkbox id="chkINDDOMINGO"
|
|
label="${c:l('editarExcepcionPeajeController.lbDom.value')}"
|
|
checked="@{winEditarCliente$composer.boolINDDOMINGO}" />
|
|
</hbox>
|
|
</row><row>
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbPeriodoVenta.value')}" />
|
|
<hbox>
|
|
<h:table border="0">
|
|
<h:tr>
|
|
<h:td>
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbHorInical.value')}" />
|
|
|
|
<timebox id="horaIni" mold="rounded" />
|
|
</h:td>
|
|
</h:tr>
|
|
</h:table>
|
|
</hbox>
|
|
<hbox>
|
|
<h:table border="0">
|
|
<h:tr>
|
|
<h:td>
|
|
<label
|
|
value="${c:l('editarExcepcionPeajeController.lbHorFinal.value')}" />
|
|
|
|
<timebox id="horaFin" mold="rounded" />
|
|
</h:td>
|
|
</h:tr>
|
|
</h:table>
|
|
</hbox>
|
|
</row>
|
|
<row spans="1,2">
|
|
|
|
<label value="${c:l('editarExcepcionPeajeController.lbPrecio.value')}"/>
|
|
<textbox id="txtPreco" mold="rounded" constraint="no empty, no zero, no negative, /[0-9]+(\,[0-9][0-9]?)?/ "
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" precision="6" scale="2"/>
|
|
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<button id="btnAdicionarCasetaPeajeExcepcion" height="20"
|
|
image="/gui/img/add.png" width="35px" visible="false"
|
|
tooltiptext="${c:l('editarExcepcionPeajeController.btnAddConvenioDet.tooltiptext')}" />
|
|
<button id="btnRemoverCasetaPeajeExcepcion" height="20"
|
|
image="/gui/img/remove.png" width="35px" visible="false"
|
|
tooltiptext="${c:l('editarExcepcionPeajeController.btnBorrarConvenioDet.tooltiptext')}" />
|
|
</toolbar>
|
|
|
|
<listbox id="excepcionPeajeVigenciaList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader width="50px"
|
|
image="/gui/img/builder.gif" label="${c:l('editarExcepcionPeajeController.msg.RenderId')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarExcepcionPeajeController.msg.RenderInicioVigencia')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarExcepcionPeajeController.msg.RenderFinVigencia')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarExcepcionPeajeController.msg.RenderHoraInicio')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarExcepcionPeajeController.msg.RenderHoraFin')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarExcepcionPeajeController.msg.RenderDias')}" />
|
|
<listheader image="/gui/img/builder.gif"
|
|
label="${c:l('editarExcepcionPeajeController.msg.RenderPrecio')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</window>
|
|
</zk>
|