0015249: Campo Imposto Obrigatório
0015219: LEI Nº 8.405 / Rio de Janeiro - Fundo de combate a pobreza bug#15219 bug#15249 dev:leonardo qua:junea git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@97769 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c822cd4c6d
commit
c177d25c1b
|
@ -79,6 +79,14 @@ public class EditarEmpresaImpostoController extends MyGenericForwardComposer {
|
|||
empresaImposto.setIndTribEmissao(radTribEmissao.isChecked());
|
||||
empresaImposto.setIndTribViagem(radTribViagem.isChecked());
|
||||
|
||||
if(empresaImposto.getPorctributo() == null) {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarEmpresaImpostoController.window.obrigatorioOutrosTributos"),
|
||||
Labels.getLabel("editarEmpresaController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
return;
|
||||
}
|
||||
|
||||
setarValoreZero();
|
||||
|
||||
empresaImpostoService.actualizacion(this.empresaImposto);
|
||||
|
@ -116,10 +124,6 @@ public class EditarEmpresaImpostoController extends MyGenericForwardComposer {
|
|||
empresaImposto.setPorcRedBaseIcmsIM(BigDecimal.ZERO);
|
||||
}
|
||||
|
||||
if(empresaImposto.getPorctributo() == null) {
|
||||
empresaImposto.setPorctributo(BigDecimal.ZERO);
|
||||
}
|
||||
|
||||
if(empresaImposto.getIcms() == null) {
|
||||
empresaImposto.setIcms(BigDecimal.ZERO);
|
||||
}
|
||||
|
|
|
@ -1551,7 +1551,8 @@ editarEmpresaImpostoController.labelRedMunicial.value = Redutor ICMS Intermunici
|
|||
editarEmpresaImpostoController.labelRedEstadual.value = Redutor ICMS Interestadual
|
||||
editarEmpresaImpostoController.labelRedIcms.value = Redutor Base de Cálculo ICMS Interestadual
|
||||
editarEmpresaImpostoController.labelRedIcmsIM.value = Redutor Base de Cálculo ICMS Intermunicipal
|
||||
editarEmpresaImpostoController.labelPorctributo.value = % Tributo
|
||||
editarEmpresaImpostoController.labelPorctributo.value = Demais Tributos %
|
||||
editarEmpresaImpostoController.labelPorcFECP.value= FECP %
|
||||
editarEmpresaImpostoController.labelTributacaoImportacao.value = Tributação Importação BPe
|
||||
editarEmpresaImpostoController.codEstabelecimento.value = Código Estabelecimento
|
||||
editarEmpresaImpostoController.codigoContabilMunicipal.value = Código Contabil Municipal
|
||||
|
@ -1564,9 +1565,11 @@ editarEmpresaImpostoController.lblValores.value = Valores
|
|||
editarEmpresaImpostoController.lblBasedeCalculo.value = Base de Cálculo ICMS Intermunicipal
|
||||
editarEmpresaImpostoController.lblBasedeCalculoInterestadual.value = Base de Cálculo ICMS Interestadual
|
||||
editarEmpresaImpostoController.lblImportacao.value = Importação
|
||||
editarEmpresaImpostoController.infComplementar.value=Inf. Complementar
|
||||
|
||||
editarEmpresaImpostoController.window.sucessoApagar=Configuração de imposto apagada com sucesso!
|
||||
editarEmpresaImpostoController.window.sucessoSalvar=Configuração de imposto salva com sucesso!
|
||||
editarEmpresaImpostoController.window.obrigatorioOutrosTributos=É obrigatório o preenchimento do campo Demais Tributos.
|
||||
|
||||
editarEmpresaImpostoController.lblTarifa.value = Tarifa
|
||||
editarEmpresaImpostoController.lblSeguro.value = Seguro
|
||||
|
|
|
@ -86,7 +86,6 @@
|
|||
<label value="${c:l('editarEmpresaImpostoController.labelRedEstadual.value')}" />
|
||||
<label value="${c:l('editarEmpresaImpostoController.labelRedIcms.value')}" />
|
||||
<label value="${c:l('editarEmpresaImpostoController.labelRedIcmsIM.value')}" />
|
||||
<label value="${c:l('editarEmpresaImpostoController.labelPorctributo.value')}" />
|
||||
</row>
|
||||
<row>
|
||||
<checkbox id="chkIndRedutorBaseIcmsBPe" width="50px"
|
||||
|
@ -107,10 +106,37 @@
|
|||
precision="7" scale="2"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||
value="@{winEditarEmpresaImposto$composer.empresaImposto.porcRedBaseIcmsIM,converter=com.rjconsultores.ventaboletos.web.utilerias.StringPercentToDecimalConverter}" />
|
||||
<textbox id="txtTributo" width="50px"
|
||||
</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 />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<hlayout spacing="2%" style="margin-left: 5%;">
|
||||
<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}" />
|
||||
|
||||
<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>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
|
Loading…
Reference in New Issue