diff --git a/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java index 375ac44a3..56de98607 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/FiscalImpressoraServiceImpl.java @@ -54,7 +54,8 @@ public class FiscalImpressoraServiceImpl implements FiscalImpressoraService { IdentificacaoPafECF, ManifestoFiscal, ParametrosConfiguracao, - IdentificacaoIdaVolta + IdentificacaoIdaVolta, + RelatorioDavDiv /*CUSTOM*/; } diff --git a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java index 18183f3ec..aa88f9ad2 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java @@ -172,7 +172,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService { DaoAG.getInstance().setDBConnection(connection); integrarClienteAG(entidad); - if (!entidad.getIndIntegradoAG()){ + if (entidad.getIndIntegradoAG() != null && !entidad.getIndIntegradoAG()){ motivoNaoIntegrado += "Cliente: " + entidad.getMotivoNaoIntegradoAG(); } integrarFornecedorAG(entidad);