AdmMono/web/gui/tarifas/editarPracaPedagio.zul

176 lines
7.3 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="winEditarPracaPedagio"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarPracaPedagio" border="normal" apply="${editarCasetaPeajeController}" width="800px"
height="600px" xmlns:h="http://www.w3.org/1999/xhtml"
contentStyle="overflow:auto" title="${c:l('editarPracaPedagioController.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('tooltiptext.btnEliminar')}"/>
<button id="btnSalvar" height="20" image="/gui/img/save.png" width="35px" tooltiptext="${c:l('tooltiptext.btnGuardar')}"/>
<button id="btnFechar" height="20" image="/gui/img/exit.png" width="35px" onClick="winEditarPracaPedagio.detach()" tooltiptext="${c:l('tooltiptext.btnFechar')}"/>
</hbox>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label value="${c:l('busquedaPracaPedagioController.lbDescricaoPracaPedagio')}"/>
<textbox id="descricaoPracaPedagio" width="100%" mold="rounded" constraint="no empty"
value="@{winEditarPracaPedagio$composer.casetaPeaje.desccaseta}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
</row>
<row>
<label value="${c:l('busquedaPracaPedagioController.lbQuantiaIda')}"/>
<textbox id="quantiaIda" width="100%" 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>
<row>
<label value="${c:l('busquedaPracaPedagioController.lbQuantiaVolta')}"/>
<textbox id="quantiaVolta" width="100%" 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>
<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" lenient="false" />
</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" lenient="false" />
</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"
tooltiptext="${c:l('editarExcepcionPeajeController.btnAddConvenioDet.tooltiptext')}" />
<button id="btnRemoverCasetaPeajeExcepcion" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarExcepcionPeajeController.btnBorrarConvenioDet.tooltiptext')}" />
</toolbar>
<listbox id="casetaPeajeExcepcionList"
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>