fixes bug 7125
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@53012 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
053c0cc3e9
commit
27858393f5
|
@ -290,13 +290,21 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
comEmpCategoriaList.setItemRenderer(new RenderComEmpCategoria());
|
comEmpCategoriaList.setItemRenderer(new RenderComEmpCategoria());
|
||||||
|
if(empresa.getComEmpCategorias() != null) {
|
||||||
comEmpCategoriaList.setData(empresa.getComEmpCategorias());
|
comEmpCategoriaList.setData(empresa.getComEmpCategorias());
|
||||||
|
}
|
||||||
|
|
||||||
comEmpFormapagoList.setItemRenderer(new RenderComEmpFormapago());
|
comEmpFormapagoList.setItemRenderer(new RenderComEmpFormapago());
|
||||||
|
|
||||||
|
if(empresa.getComEmpFormapagos() != null) {
|
||||||
comEmpFormapagoList.setData(empresa.getComEmpFormapagos());
|
comEmpFormapagoList.setData(empresa.getComEmpFormapagos());
|
||||||
|
}
|
||||||
|
|
||||||
comEmpTipoEventoExtraList.setItemRenderer(new RenderComEmpTipoEventoExtra());
|
comEmpTipoEventoExtraList.setItemRenderer(new RenderComEmpTipoEventoExtra());
|
||||||
|
|
||||||
|
if(empresa.getComEmpTipoEventoExtras() != null) {
|
||||||
comEmpTipoEventoExtraList.setData(empresa.getComEmpTipoEventoExtras());
|
comEmpTipoEventoExtraList.setData(empresa.getComEmpTipoEventoExtras());
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -848,8 +848,10 @@ editarEmpresaController.btnRemoverComissaoTipoEventoExtra.tooltiptext = Remover
|
||||||
|
|
||||||
#Empresa impuesto
|
#Empresa impuesto
|
||||||
editarEmpresaImpostoController.window.title = Configuración de impuesto por empresa/estado
|
editarEmpresaImpostoController.window.title = Configuración de impuesto por empresa/estado
|
||||||
editarEmpresaImpostoController.labelIcms.value = ICMS
|
editarEmpresaImpostoController.labelIcms.value = ICMS Interestadual
|
||||||
editarEmpresaImpostoController.labelIndIcms.value=Ind. ECF
|
editarEmpresaImpostoController.labelIndIcms.value=Ind. ECF Interestadual
|
||||||
|
editarEmpresaImpostoController.labelIcmsMunicipal.value = ICMS Intermunicipal
|
||||||
|
editarEmpresaImpostoController.labelIndIcmsMunicipal.value = Ind. ECF Intermunicipal
|
||||||
editarEmpresaImpostoController.labelRedMunicial.value = Reductor ICMS intermunicipal
|
editarEmpresaImpostoController.labelRedMunicial.value = Reductor ICMS intermunicipal
|
||||||
editarEmpresaImpostoController.labelRedEstadual.value = Reductor ICMS interestadual
|
editarEmpresaImpostoController.labelRedEstadual.value = Reductor ICMS interestadual
|
||||||
editarEmpresaImpostoController.labelRedIcms.value = Reductor base de cálculo ICMS
|
editarEmpresaImpostoController.labelRedIcms.value = Reductor base de cálculo ICMS
|
||||||
|
|
|
@ -887,8 +887,10 @@ editarEmpresaController.btnRemoverComissaoTipoEventoExtra.tooltiptext = Remover
|
||||||
|
|
||||||
#Empresa Imposto
|
#Empresa Imposto
|
||||||
editarEmpresaImpostoController.window.title = Configuração de Imposto por Empresa/Estado
|
editarEmpresaImpostoController.window.title = Configuração de Imposto por Empresa/Estado
|
||||||
editarEmpresaImpostoController.labelIcms.value = ICMS
|
editarEmpresaImpostoController.labelIcms.value = ICMS Interestadual
|
||||||
editarEmpresaImpostoController.labelIndIcms.value=Ind. ECF
|
editarEmpresaImpostoController.labelIndIcms.value = Ind. ECF Interestadual
|
||||||
|
editarEmpresaImpostoController.labelIcmsMunicipal.value = ICMS Intermunicipal
|
||||||
|
editarEmpresaImpostoController.labelIndIcmsMunicipal.value = Ind. ECF Intermunicipal
|
||||||
editarEmpresaImpostoController.labelRedMunicial.value = Redutor ICMS Intermunicipal
|
editarEmpresaImpostoController.labelRedMunicial.value = Redutor ICMS Intermunicipal
|
||||||
editarEmpresaImpostoController.labelRedEstadual.value = Redutor ICMS Interestadual
|
editarEmpresaImpostoController.labelRedEstadual.value = Redutor ICMS Interestadual
|
||||||
editarEmpresaImpostoController.labelRedIcms.value = Redutor Base de Cálculo ICMS
|
editarEmpresaImpostoController.labelRedIcms.value = Redutor Base de Cálculo ICMS
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winEditarEmpresaImposto" border="normal"
|
<window id="winEditarEmpresaImposto" border="normal"
|
||||||
apply="${editarEmpresaImpostoController}" width="500px"
|
apply="${editarEmpresaImpostoController}" width="850px"
|
||||||
contentStyle="overflow:auto"
|
contentStyle="overflow:auto"
|
||||||
title="${c:l('editarEmpresaImpostoController.window.title')}">
|
title="${c:l('editarEmpresaImpostoController.window.title')}">
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
||||||
</caption>
|
</caption>
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
|
<column width="15%" />
|
||||||
|
<column width="15%" />
|
||||||
<column width="15%" />
|
<column width="15%" />
|
||||||
<column width="15%" />
|
<column width="15%" />
|
||||||
<column width="19%" />
|
<column width="19%" />
|
||||||
|
@ -45,18 +47,14 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label value="${c:l('editarEmpresaImpostoController.labelIcms.value')}" />
|
||||||
value="${c:l('editarEmpresaImpostoController.labelIcms.value')}" />
|
<label value="${c:l('editarEmpresaImpostoController.labelIndIcms.value')}" />
|
||||||
<label
|
<label value="${c:l('editarEmpresaImpostoController.labelIcmsMunicipal.value')}" />
|
||||||
value="${c:l('editarEmpresaImpostoController.labelIndIcms.value')}" />
|
<label value="${c:l('editarEmpresaImpostoController.labelIndIcmsMunicipal.value')}" />
|
||||||
<label
|
<label value="${c:l('editarEmpresaImpostoController.labelRedMunicial.value')}" />
|
||||||
value="${c:l('editarEmpresaImpostoController.labelRedMunicial.value')}" />
|
<label value="${c:l('editarEmpresaImpostoController.labelRedEstadual.value')}" />
|
||||||
<label
|
<label value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
|
||||||
value="${c:l('editarEmpresaImpostoController.labelRedEstadual.value')}" />
|
<label value="${c:l('editarEmpresaImpostoController.labelPorctributo.value')}" />
|
||||||
<label
|
|
||||||
value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
|
|
||||||
<label
|
|
||||||
value="${c:l('editarEmpresaImpostoController.labelPorctributo.value')}" />
|
|
||||||
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
|
@ -65,8 +63,13 @@
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
constraint="no empty"
|
constraint="no empty"
|
||||||
value="@{winEditarEmpresaImposto$composer.empresaImposto.icms,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
value="@{winEditarEmpresaImposto$composer.empresaImposto.icms,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
||||||
<intbox id="txtIndIcms" width="50px"
|
<intbox id="txtIndIcms" width="50px" maxlength="2" value="@{winEditarEmpresaImposto$composer.empresaImposto.indiceICMSecf}" />
|
||||||
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="txtPorCredMunicipal" width="50px"
|
<textbox id="txtPorCredMunicipal" width="50px"
|
||||||
precision="7" scale="2"
|
precision="7" scale="2"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
|
|
Loading…
Reference in New Issue