diff --git a/src/com/rjconsultores/ventaboletos/entidad/PuntoVenta.java b/src/com/rjconsultores/ventaboletos/entidad/PuntoVenta.java index a41ad4979..d9534c3cd 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/PuntoVenta.java +++ b/src/com/rjconsultores/ventaboletos/entidad/PuntoVenta.java @@ -227,6 +227,12 @@ public class PuntoVenta implements Serializable { @Column(name = "MAXIMOTAXACONVENIENCIA") private Double maximoTaxaConveniencia; + @Column(name = "INDBLOQUEACANCTROCAPASSNORMAL") + private Boolean indBloqueaCancTrocaPassNormal; + + @Column(name = "INDBLOQUEACANCTROCAPTA") + private Boolean indBloqueaCancTrocaPTA; + public PtovtaEmpresaBloqueada addEmpresaBloqueada(Empresa e) { PtovtaEmpresaBloqueada eb = new PtovtaEmpresaBloqueada(); eb.setEmpresa(e); @@ -1025,4 +1031,20 @@ public class PuntoVenta implements Serializable { public void setTaxaConvenienciaPorc(BigDecimal taxaConvenienciaPorc) { this.taxaConvenienciaPorc = taxaConvenienciaPorc; } + + public Boolean getIndBloqueaCancTrocaPassNormal() { + return indBloqueaCancTrocaPassNormal; + } + + public void setIndBloqueaCancTrocaPassNormal(Boolean indBloqueaCancTrocaPassNormal) { + this.indBloqueaCancTrocaPassNormal = indBloqueaCancTrocaPassNormal; + } + + public Boolean getIndBloqueaCancTrocaPTA() { + return indBloqueaCancTrocaPTA; + } + + public void setIndBloqueaCancTrocaPTA(Boolean indBloqueaCancTrocaPTA) { + this.indBloqueaCancTrocaPTA = indBloqueaCancTrocaPTA; + } } diff --git a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java index 7a2dc33cc..23ac78dcf 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java @@ -459,7 +459,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService { Constante empresasIntegraAG = constanteService.buscarPorNomeConstante("EMPRESAS_INTEGRACAO_AG"); if (empresasIntegraAG != null && empresasIntegraAG.getValorconstante() != null && empresasIntegraAG.getValorconstante().contains(entidad.getEmpresa().getEmpresaId().toString())) { log.debug("iniciando integração com AG"); - integraAG(entidad); +// integraAG(entidad); log.debug("fim da integração com AG"); }