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
|
@ -192,7 +192,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
lsCategorias = categoriaService.obtenerTodasCategoriasVisibles();
|
||||
lsFormaPagos = formaPagoService.obtenerTodos();
|
||||
lsTipoEventoExtras = tipoEventoExtraService.obtenerTodos();
|
||||
|
||||
|
||||
empresa = (Empresa) Executions.getCurrent().getArg().get("empresa");
|
||||
empresaList = (MyListbox) Executions.getCurrent().getArg().get("empresaList");
|
||||
|
||||
|
@ -290,13 +290,21 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
comEmpCategoriaList.setItemRenderer(new RenderComEmpCategoria());
|
||||
comEmpCategoriaList.setData(empresa.getComEmpCategorias());
|
||||
|
||||
if(empresa.getComEmpCategorias() != null) {
|
||||
comEmpCategoriaList.setData(empresa.getComEmpCategorias());
|
||||
}
|
||||
|
||||
comEmpFormapagoList.setItemRenderer(new RenderComEmpFormapago());
|
||||
comEmpFormapagoList.setData(empresa.getComEmpFormapagos());
|
||||
|
||||
if(empresa.getComEmpFormapagos() != null) {
|
||||
comEmpFormapagoList.setData(empresa.getComEmpFormapagos());
|
||||
}
|
||||
|
||||
comEmpTipoEventoExtraList.setItemRenderer(new RenderComEmpTipoEventoExtra());
|
||||
comEmpTipoEventoExtraList.setData(empresa.getComEmpTipoEventoExtras());
|
||||
|
||||
if(empresa.getComEmpTipoEventoExtras() != null) {
|
||||
comEmpTipoEventoExtraList.setData(empresa.getComEmpTipoEventoExtras());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -848,8 +848,10 @@ editarEmpresaController.btnRemoverComissaoTipoEventoExtra.tooltiptext = Remover
|
|||
|
||||
#Empresa impuesto
|
||||
editarEmpresaImpostoController.window.title = Configuración de impuesto por empresa/estado
|
||||
editarEmpresaImpostoController.labelIcms.value = ICMS
|
||||
editarEmpresaImpostoController.labelIndIcms.value=Ind. ECF
|
||||
editarEmpresaImpostoController.labelIcms.value = ICMS Interestadual
|
||||
editarEmpresaImpostoController.labelIndIcms.value=Ind. ECF Interestadual
|
||||
editarEmpresaImpostoController.labelIcmsMunicipal.value = ICMS Intermunicipal
|
||||
editarEmpresaImpostoController.labelIndIcmsMunicipal.value = Ind. ECF Intermunicipal
|
||||
editarEmpresaImpostoController.labelRedMunicial.value = Reductor ICMS intermunicipal
|
||||
editarEmpresaImpostoController.labelRedEstadual.value = Reductor ICMS interestadual
|
||||
editarEmpresaImpostoController.labelRedIcms.value = Reductor base de cálculo ICMS
|
||||
|
|
|
@ -887,11 +887,13 @@ editarEmpresaController.btnRemoverComissaoTipoEventoExtra.tooltiptext = Remover
|
|||
|
||||
#Empresa Imposto
|
||||
editarEmpresaImpostoController.window.title = Configuração de Imposto por Empresa/Estado
|
||||
editarEmpresaImpostoController.labelIcms.value = ICMS
|
||||
editarEmpresaImpostoController.labelIndIcms.value=Ind. ECF
|
||||
editarEmpresaImpostoController.labelIcms.value = ICMS Interestadual
|
||||
editarEmpresaImpostoController.labelIndIcms.value = Ind. ECF Interestadual
|
||||
editarEmpresaImpostoController.labelIcmsMunicipal.value = ICMS Intermunicipal
|
||||
editarEmpresaImpostoController.labelIndIcmsMunicipal.value = Ind. ECF Intermunicipal
|
||||
editarEmpresaImpostoController.labelRedMunicial.value = Redutor ICMS Intermunicipal
|
||||
editarEmpresaImpostoController.labelRedEstadual.value = Redutor ICMS Interestadual
|
||||
editarEmpresaImpostoController.labelRedIcms.value = Redutor Base de Cálculo ICMS
|
||||
editarEmpresaImpostoController.labelRedIcms.value = Redutor Base de Cálculo ICMS
|
||||
editarEmpresaImpostoController.labelPorctributo.value = % Tributo
|
||||
editarEmpresaImpostoController.btnApagar.tooltiptext = Eliminar
|
||||
editarEmpresaImpostoController.btnSalvar.tooltiptext = Salvar
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winEditarEmpresaImposto" border="normal"
|
||||
apply="${editarEmpresaImpostoController}" width="500px"
|
||||
apply="${editarEmpresaImpostoController}" width="850px"
|
||||
contentStyle="overflow:auto"
|
||||
title="${c:l('editarEmpresaImpostoController.window.title')}">
|
||||
|
||||
|
@ -35,6 +35,8 @@
|
|||
</caption>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="15%" />
|
||||
<column width="15%" />
|
||||
<column width="15%" />
|
||||
<column width="15%" />
|
||||
<column width="19%" />
|
||||
|
@ -45,18 +47,14 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.labelIcms.value')}" />
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.labelIndIcms.value')}" />
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.labelRedMunicial.value')}" />
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.labelRedEstadual.value')}" />
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.labelPorctributo.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.labelRedMunicial.value')}" />
|
||||
<label value="${c:l('editarEmpresaImpostoController.labelRedEstadual.value')}" />
|
||||
<label value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
|
||||
<label value="${c:l('editarEmpresaImpostoController.labelPorctributo.value')}" />
|
||||
|
||||
</row>
|
||||
<row>
|
||||
|
@ -65,8 +63,13 @@
|
|||
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"
|
||||
value="@{winEditarEmpresaImposto$composer.empresaImposto.indiceICMSecf}" />
|
||||
<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="txtPorCredMunicipal" width="50px"
|
||||
precision="7" scale="2"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||
|
|
Loading…
Reference in New Issue