195 lines
7.1 KiB
XML
195 lines
7.1 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"
|
|
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')}" />
|
|
</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 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>
|
|
</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.lsEstados}"
|
|
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>
|
|
</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>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|