AdmMono/web/gui/configuraciones_comerciales/editarConfiguracionPacote.zul

272 lines
9.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="winEditarConfiguracionPacote"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns:n="http://www.zkoss.org/2005/zk/native">
<window id="winEditarConfiguracionPacote"
title="${c:l('editarConfiguracionPacoteController.window.title')}"
apply="${editarConfiguracionPacoteController}"
contentStyle="overflow:auto" height="590px" width="860px"
border="normal">
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarConfiguracionPacoteController.btnSalvar.tooltiptext')}" />
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarConfiguracionPacote.detach()"
tooltiptext="${c:l('editarConfiguracionPacoteController.btnFechar.tooltiptext')}" />
</hbox>
</toolbar>
<tabbox id="tb">
<tabs id="tabs">
<tab id="A"
label="${c:l('editarConfiguracionPacoteController.tabPacote.value')}" />
<tab id="B" disabled="@{winEditarConfiguracionPacote$composer.isBlockTab}"
label="${c:l('editarConfiguracionPacoteController.tabItensAdicionais.value')}" />
<tab id="C" disabled="@{winEditarConfiguracionPacote$composer.isBlockTab}"
label="${c:l('editarConfiguracionPacoteController.tabTipoTarifa.value')}" />
<tab id="D" disabled="@{winEditarConfiguracionPacote$composer.isBlockTab}"
label="${c:l('editarConfiguracionPacoteController.tabDescontoBilhete.value')}" />
</tabs>
<tabpanels>
<!-- Pacote -->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<!-- Empresa -->
<label
value="${c:l('editarConfiguracionPacoteController.lbEmpresa.value')}" />
<combobox id="cmbEmpresa"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarConfiguracionPacote$composer.lsEmpresas}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionPacoteController.txtNombre.label')}" />
<textbox id="txtNome" width="70%"
maxlength="50" constraint="no empty"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarConfiguracionPacoteController.lbSta.label')}" />
<radiogroup Id="indStatus">
<radio id="radIndAutorizado"
label="${c:l('editarConfiguracionPacoteController.radIndAutorizado.value')}"
checked="true" />
<radio id="radIndLatente"
label="${c:l('editarConfiguracionPacoteController.radIndLatente.value')}" />
</radiogroup>
</row>
<row>
<label
value="${c:l('editarConfiguracionPacoteController.lbIndVendaAgencia.value')}" />
<checkbox id="indVendaAgencia"
label="${c:l('editarConfiguracionPacoteController.indVendaAgencia.value')}"
checked="false" />
</row>
<row>
<label
value="${c:l('editarConfiguracionCorridaController.cmbRuta.value')}" />
<combobox id="cmbRuta"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="90%"
model="@{winEditarConfiguracionPacote$composer.lsRuta}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionPacoteController.txtDesc.label')}" />
<fckeditor id="descPacote"
height="350px" />
</row>
</rows>
</grid>
</tabpanel>
<!-- Item Adicional -->
<tabpanel>
<toolbar>
<button id="btnRemoverItemSelecionado"
height="30px" width="35px" image="/gui/img/remove.png"
tooltiptext="${c:l('editarConfiguracionPacoteController.btnRemoverItem.tooltiptext')}" />
</toolbar>
<paging id="pagingItemPacote" pageSize="20" />
<listbox id="pacoteItemList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false" height="325px">
<listhead sizable="true">
<listheader width="20%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhId.label')}" />
<listheader width="40%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhPacote.label')}" />
<listheader width="40%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhItem.label')}" />
</listhead>
</listbox>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionPacoteController.tabItensAdicionais.value')}" />
<combobox id="cmbItemAdicional"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="90%"
model="@{winEditarConfiguracionPacote$composer.lsItemAdicional}" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnSelectItem"
image="/gui/img/select.jpg"
label="${c:l('editarConfiguracionPacoteController.btnSelecionar.label')}" />
</toolbar>
</tabpanel>
<!-- TIPO TARIFA PACOTE -->
<tabpanel>
<toolbar>
<button id="btnRemoverTarifaSelecionado"
height="30px" width="35px" image="/gui/img/remove.png"
tooltiptext="${c:l('editarConfiguracionPacoteController.btnRemoverTarifa.tooltiptext')}" />
</toolbar>
<paging id="pagingTarifaPacote" pageSize="20" />
<listbox id="tarifaPacoteList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false" height="325px">
<listhead sizable="true">
<listheader width="5%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhId.label')}" />
<listheader width="25%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhPacote.label')}" />
<listheader width="20%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhTipoTarifa.label')}" />
<listheader width="10%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhTarifa.label')}" />
<listheader width="20%"
image="/gui/img/builder.gif"
label="${c:l('indexController.mniCategoria.label')}" />
<listheader width="20%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhVendaWeb.label')}" />
</listhead>
</listbox>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionPacoteController.tabTipoTarifa.value')}" />
<combobox id="cmbTipoTarifaPacote"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="90%"
model="@{winEditarConfiguracionPacote$composer.lsTipoTarifaPacote}" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnSelectTarifa"
image="/gui/img/select.jpg"
label="${c:l('editarConfiguracionPacoteController.btnSelecionar.label')}" />
</toolbar>
</tabpanel>
<!-- DESCONTO BILHETE -->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<!-- Clase Servicio -->
<label value="${c:l('editarConfiguracionPacoteController.lbClaseServicio.label')}"/>
<combobox id="cmbClaseServicio" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="70%"
model="@{winEditarConfiguracionPacote$composer.lsClaseServicio}"/>
</row>
<row>
<label value="${c:l('editarConfiguracionPacoteController.lbPercdesconto.label')}"/>
<textbox id="txtPercdesconto" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="5" scale="2" maxlength="7" constraint="no empty" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnAdicionarDescontoBilhete"
height="30px" width="35px" image="/gui/img/add.png"
tooltiptext="${c:l('editarConfiguracionPacoteController.btnAdicionar.tooltiptext')}" />
<button id="btnRemoverDescontoBilheteSelecionado"
height="30px" width="35px" image="/gui/img/remove.png"
tooltiptext="${c:l('editarConfiguracionPacoteController.btnRemoverItem.tooltiptext')}" />
</toolbar>
<paging id="pagingPacoteDescontoBilhete" pageSize="20" />
<listbox id="pacoteDescontoBilheteList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false" height="250px">
<listhead sizable="true">
<listheader width="20%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lhId.label')}" />
<listheader width="40%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lbClaseServicio.label')}" />
<listheader width="40%"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionPacoteController.lbPercdesconto.label')}" />
</listhead>
</listbox>
</tabpanel>
</tabpanels>
</tabbox>
</window>
</zk>