303 lines
12 KiB
XML
303 lines
12 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="winEditarSecretaria"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarSecretaria" border="normal"
|
|
apply="${editarSecretariaController}" width="750px" height="550px"
|
|
contentStyle="overflow:auto"
|
|
title="${c:l('editarSecretariaController.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('editarSecretariaController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarSecretariaController.btnSalvar.tooltiptext')}" />
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarSecretaria.detach()"
|
|
tooltiptext="${c:l('editarSecretariaController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
<tabbox id="tabboxTitle">
|
|
<tabs>
|
|
<tab
|
|
label="${c:l('editarSecretariaController.window.title')}" />
|
|
|
|
<tab
|
|
label="${c:l('editarPuntoVentaController.tab.label.empresas')}" />
|
|
|
|
</tabs>
|
|
<tabpanels>
|
|
<tabpanel style="overflow:auto;">
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbDescSecretaria.value')}" />
|
|
<textbox id="txtDescSecretaria"
|
|
constraint="no empty" width="90%" maxlength="60"
|
|
value="@{winEditarSecretaria$composer.secretaria.descsecretaria}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbCveSecretaria.value')}" />
|
|
<textbox id="txtCveSecretaria"
|
|
constraint="no empty" maxlength="14"
|
|
value="@{winEditarSecretaria$composer.secretaria.cvesecretaria}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.cnpj.label')}" />
|
|
<textbox id="txtCNPJ" width="100px"
|
|
maxlength="14"
|
|
value="@{winEditarSecretaria$composer.secretaria.cnpj}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbRut.value')}" />
|
|
<longbox id="txtRUT"
|
|
maxlength="14"
|
|
value="@{winEditarSecretaria$composer.secretaria.rut}"
|
|
/>
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbDirSecretaria.value')}" />
|
|
<textbox id="txtDirSecretaria"
|
|
maxlength="60"
|
|
value="@{winEditarSecretaria$composer.secretaria.direccion}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbCiudad.value')}" />
|
|
<textbox id="txtCiudad"
|
|
maxlength="60"
|
|
value="@{winEditarSecretaria$composer.secretaria.ciudad}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbValidaFolio.value')}" />
|
|
<checkbox id="chkValidaFolio"
|
|
value="@{winEditarSecretaria$composer.secretaria.validafolio}"
|
|
checked="true" />
|
|
</row>
|
|
<row id="rowValidaSerieSubserie">
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbSerieSubserie.value')}" />
|
|
<checkbox id="chkValidaSerieSubserie"
|
|
value="@{winEditarSecretaria$composer.secretaria.validaseriesubserie}"
|
|
checked="true" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbVoucherRod.value')}" />
|
|
<checkbox id="chkVoucherRod"
|
|
value="@{winEditarSecretaria$composer.secretaria.indVoucherRod}" />
|
|
</row>
|
|
|
|
<row id="rowComboFormaPago">
|
|
<label value="${c:l('relatorioEstornoCartaoController.lbFormaPago.value')}" />
|
|
<combobox id="cmbFormaPago"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
width="95%" mold="rounded" buttonVisible="true"
|
|
model="@{winEditarSecretaria$composer.lsFormaPago}" />
|
|
</row>
|
|
|
|
|
|
<row spans="2">
|
|
<label
|
|
value="${c:l('editarSecretariaController.Impression.value')}" />
|
|
</row>
|
|
<row spans="2">
|
|
<radiogroup id="grPrecoDesconto">
|
|
<hbox>
|
|
<radio id="rdPrecioTotal"
|
|
label="${c:l('editarSecretariaController.PrecioTotal.value')}"
|
|
checked="true" />
|
|
<radio id="rdPrecioDescuento"
|
|
label="${c:l('editarSecretariaController.PrecioDescuento.value')}" />
|
|
<radio id="rdDescuento"
|
|
label="${c:l('editarSecretariaController.Descuento.value')}"
|
|
visible="false" />
|
|
</hbox>
|
|
</radiogroup>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<separator bar="true" />
|
|
</toolbar>
|
|
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbPorcdescuento.value')}" />
|
|
<decimalbox id="txtPorcdescuento" constraint="no empty"
|
|
maxValue="100" maxlength="6"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbNumfolioinicio.value')}" />
|
|
<longbox id="txtNumfolioinicio"
|
|
maxlength="10" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbNumfoliofinal.value')}" />
|
|
<longbox id="txtNumfoliofinal"
|
|
maxlength="10" />
|
|
</row>
|
|
<row id="rowSerieSubserie" spans="2">
|
|
<hbox>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbSerie.value')}" />
|
|
<textbox id="txtSerie"
|
|
constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
maxlength="10" />
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbSubserie.value')}" />
|
|
<textbox id="txtSubserie"
|
|
constraint="no empty"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
|
maxlength="10" />
|
|
</hbox>
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbPorcDescuentoOutros.value')}" />
|
|
<textbox id="txtPorcdescuentoOutros"
|
|
maxValue="100" maxlength="6" value="0"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbPorcDescuentoPedagio.value')}" />
|
|
<textbox id="txtPorcdescuentoPedagio"
|
|
maxValue="100" maxlength="6" value="0"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbPorcDescuentoSeguro.value')}" />
|
|
<textbox id="txtPorcdescuentoSeguro"
|
|
maxValue="100" maxlength="6" value="0"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbPorcDescuentoTaxaEmbarque.value')}" />
|
|
<textbox
|
|
id="txtPorcdescuentoTaxaEmbarque" maxValue="100" maxlength="6"
|
|
value="0"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('editarSecretariaController.lbPorcDescuentoSeguroOpcional.value')}" />
|
|
<textbox id="txtPorcdescuentoSeguroOpcional"
|
|
maxValue="100" maxlength="6" value="0"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<button id="btnAdicionarCuponSecretaria"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarSecretariaController.btnAddCuponSecretaria.tooltiptext')}" />
|
|
<button id="btnRemoverCuponSecretaria"
|
|
height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarSecretariaController.btnBorrarCuponSecretaria.tooltiptext')}" />
|
|
</toolbar>
|
|
|
|
<listbox id="cuponSecretariaList" height="40"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbPorcdescuento.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbNumfolioinicio.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbNumfoliofinal.value')}" />
|
|
<listheader id="columnSerie" image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbSerie.value')}" />
|
|
<listheader id="columnSubserieSerie" image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbSubserie.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbPorcdescuentoOutros.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbPorcdescuentoPedagio.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbPorcdescuentoSeguro.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbPorcdescuentoTaxaEmbarque.value')}" />
|
|
<listheader image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarSecretariaController.lbPorcDescuentoSeguroOpcional.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
<hbox>
|
|
<combobox id="cmbEmpresa"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true"
|
|
model="@{winEditarSecretaria$composer.lsEmpresas}" />
|
|
|
|
<button id="btnAdicionarEmpresa"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
|
<button id="btnRemoverEmpresa"
|
|
height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarClase.tooltiptext')}" />
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="empresasList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhEmpresa"
|
|
image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|