385 lines
17 KiB
XML
385 lines
17 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="winEditarEmpresa"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarEmpresa" border="normal"
|
|
apply="${editarEmpresaController}" width="500px"
|
|
contentStyle="overflow:auto" xmlns:h="http://www.w3.org/1999/xhtml"
|
|
title="${c:l('editarEmpresaController.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('editarEmpresaController.btnApagar.tooltiptext')}" />
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarEmpresaController.btnSalvar.tooltiptext')}" />
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarEmpresa.detach()"
|
|
tooltiptext="${c:l('editarEmpresaController.btnFechar.tooltiptext')}" />
|
|
</hbox>
|
|
</toolbar>
|
|
|
|
<tabbox>
|
|
<tabs>
|
|
<tab label="${c:l('editarEmpresaController.lbNome.value')}" />
|
|
<tab label="${c:l('editarEmpresaController.endereco.label')}" />
|
|
<tab label="${c:l('editarEmpresaController.impostos.label')}" />
|
|
<tab label="${c:l('editarEmpresaController.inscricaoestadual.label')}" />
|
|
<tab label="${c:l('editarEmpresaController.contaBancaria.label')}" />
|
|
</tabs>
|
|
<tabpanels>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="25%" />
|
|
<column width="75%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label id="lbNome"
|
|
value="${c:l('editarEmpresaController.lbNome.value')}" />
|
|
<textbox id="txtNome"
|
|
constraint="no empty" width="80%" maxlength="50"
|
|
value="@{winEditarEmpresa$composer.empresa.nombempresa}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.IndTipo.label')}" />
|
|
<combobox id="cmbIndTipo"
|
|
constraint="no empty" width="90%" mold="rounded"
|
|
buttonVisible="true"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
selectedItem="@{winEditarEmpresa$composer.empresa.indTipo, converter='com.rjconsultores.ventaboletos.web.utilerias.StringToShortConverter'}">
|
|
<comboitem value="1"
|
|
label="${c:l('editarEmpresaController.IndTipo.1')}" />
|
|
<comboitem value="2"
|
|
label="${c:l('editarEmpresaController.IndTipo.2')}" />
|
|
<comboitem value="3"
|
|
label="${c:l('editarEmpresaController.IndTipo.3')}" />
|
|
</combobox>
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.cnpj.label')}" />
|
|
<textbox id="txtCNPJ" width="100px"
|
|
maxlength="18" constraint="no empty"
|
|
value="@{winEditarEmpresa$composer.empresa.cnpj}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.codantt.label')}" />
|
|
<textbox id="txtCodantt" width="100px"
|
|
maxlength="5"
|
|
value="@{winEditarEmpresa$composer.empresa.codantt}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.fechatarifa.label')}" />
|
|
<radiogroup id="rdgFechaTarifa" >
|
|
<radio id="rdgFechaVenta" label="${c:l('editarEmpresaController.fechaventa.label')}"/>
|
|
<radio id="rdgFechaSalida" label="${c:l('editarEmpresaController.fechasalida.label')}"/>
|
|
</radiogroup>
|
|
</row>
|
|
<row id="rowEquivalencia">
|
|
<label
|
|
value="${c:l('lb.Equivalencia')}" />
|
|
<textbox id="txtEquivalencia"
|
|
width="100px" maxlength="10"
|
|
value="@{winEditarEmpresa$composer.empresa.equivalenciaId}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row id="rowIndcarboletosdevolvidosconf">
|
|
<label id="lbIndcarboletosdevolvidosconf"
|
|
value="${c:l('editarEmpresaController.indcarboletosdevolvidosconf.label')}" />
|
|
<checkbox id="chkIndcarboletosdevolvidosconf"
|
|
value="@{winEditarEmpresa$composer.empresa.indcarboletosdevolvidosconf}" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="25%" />
|
|
<column width="75%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.logradouro.label')}" />
|
|
<textbox id="txtLogradouro" width="98%"
|
|
maxlength="256"
|
|
value="@{winEditarEmpresa$composer.empresa.logradouro}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.numero.label')}" />
|
|
<textbox id="txtNumero" width="30%"
|
|
maxlength="6"
|
|
value="@{winEditarEmpresa$composer.empresa.numero}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.complemento.label')}" />
|
|
<textbox id="txtComplemento" width="30%"
|
|
maxlength="10"
|
|
value="@{winEditarEmpresa$composer.empresa.complemento}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.cep.label')}" />
|
|
<textbox id="txtCEP" width="50%"
|
|
maxlength="11" value="@{winEditarEmpresa$composer.empresa.cep}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.bairro.label')}" />
|
|
<textbox id="txtBairro" width="98%"
|
|
maxlength="256"
|
|
value="@{winEditarEmpresa$composer.empresa.bairro}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.estado.label')}" />
|
|
<combobox id="cmbEstado"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarEmpresa$composer.lsTodosEstados}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.empresa.cidade.estado}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.cidade.label')}" />
|
|
<combobox id="cmbCidade" width="70%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
selectedItem="@{winEditarPuntoVenta$composer.empresa.cidade}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.telefono.label')}" />
|
|
<textbox id="numtelefono"
|
|
constraint="no zero" width="70%" maxlength="15"
|
|
value="@{winEditarEmpresa$composer.empresa.numtelefono}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.estado.label')}" />
|
|
<hbox>
|
|
|
|
|
|
<combobox id="cmbEstadoImposto"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
width="70%" model="@{winEditarEmpresa$composer.lsEstados}"
|
|
selectedItem="@{winEditarPuntoVenta$composer.empresa.cidade.estado}" />
|
|
|
|
<button id="btnAdicionarEstadoImposto"
|
|
height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
|
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="empresaImpostoList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader id="lhEstadoEmpresa"
|
|
image="/gui/img/create_doc.gif"
|
|
label="${c:l('editarEmpresaController.estado.label')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
|
|
|
|
<tabpanel id="tbInscEstadual" height="80%">
|
|
<toolbar>
|
|
<button id="btnAdicionarInscEstadual" height="20" image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarUsuarioController.btnAdicionarInscEstadual.tooltiptext')}"/>
|
|
<button id="btnRemoverInscEstadual" height="20" image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarUsuarioController.btnRemover.tooltiptext')}"/>
|
|
</toolbar>
|
|
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.estado.label')}" />
|
|
<combobox id="cmbEstadoInscEstadual"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true" width="70%"
|
|
model="@{winEditarEmpresa$composer.lsTodosEstados}"/>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarEmpresaController.inscricaoestadual.label')}"/>
|
|
<textbox id="txtInscEstadual" width="98%"
|
|
maxlength="20"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.cidade.label')}" />
|
|
<combobox id="cmbInscEstCidade" width="70%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
|
selectedItem="@{winEditarPuntoVenta$composer.empresa.cidade}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.cnpj.label')}" />
|
|
<textbox id="txtInscEstCNPJ" width="100px"
|
|
maxlength="18"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.logradouro.label')}" />
|
|
<textbox id="txtInscEstLogradouro" width="98%"
|
|
maxlength="256"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.numero.label')}" />
|
|
<textbox id="txtInscEstNumero" width="30%"
|
|
maxlength="6"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.complemento.label')}" />
|
|
<textbox id="txtInscEstComplemento" width="30%"
|
|
maxlength="10"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.cep.label')}" />
|
|
<textbox id="txtInscEstCEP" width="50%"
|
|
maxlength="11"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarEmpresaController.bairro.label')}" />
|
|
<textbox id="txtInscEstBairro" width="98%"
|
|
maxlength="256"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<listbox id="inscEstadualList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
multiple="false" height="170px">
|
|
<listhead sizable="true">
|
|
<listheader id="lhUFInscEstadual" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.lhUFInscEstadual.label')}"/>
|
|
<listheader id="lhInscEstadual" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscricaoestadual.label')}"/>
|
|
|
|
<listheader id="lhInscEstCiudad" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstCiudad.label')}"/>
|
|
<listheader id="lhInscEstCnpj" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstCnpj.label')}"/>
|
|
<listheader id="lhInscEstLogradouro" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstLogradouro.label')}"/>
|
|
<listheader id="lhInscEstNumero" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstNumero.label')}"/>
|
|
<listheader id="lhInscEstComplemento" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstCompl.label')}"/>
|
|
<listheader id="lhInscEstCep" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstCep.label')}"/>
|
|
<listheader id="lhInscEstBairro" image="/gui/img/create_doc.gif" width="114px"
|
|
label="${c:l('editarEmpresaController.inscEstBairro.label')}"/>
|
|
|
|
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<!-- Contas Bancárias -->
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label value="${c:l('editarEmpresaController.contaBancaria.instiFinanceira')}" />
|
|
<hbox>
|
|
<h:table border="none">
|
|
<h:tr>
|
|
<h:td>
|
|
<combobox id="cmbBanco"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
width="60%" mold="rounded" buttonVisible="true"
|
|
model="@{winEditarEmpresa$composer.lsBanco}" />
|
|
</h:td>
|
|
<h:td>
|
|
<textbox id="txtNomeBanco" width="215px" disabled="true" />
|
|
</h:td>
|
|
</h:tr>
|
|
</h:table>
|
|
</hbox>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarEmpresaController.contaBancaria.conta')}"/>
|
|
<textbox id="txtNumConta" maxlength="12" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarEmpresaController.contaBancaria.agencia')}"/>
|
|
<textbox id="txtNumAgencia" maxlength="12" use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
|
</row>
|
|
<row>
|
|
<label value=" " />
|
|
<hbox>
|
|
<button id="btnAdicionarContaBancaria" height="20" image="/gui/img/add.png" width="35px" tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
|
<button id="btnRemoverContaBancaria" height="20" image="/gui/img/remove.png" width="35px" tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<listbox id="empresaContaBancariaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" vflex="true" multiple="false">
|
|
<listhead sizable="true">
|
|
<listheader image="/gui/img/create_doc.gif" label="${c:l('editarEmpresaController.contaBancaria.instiFinanceira')}" />
|
|
<listheader image="/gui/img/create_doc.gif" label="${c:l('editarEmpresaController.contaBancaria.conta')}" />
|
|
<listheader image="/gui/img/create_doc.gif" label="${c:l('editarEmpresaController.contaBancaria.agencia')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|