AdmMono/web/gui/ingreso/editarTipoEventoExtra.zul

197 lines
7.5 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="winEditarTipoEventoExtra"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarTipoEventoExtra" border="normal"
apply="${editarTipoEventoExtraController}" width="520px"
contentStyle="overflow:auto"
title="${c:l('editarTipoEventoExtraController.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('editarTipoEventoExtraController.btnApagar.tooltiptext')}" />
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarTipoEventoExtraController.btnSalvar.tooltiptext')}" />
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarTipoEventoExtra.detach()"
tooltiptext="${c:l('editarTipoEventoExtraController.btnFechar.tooltiptext')}" />
</hbox>
</toolbar>
<tabbox id="tabboxTitle">
<tabs>
<tab
label="${c:l('editarTipoEventoExtraController.window.title')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.empresas')}" />
<tab
label="${c:l('editarTipoEventoExtraController.tab.label.agenciasAutorizadas')}" />
</tabs>
<tabpanels>
<tabpanel style="overflow:auto;">
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label id="lbNome"
value="${c:l('editarTipoEventoExtraController.lbNome.value')}" />
<textbox id="txtNome"
constraint="no empty" width="80%" maxlength="30"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.descTipoEvento}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.lbCveTipoEvento')}" />
<combobox id="cmbCveTipoEvento"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="100%" mold="rounded" buttonVisible="true"
model="@{winEditarTipoEventoExtra$composer.lsEventoExtrasConstantes}"
selectedItem="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.cvetipoevento}" />
</row>
<row id="rowIndEnviaExcessoDeBagagemSefaz">
<label
value="${c:l('editarTipoEventoExtraController.indEnviaExcessoDeBagagemSefaz.label')}" />
<checkbox id="cbIndEnviaExcessoDeBagagemSefaz"
checked="false" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.importeMaximo.label')}" />
<textbox id="impMax"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="7" scale="2" constraint="no empty"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.impmax,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.validaDocumento.label')}" />
<checkbox id="cbValidaDocumento"
checked="false" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.tipoOperacion.value')}" />
<radiogroup>
<radio id="raTipo11" label="(+)" />
<radio id="raTipo22" label="(-)" />
</radiogroup>
</row>
<row>
<label id="lbNatureza"
value="${c:l('editarTipoEventoExtraController.lbNatureza.value')}" />
<textbox id="txtNatureza" width="80%"
maxlength="10"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.natureza}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label id="lbContaContabil"
value="${c:l('editarTipoEventoExtraController.lbContaContabil.value')}" />
<textbox id="txtContaContabil"
width="80%" maxlength="20"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.contaContabil}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row spans="2">
<checkbox id="chkValidarEstoque"
checked="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.indValidarEstoque}"
label="${c:l('editarPuntoVentaController.lbCheckStock.value')}" />
</row>
</rows>
</grid>
</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="@{winEditarTipoEventoExtra$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>
<tabpanel> <!-- Agencias Autorizadas -->
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarTipoEventoExtraController.lbAgencia.value')}" />
<hbox>
<combobox id="cmbPontoVenda"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
mold="rounded" buttonVisible="true" />
<button
id="btnAdicionarAgencia" height="20"
image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
<button
id="btnRemoverAgencia" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarClase.tooltiptext')}" />
</hbox>
</row>
</rows>
</grid>
<listbox id="agenciasList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader id="lhAgencia"
image="/gui/img/create_doc.gif"
label="${c:l('editarTipoEventoExtraController.lbAgencia.value')}" />
</listhead>
</listbox>
</tabpanel>
</tabpanels>
</tabbox>
</window>
</zk>