355 lines
24 KiB
XML
355 lines
24 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="winEditarConfiguracionReservacion"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarConfiguracionReservacion" border="normal"
|
|
apply="${editarConfiguracionReservacionController}"
|
|
width="700px" height="600px"
|
|
title="${c:l('editarConfiguracionReservacionController.window.title')}"
|
|
sizable="true">
|
|
<toolbar>
|
|
<hbox spacing="5px" style="padding:1px" align="right">
|
|
<button id="btnApagar" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnApagar.tooltiptext')}"/>
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnSalvar.tooltiptext')}"/>
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarConfiguracionReservacion.detach()"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnFechar.tooltiptext')}"/>
|
|
</hbox>
|
|
</toolbar>
|
|
<tabbox id="tb" vflex="1" hflex="1">
|
|
<tabs id="tabs">
|
|
<tab id="tabControl" label="${c:l('editarConfiguracionReservacionController.tabCtrl.value')}" />
|
|
<tab id="tabCategoria" label="${c:l('editarConfiguracionReservacionController.tabCategoria.value')}" />
|
|
<tab id="tabPunto" label="${c:l('editarConfiguracionReservacionController.tabPuntoVenta.value')}" />
|
|
<tab id="tabClase" label="${c:l('editarConfiguracionReservacionController.tabClase.value')}" />
|
|
<tab id="tabMercado" label="${c:l('editarConfiguracionReservacionController.tabMercado.value')}" />
|
|
<tab id="tabMarca" label="${c:l('editarConfiguracionReservacionController.tabMarca.value')}" />
|
|
</tabs>
|
|
<tabpanels style="overflow: auto">
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbDescricao.value')}"/>
|
|
<textbox id="txtDescripcion" constraint="no empty" width="60%" maxlength="60"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
value="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.descConfig}"/>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbFecInicio.value')}"/>
|
|
<datebox id="fecInicio" constraint="no empty" width="60%" mold="rounded"
|
|
value="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.fecinicio}"/>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbFecFinal.value')}"/>
|
|
<datebox id="fecFinal" constraint="no empty" width="60%" mold="rounded"
|
|
value="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.fecfinal}"/>
|
|
</row>
|
|
|
|
<row>
|
|
<hbox>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoConfirmacao.value')}"/>
|
|
<image
|
|
src="/gui/img/Question_mark_1.png"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.lbTiposConfirmacao.value')}"
|
|
style="cursor: help" />
|
|
</hbox>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTempoConfirmacaoHora" value="00" width="70px" maxlength="4" constraint="max 9999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTempoConfirmacaoMinuto" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
|
|
<row>
|
|
<hbox>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lblTipoReserva.value')}"/>
|
|
<image
|
|
src="/gui/img/Question_mark_1.png"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.lbTiposliberacao.value')}"
|
|
style="cursor: help" />
|
|
</hbox>
|
|
<radiogroup>
|
|
<radio id="ra1" label="${c:l('editarConfiguracionReservacionController.ra1.value')}"/>
|
|
<radio id="ra2" label="${c:l('editarConfiguracionReservacionController.ra2.value')}"/>
|
|
<radio id="ra3" label="${c:l('editarConfiguracionReservacionController.ra3.value')}"/>
|
|
</radiogroup>
|
|
</row>
|
|
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoLiberacion.value')}"/>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTiempoLiberacionHora" value="00" width="70px" maxlength="3" constraint="max 999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTiempoLiberacionMinuto" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoLiberacionInternet.value')}"/>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTiempoLiberacionInternetHora" value="00" width="70px" maxlength="3" constraint="max 999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTiempoLiberacionInternetMinuto" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoPrevio.value')}"/>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTiempoPrevioHora" value="00" width="70px" maxlength="3" constraint="max 999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTiempoPrevioMinuto" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoPrevioInternet.value')}"/>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTiempoPrevioInternetHora" value="00" width="70px" maxlength="3" constraint="max 999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTiempoPrevioInternetMinuto" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoLiberacionCaduc.value')}"/>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTiempoLiberacionHoraCaduc" value="00" width="70px" maxlength="3" constraint="max 999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTiempoLiberacionMinutoCaduc" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbTiempoLiberacionInternetCaduc.value')}"/>
|
|
<vbox>
|
|
<hbox>
|
|
<spinner id="spTiempoLiberacionInternetHoraCaduc" value="00" width="70px" maxlength="3" constraint="max 999,no negative, no empty" mold="rounded"/>
|
|
<label value=":"/>
|
|
<spinner id="spTiempoLiberacionInternetMinutoCaduc" value="00" width="50px" maxlength="2" constraint="max 59,no negative, no empty" mold="rounded"/>
|
|
</hbox>
|
|
</vbox>
|
|
</row>
|
|
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbNumAsientosCorrida.value')}"/>
|
|
<intbox id="NumAsientosCorrida" constraint="no empty, no negative" width="60%" maxlength="3"
|
|
value="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.numasientoscorrida}"/>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.lbDias.value')}"/>
|
|
<vbox>
|
|
<checkbox id="lun" label="${c:l('editarConfiguracionReservacionController.lbLun.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indapliclun}"/>
|
|
<checkbox id="mar" label="${c:l('editarConfiguracionReservacionController.lbMar.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indaplicmar}" />
|
|
<checkbox id="mie" label="${c:l('editarConfiguracionReservacionController.lbMie.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indaplicmie}"/>
|
|
<checkbox id="jue" label="${c:l('editarConfiguracionReservacionController.lbJue.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indaplicjue}"/>
|
|
<checkbox id="vie" label="${c:l('editarConfiguracionReservacionController.lbVie.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indaplicvie}"/>
|
|
<checkbox id="sab" label="${c:l('editarConfiguracionReservacionController.lbSab.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indaplicsab}"/>
|
|
<checkbox id="dom" label="${c:l('editarConfiguracionReservacionController.lbDom.value')}"
|
|
checked="@{winEditarConfiguracionReservacion$composer.reservacionCtrl.indaplicdom}"/>
|
|
</vbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<tabpanel height="410px">
|
|
<!-- Categoria -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.tabCategoria.value')}"/>
|
|
<hbox>
|
|
<combobox id="cmbCategoria" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
|
|
mold="rounded" buttonVisible="true" width="90%"
|
|
model="@{winEditarConfiguracionReservacion$composer.lsCategoria}"/>
|
|
<button id="btnAdicionarCategoria" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddCategoria.tooltiptext')}"/>
|
|
<button id="btnRemoverCategoria" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarCategoria.tooltiptext')}"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="reservacionCategoriaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhFecinicio" image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarConfiguracionReservacionController.tabCategoria.value')}"/>
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<tabpanel height="410px">
|
|
<!-- Punto Venta -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.tabPuntoVenta.value')}"/>
|
|
<hbox>
|
|
<combobox id="cmbPuntoVenta" constraint="no empty"
|
|
mold="rounded" buttonVisible="true" width="90%" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"/>
|
|
<button id="btnAdicionarPuntoVenta" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddPuntoVenta.tooltiptext')}"/>
|
|
<button id="btnRemoverPuntoVenta" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarPuntoVenta.tooltiptext')}"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="reservacionPuntoVentaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhReservacionPunto" image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarConfiguracionReservacionController.tabPuntoVenta.value')}"/>
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<tabpanel height="410px">
|
|
<!-- Clase -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.tabClase.value')}"/>
|
|
<hbox>
|
|
<combobox id="cmbClase" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
|
|
mold="rounded" buttonVisible="true" width="90%"
|
|
model="@{winEditarConfiguracionReservacion$composer.lsClase}"/>
|
|
<button id="btnAdicionarClase" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}"/>
|
|
<button id="btnRemoverClase" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarClase.tooltiptext')}"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="reservacionClaseList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhReservacionClase" image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarConfiguracionReservacionController.tabClase.value')}"/>
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<tabpanel height="410px">
|
|
<!-- Mercado -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.tabOrigem.value')}"/>
|
|
<combobox id="cmbParadaOrigem" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
|
mold="rounded" buttonVisible="true" width="90%" sinTodos="false"/>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.tabDestino.value')}"/>
|
|
<combobox id="cmbParadaDestino" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
|
mold="rounded" buttonVisible="true" width="90%" sinTodos="false"/>
|
|
</row>
|
|
<row>
|
|
<label value=" "/>
|
|
<hbox>
|
|
<button id="btnAdicionarMercado" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddMercado.tooltiptext')}"/>
|
|
<button id="btnRemoverMercado" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarMercado.tooltiptext')}"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="reservacionMercadoList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarConfiguracionReservacionController.tabOrigem.value')}"/>
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarConfiguracionReservacionController.tabDestino.value')}"/>
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<tabpanel height="410px">
|
|
<!-- Marca -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarConfiguracionReservacionController.tabMarca.value')}"/>
|
|
<hbox>
|
|
<combobox id="cmbMarca" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
|
|
mold="rounded" buttonVisible="true" width="90%"
|
|
model="@{winEditarConfiguracionReservacion$composer.lsMarca}"/>
|
|
<button id="btnAdicionarMarca" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddMarca.tooltiptext')}"/>
|
|
<button id="btnRemoverMarca" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarMarca.tooltiptext')}"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="reservacionMarcaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhReservacionMarca" image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarConfiguracionReservacionController.tabMarca.value')}"/>
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|