AdmMono/web/gui/catalogos/editarEmpresaImposto.zul

540 lines
20 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="winEditarEmpresaImposto"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarEmpresaImposto" border="normal"
apply="${editarEmpresaImpostoController}" width="820px"
contentStyle="overflow:auto"
title="${c:l('editarEmpresaImpostoController.window.title')}">
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
<button id="btnEmpresaImpostoApagar" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarEmpresaImpostoController.btnApagar.tooltiptext')}" />
<button id="btnEmpresaImpostoSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarEmpresaImpostoController.btnSalvar.tooltiptext')}" />
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarEmpresaImposto.detach()"
tooltiptext="${c:l('editarEmpresaImpostoController.btnFechar.tooltiptext')}" />
</hbox>
</toolbar>
<groupbox width="97%">
<caption sclass="block">
<div sclass="folder">
<label
value="${c:l('editarEmpresaImpostoController.lblValores.value')}" />
</div>
</caption>
<grid fixedLayout="true">
<columns>
<column width="22%" />
<column width="13%" />
<column width="13%" />
<column width="13%" />
<column width="13%" />
<column width="13%" />
<column width="13%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarEmpresaImpostoController.lblValidaAliquotaECF.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIcms.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIndIcms.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIcmsMunicipal.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIndIcmsMunicipal.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIcmsMunicipalMatricial.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIcmsEstadualMatricial.value')}" />
</row>
<row>
<checkbox id="chkIndValidaECF" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indValidaECF}" />
<textbox id="txtIcms" width="50px" precision="7"
scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
constraint="no empty"
value="@{winEditarEmpresaImposto$composer.empresaImposto.icms,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<intbox id="txtIndIcms" width="50px"
maxlength="2"
value="@{winEditarEmpresaImposto$composer.empresaImposto.indiceICMSecf}" />
<textbox id="txtIcmsIntermunicipal" width="50px"
precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
constraint="no empty"
value="@{winEditarEmpresaImposto$composer.empresaImposto.icmsIntermunicipal,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<intbox id="txtIndIcmsIntermunicipal"
maxlength="2" width="50px"
value="@{winEditarEmpresaImposto$composer.empresaImposto.indiceICMSIntermunicipal}" />
<textbox id="txtIcmsIntermunicipalMatricial"
width="50px" precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.icmsIntermunicipalMatricial,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<textbox id="txtIcmsInterestadualMatricial"
width="50px" precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.icmsMatricial,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
</row>
<row>
<label
value="${c:l('editarEmpresaImpostoController.lblPossuiRedBaseCalculo.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelRedIcmsIM.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.lblOutrosIsento.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.lblOutrasUFBloqueadas.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.bpe.value')}" />
<label
value="${c:l('editarEmpresaImpostoController.labelIndAliquotaBPeUfDestino.value')}" />
</row>
<row>
<checkbox id="chkIndRedutorBaseIcmsBPe"
width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indRedutorBaseIcmsBPe}" />
<textbox id="txtPorCredBaseIcms" width="50px"
precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.porCredBaseIcms,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<textbox id="txtPorCredBaseIcmsIM" width="50px"
precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.porcRedBaseIcmsIM,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<checkbox id="chkIndOutrosIsento" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indOutrosIsento}" />
<checkbox id="chkIndOutrasUF" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indOutrasUFBloqueadas}" />
<checkbox id="chkBPe" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.isBPe}" />
<checkbox id="chkIndAliquotaBPeUfDestino"
width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indAliquotaBPeUfDestino}" />
</row>
</rows>
</grid>
</groupbox>
<grid fixedLayout="true">
<columns>
<column width="50%" />
<column width="50%" />
</columns>
<rows>
<row>
<groupbox width="97%">
<caption sclass="block">
<div sclass="folder">
<label
value="${c:l('editarEmpresaImpostoController.lblImportacao.value')}" />
</div>
</caption>
<grid fixedLayout="true">
<columns>
<column width="33%" />
<column width="33%" />
<column width="34%" />
</columns>
<rows>
<row>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.codEstabelecimento.value')}" />
<textbox
id="txtCodEstabelecimento" width="100px" maxlength="4"
value="@{winEditarEmpresaImposto$composer.empresaImposto.codEstabelecimento}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</cell>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.codigoContabilMunicipal.value')}" />
<textbox
id="txtCodigoContabilMunicipal" width="120px" maxlength="15"
value="@{winEditarEmpresaImposto$composer.empresaImposto.codigoContabilMunicipal}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</cell>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.codigoContabilEstadual.value')}" />
<textbox
id="txtCodigoContabilEstadual" width="120px" maxlength="15"
value="@{winEditarEmpresaImposto$composer.empresaImposto.codigoContabilEstadual}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</cell>
</row>
</rows>
</grid>
</groupbox>
<groupbox width="97%">
<caption sclass="block">
<div sclass="folder">
<label
value="${c:l('editarEmpresaImpostoController.infComplementar.value')}" />
</div>
</caption>
<grid fixedLayout="true">
<columns>
<column width="50%" />
<column width="50%" />
</columns>
<rows>
<row spans="2">
<!-- <hlayout spacing="2%" style="margin-left: 5%;"> -->
<cell>
<grid fixedLayout="true">
<columns>
<column width="50%" />
<column width="50%" />
</columns>
<rows>
<row>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.labelPorctributo.value')}" />
<textbox
id="txtTributo" width="50px" precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.porctributo,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
</cell>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.labelPorcFECP.value')}" />
<textbox
id="txtFECP" width="50px" precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.porcFECP,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<!-- </hlayout> -->
</cell>
</row>
</rows>
</grid>
</cell>
</row>
</rows>
</grid>
</groupbox>
</row>
</rows>
</grid>
<grid fixedLayout="true">
<columns>
<column width="50%" />
<column width="50%" />
</columns>
<rows>
<row>
<groupbox width="97%">
<caption sclass="block">
<div sclass="folder">
<label
value="${c:l('editarEmpresaImpostoController.lblBasedeCalculo.value')}">
</label>
</div>
</caption>
<grid fixedLayout="true">
<columns>
<column width="25%" />
<column width="25%" />
<column width="25%" />
<column width="25%" />
<column width="25%" />
</columns>
<rows>
<row>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.labelTributacaoImportacao.value')}" />
<textbox
id="txtTributacaoImportacaoIM" width="50px" precision="5"
scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.tributacaoImportacaoIM,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
</cell>
<cell>
<checkbox
id="chkIndTarifaMunicipal" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTarifaMunicipal}" />
<label
value="${c:l('editarEmpresaImpostoController.lblTarifa.value')}" />
</cell>
<cell>
<checkbox
id="chkIndSeguroMunicipal" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indSeguroMunicipal}" />
<label
value="${c:l('editarEmpresaImpostoController.lblSeguro.value')}" />
</cell>
<cell>
<checkbox
id="chkIndTxEmbarqueMunicipal" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTxEmbarqueMunicipal}" />
<label
value="${c:l('editarEmpresaImpostoController.lblTxEmbarque.value')}" />
</cell>
<cell>
<checkbox
id="chkIndPedagioMunicipal" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indPedagioMunicipal}" />
<label
value="${c:l('editarEmpresaImpostoController.lblPedagio.value')}" />
</cell>
</row>
</rows>
</grid>
</groupbox>
<groupbox width="97%">
<caption sclass="block">
<div sclass="folder">
<label
value="${c:l('editarEmpresaImpostoController.lblBasedeCalculoInterestadual.value')}">
</label>
</div>
</caption>
<grid fixedLayout="true">
<columns>
<column width="25%" />
<column width="25%" />
<column width="25%" />
<column width="25%" />
<column width="25%" />
</columns>
<rows>
<row>
<cell>
<label
value="${c:l('editarEmpresaImpostoController.labelTributacaoImportacao.value')}" />
<textbox
id="txtTributacaoImportacaoIE" width="50px" precision="5"
scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
value="@{winEditarEmpresaImposto$composer.empresaImposto.tributacaoImportacao,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
</cell>
<cell>
<checkbox
id="chkIndTarifaEstadual" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTarifaEstadual}" />
<label
value="${c:l('editarEmpresaImpostoController.lblTarifa.value')}" />
</cell>
<cell>
<checkbox
id="chkIndSeguroEstadual" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indSeguroEstadual}" />
<label
value="${c:l('editarEmpresaImpostoController.lblSeguro.value')}" />
</cell>
<cell>
<checkbox
id="chkIndTxEmbarqueEstadual" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indTxEmbarqueEstadual}" />
<label
value="${c:l('editarEmpresaImpostoController.lblTxEmbarque.value')}" />
</cell>
<cell>
<checkbox
id="chkIndPedadioEstdual" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indPedadioEstdual}" />
<label
value="${c:l('editarEmpresaImpostoController.lblPedagio.value')}" />
</cell>
</row>
</rows>
</grid>
</groupbox>
</row>
</rows>
</grid>
<grid fixedLayout="true">
<columns>
<column width="100%" />
</columns>
<rows>
<row>
<hbox>
<label
value="${c:l('editarEmpresaController.labelEstadoUFDestino.value')}" />
<combobox id="cmbEstadoAliquotaEstadoDestino"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarEmpresaImposto$composer.lsEstadosAliquotaEstadoDestino}"
selectedItem="@{winEditarEmpresaImposto$composer.selectedEstadoAliquotaEstadoDestino}" />
<!-- constraint="no empty" -->
<textbox id="txtAliquotaEstadoDestino" width="50px"
precision="7" scale="2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
constraint="no empty"
value="@{winEditarEmpresaImposto$composer.aliquotaDest,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
<label value="%"/>
<button
id="btnAdicionarAliquotaEstadoDest" height="20"
image="/gui/img/add.png" width="35px"/>
<button
id="btnRemoverAliquotaEstadoDest" height="20"
image="/gui/img/remove.png" width="35px"/>
</hbox>
</row>
<row>
<grid fixedLayout="true">
<columns>
<column width="100%" />
</columns>
<rows>
<row>
<hbox>
<listbox id="aliquotaEstadoDestinoList"
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.labelEstado.value')}" />
<listheader
label="${c:l('editarEmpresaImpostoController.labelAliquota.value')}" />
</listhead>
</listbox>
</hbox>
</row>
</rows>
</grid>
</row>
</rows>
</grid>
<groupbox width="97%">
<caption sclass="block">
<div sclass="folder">
<label
value="${c:l('editarEmpresaImpostoController.lblAltaTemporada.value')}">
</label>
</div>
</caption>
<grid fixedLayout="true">
<columns>
<column width="25%" />
<column width="25%" />
<column width="25%" />
<column width="25%" />
</columns>
<rows>
<row>
<cell>
<checkbox id="chkIndJaneiro" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indJaneiro}" />
<label
value="${c:l('editarEmpresaImpostoController.lblJaneiro.value')}" />
</cell>
<cell>
<checkbox id="chkIndFevereiro" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indFevereiro}" />
<label
value="${c:l('editarEmpresaImpostoController.lblFevereiro.value')}" />
</cell>
<cell>
<checkbox id="chkIndMarco" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indMarco}" />
<label
value="${c:l('editarEmpresaImpostoController.lblMarco.value')}" />
</cell>
<cell>
<checkbox id="chkIndAbril" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indAbril}" />
<label
value="${c:l('editarEmpresaImpostoController.lblAbril.value')}" />
</cell>
</row>
<row>
<cell>
<checkbox id="chkIndMaio" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indMaio}" />
<label
value="${c:l('editarEmpresaImpostoController.lblMaio.value')}" />
</cell>
<cell>
<checkbox id="chkIndJunho" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indJunho}" />
<label
value="${c:l('editarEmpresaImpostoController.lblJunho.value')}" />
</cell>
<cell>
<checkbox id="chkIndJulho" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indJulho}" />
<label
value="${c:l('editarEmpresaImpostoController.lblJulho.value')}" />
</cell>
<cell>
<checkbox id="chkIndAgosto" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indAgosto}" />
<label
value="${c:l('editarEmpresaImpostoController.lblAgosto.value')}" />
</cell>
</row>
<row>
<cell>
<checkbox id="chkIndSetembro" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indSetembro}" />
<label
value="${c:l('editarEmpresaImpostoController.lblSetembro.value')}" />
</cell>
<cell>
<checkbox id="chkIndOutubro" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indOutubro}" />
<label
value="${c:l('editarEmpresaImpostoController.lblOutubro.value')}" />
</cell>
<cell>
<checkbox id="chkIndNovembro" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indNovembro}" />
<label
value="${c:l('editarEmpresaImpostoController.lblNovembro.value')}" />
</cell>
<cell>
<checkbox id="chkIndDezembro" width="50px"
checked="@{winEditarEmpresaImposto$composer.empresaImposto.indDezembro}" />
<label
value="${c:l('editarEmpresaImpostoController.lblDezembro.value')}" />
</cell>
</row>
</rows>
</grid>
</groupbox>
</window>
</zk>