fixes bug #9440
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@78501 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
054971050f
commit
8a80bdb1e6
|
@ -103,5 +103,6 @@
|
|||
<attribute name="owner.project.facets" value="java"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/GeneradorBoletosCNAB"/>
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
||||
|
|
3
.project
3
.project
|
@ -7,9 +7,10 @@
|
|||
<project>IntegracaoReceitaDespesa</project>
|
||||
<project>CustomAdmVenta</project>
|
||||
<project>WSAG</project>
|
||||
<project>modelWeb</project>
|
||||
<project>GeneradorBoletosCNAB</project>
|
||||
<project>WSTotvs</project>
|
||||
<project>Flyway</project>
|
||||
<project>modelWeb</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="ventaboletosadm">
|
||||
<wb-resource deploy-path="/" source-path="/web"/>
|
||||
<wb-resource deploy-path="/" source-path="/web" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/java"/>
|
||||
<dependent-module archiveName="modelWeb.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/modelWeb/modelWeb">
|
||||
<dependency-type>uses</dependency-type>
|
||||
|
@ -14,15 +14,18 @@
|
|||
<dependent-module archiveName="WSAG.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WSAG/WSAG">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="WSTotvs.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WSTotvs/WSTotvs">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="slf4j-log4j12-1.6.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/LibreriasAdmVenta/slf4j-log4j12-1.6.1.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="slf4j-api-1.6.1.jar" deploy-path="/WEB-INF/lib" handle="module:/classpath/lib/LibreriasAdmVenta/slf4j-api-1.6.1.jar">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="GeneradorBoletosCNAB.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/GeneradorBoletosCNAB/GeneradorBoletosCNAB">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="WSTotvs.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WSTotvs/WSTotvs">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="Flyway.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Flyway/Flyway">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
|
|
@ -151,6 +151,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private Combobox cmbInscEstCidade;
|
||||
private Textbox txtInscEstCNPJ;
|
||||
private Textbox txtEquivalenciaAG;
|
||||
private Checkbox chkBPe;
|
||||
private Checkbox chkIndgennumfoliovtaintimpost;
|
||||
|
||||
private List<Categoria> lsCategorias;
|
||||
|
@ -330,6 +331,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
new Listcell(inscricaoEstadual.getCep()).setParent(listItem);
|
||||
new Listcell(inscricaoEstadual.getBairro()).setParent(listItem);
|
||||
new Listcell(inscricaoEstadual.getEquivalenciaAG()).setParent(listItem);
|
||||
new Listcell(inscricaoEstadual.getIsBPe() ? "Sim" : "Não").setParent(listItem);
|
||||
|
||||
|
||||
listItem.setAttribute("data", inscricaoEstadual);
|
||||
|
@ -688,6 +690,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
Ciudad ciudad = (Ciudad)cmbInscEstCidade.getSelectedItem().getValue();
|
||||
String inscEstCNPJ = txtInscEstCNPJ.getValue();
|
||||
String equivalenciaAG = txtEquivalenciaAG.getValue();
|
||||
Boolean isBPe = chkBPe.isChecked();
|
||||
|
||||
|
||||
for (int i = 0; i < inscEstadualList.getModel().getSize(); i++) {
|
||||
|
@ -703,6 +706,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
InscricaoEstadual nuevaInscEstadual = new InscricaoEstadual(inscEstadual, empresa, estado, UsuarioLogado.getUsuarioLogado().getUsuarioId(),
|
||||
inscEstLogradouro, inscEstNumero, inscEstComplemento, inscEstCEP, inscEstBairro, ciudad, inscEstCNPJ);
|
||||
nuevaInscEstadual.setEquivalenciaAG(equivalenciaAG);
|
||||
nuevaInscEstadual.setIsBPe(isBPe);
|
||||
empresaService.actualizaInscEstadual(nuevaInscEstadual);
|
||||
empresa.getInscricoesEstaduais().add(nuevaInscEstadual);
|
||||
|
||||
|
@ -1256,6 +1260,13 @@ public void onClick$btnAdicionarComissaoCategoria(Event ev) throws InterruptedEx
|
|||
this.utilizaProjetoFidelidadeSim = utilizaProjetoFidelidadeSim;
|
||||
}
|
||||
|
||||
public Checkbox getChkBPe() {
|
||||
return chkBPe;
|
||||
}
|
||||
|
||||
public void setChkBPe(Checkbox chkBPe) {
|
||||
this.chkBPe = chkBPe;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -574,7 +574,7 @@ public class EditarEstacionController extends MyGenericForwardComposer {
|
|||
} else if (valor.equals(STOCK_CENTRAL)){
|
||||
return 6;
|
||||
} else if (valor.equals(BPE)){
|
||||
return 6;
|
||||
return 7;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@ public class RenderEstacionImpresora implements ListitemRenderer {
|
|||
private static final String DARUMA_FISCAL_BLINDADA = Labels.getLabel("editarEstacionController.tipoImpressora.darumaFiscalBlindada");
|
||||
private static final String CENTRAL_EMISSAO = Labels.getLabel("editarEstacionController.tipoImpressora.centralEmissao");
|
||||
private static final String STOCK_CENTRAL = Labels.getLabel("editarEstacionController.tipoImpressora.stockCentral");
|
||||
private static final String BPE = Labels.getLabel("editarEstacionController.tipoImpressora.bpe");
|
||||
|
||||
public void render(Listitem lstm, Object o) throws Exception {
|
||||
EstacionImpresora estacionImpresora = (EstacionImpresora) o;
|
||||
|
@ -56,7 +57,9 @@ public class RenderEstacionImpresora implements ListitemRenderer {
|
|||
return CENTRAL_EMISSAO;
|
||||
} else if (estacionImpresora.getTipoImpressora() == 6) {
|
||||
return STOCK_CENTRAL;
|
||||
}
|
||||
} else if (estacionImpresora.getTipoImpressora() == 7) {
|
||||
return BPE;
|
||||
}
|
||||
return MATRICIAL;
|
||||
}
|
||||
|
||||
|
|
|
@ -1107,6 +1107,7 @@ editarEmpresaController.complemento.label = Complemento
|
|||
editarEmpresaController.cep.label = CEP
|
||||
editarEmpresaController.bairro.label = Barrio
|
||||
editarEmpresaController.equivalencia.label = Equivalencia AG
|
||||
editarEmpresaController.bpe.label = Habilitar BPe
|
||||
editarEmpresaController.cidade.label = Ciudad
|
||||
editarEmpresaController.estado.label = Estado
|
||||
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
||||
|
@ -1231,6 +1232,7 @@ editarEmpresaImpostoController.lblNovembro.value = Noviembre
|
|||
editarEmpresaImpostoController.lblDezembro.value = Deciembre
|
||||
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar otros como isento
|
||||
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueo de demás UF
|
||||
editarEmpresaImpostoController.bpe.value = Habilitar BPe
|
||||
|
||||
# Muestra o ponto de Búsqueda de venta
|
||||
busquedaPuntoVentaController.window.title = Punto de venta ( Agencia )
|
||||
|
|
|
@ -1210,6 +1210,7 @@ editarEmpresaController.complemento.label = Complemento
|
|||
editarEmpresaController.cep.label = CEP
|
||||
editarEmpresaController.bairro.label = Bairro
|
||||
editarEmpresaController.equivalencia.label = Equivalência AG
|
||||
editarEmpresaController.bpe.label = Habilitar BPe
|
||||
editarEmpresaController.cidade.label = Cidade
|
||||
editarEmpresaController.estado.label = Estado
|
||||
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
||||
|
@ -1348,6 +1349,7 @@ editarEmpresaImpostoController.lblNovembro.value = Novembro
|
|||
editarEmpresaImpostoController.lblDezembro.value = Dezembro
|
||||
editarEmpresaImpostoController.lblOutrosIsento.value = Tratar outros como isento
|
||||
editarEmpresaImpostoController.lblOutrasUFBloqueadas.value = Bloqueio de demais UF
|
||||
editarEmpresaImpostoController.bpe.value = Habilitar BPe
|
||||
|
||||
# Muestra o ponto de Pesquisa de Venda
|
||||
busquedaPuntoVentaController.window.title = Ponto de Venda ( Agência )
|
||||
|
|
|
@ -435,6 +435,11 @@
|
|||
width="98%" maxlength="20"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.bpe.label')}" />
|
||||
<checkbox id="chkBPe" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
|
@ -473,6 +478,9 @@
|
|||
<listheader id="lhInscEstEquivalenciaAG"
|
||||
image="/gui/img/create_doc.gif" width="114px"
|
||||
label="${c:l('editarEmpresaController.equivalencia.label')}" />
|
||||
<listheader id="lhInscEstBpe"
|
||||
image="/gui/img/create_doc.gif" width="114px"
|
||||
label="${c:l('editarEmpresaController.bpe.label')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
|
|
@ -370,6 +370,11 @@
|
|||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.lblOutrasUFBloqueadas.value')}" />
|
||||
|
||||
<checkbox id="chkBPe" width="50px"
|
||||
checked="@{winEditarEmpresaImposto$composer.empresaImposto.isBPe}" />
|
||||
<label
|
||||
value="${c:l('editarEmpresaImpostoController.bpe.value')}" />
|
||||
|
||||
|
||||
</window>
|
||||
</zk>
|
||||
|
|
Loading…
Reference in New Issue