bug#11600

dev: julio
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@85402 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2018-09-14 15:07:15 +00:00
parent 3cd9702b84
commit e7ebe9779d
4 changed files with 285 additions and 266 deletions

View File

@ -247,51 +247,20 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
boolean isEstadual = rset.getInt("IS_ESTADUAL") == 1;
db.setEstadual(isEstadual);
BigDecimal valorIsenta = BigDecimal.ZERO;
BigDecimal valorContabil = BigDecimal.ZERO;
BigDecimal baseCalculoIcms = BigDecimal.ZERO;
if (isEstadual) {
baseCalculoIcms = baseCalculoIcms.add(db.getIndTarifaEstadual() ? db.getPrecioPagado() : BigDecimal.ZERO);
baseCalculoIcms = baseCalculoIcms.add(db.getIndPedadioEstdual() ? db.getImportepedagio() : BigDecimal.ZERO);
baseCalculoIcms = baseCalculoIcms.add(db.getIndSeguroEstadual() ? db.getImporteseguro() : BigDecimal.ZERO);
baseCalculoIcms = baseCalculoIcms.add(db.getIndTxEmbarqueEstadual() ? db.getImportetaxaembarque() : BigDecimal.ZERO);
valorContabil = valorContabil.add(db.getPrecioPagado());
valorContabil = valorContabil.add(db.getImportepedagio());
valorContabil = valorContabil.add(db.getImporteseguro());
valorContabil = valorContabil.add(db.getImportetaxaembarque());
valorIsenta = valorIsenta.add(!db.getIndPedadioEstdual() ? db.getImportepedagio() : BigDecimal.ZERO);
valorIsenta = valorIsenta.add(!db.getIndSeguroEstadual() ? db.getImporteseguro() : BigDecimal.ZERO);
valorIsenta = valorIsenta.add(!db.getIndTxEmbarqueEstadual() ? db.getImportetaxaembarque() : BigDecimal.ZERO);
} else {
baseCalculoIcms = baseCalculoIcms.add(db.getIndTarifaMunicipal() ? db.getPrecioPagado() : BigDecimal.ZERO);
baseCalculoIcms = baseCalculoIcms.add(db.getIndPedagioMunicipal() ? db.getImportepedagio() : BigDecimal.ZERO);
baseCalculoIcms = baseCalculoIcms.add(db.getIndSeguroMunicipal() ? db.getImporteseguro() : BigDecimal.ZERO);
baseCalculoIcms = baseCalculoIcms.add(db.getIndTxEmbarqueMunicipal() ? db.getImportetaxaembarque() : BigDecimal.ZERO);
valorContabil = valorContabil.add(db.getPrecioPagado());
valorContabil = valorContabil.add(db.getImportepedagio());
valorContabil = valorContabil.add(db.getImporteseguro());
valorContabil = valorContabil.add(db.getImportetaxaembarque());
valorIsenta = valorIsenta.add(!db.getIndPedagioMunicipal() ? db.getImportepedagio() : BigDecimal.ZERO);
valorIsenta = valorIsenta.add(!db.getIndSeguroMunicipal() ? db.getImporteseguro() : BigDecimal.ZERO);
valorIsenta = valorIsenta.add(!db.getIndTxEmbarqueMunicipal() ? db.getImportetaxaembarque() : BigDecimal.ZERO);
}
BigDecimal valorContabil = valorPassagem(db);
db.setValorContabil(valorContabil);
db.setValorIsenta(valorIsenta);
BigDecimal valorIcms = BigDecimal.ZERO;
db.setValorOutras(BigDecimal.ZERO);
BigDecimal isenta = valorIsenta(db);
db.setValorIsenta(isenta);
BigDecimal redBaseCalcIcms = BigDecimal.ZERO;
redBaseCalcIcms = db.getPorcredbaseicms() == null ? BigDecimal.ZERO : db.getPorcredbaseicms().divide(UtiliteriasFiscal.CEM);
BigDecimal redutor = valorContabil.multiply(redBaseCalcIcms);
baseCalculoIcms = valorContabil.subtract(redutor);
BigDecimal tarifa = valorBaseCalculo(db);
BigDecimal redutor = tarifa.multiply(redBaseCalcIcms);
BigDecimal baseCalculoIcms = tarifa.subtract(redutor);
BigDecimal aliquota = BigDecimal.ZERO;
if (isEstadual) {
@ -299,9 +268,10 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
} else {
aliquota = db.getTributacaoimportacao() == null ? db.getIcmsIntermunicipal() : db.getTributacaoimportacao();
}
valorIcms = baseCalculoIcms.multiply(aliquota.divide(UtiliteriasFiscal.CEM));
db.setValorIcms(valorIcms);
BigDecimal valorIcms = baseCalculoIcms.multiply(aliquota.divide(UtiliteriasFiscal.CEM));
db.setValorIcms(valorIcms);
db.setBaseCalculoIcms(baseCalculoIcms);
db.setEstornoEstadual(BigDecimal.ZERO);
db.setEstornoMunicipal(BigDecimal.ZERO);
@ -321,6 +291,45 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
}
private BigDecimal valorBaseCalculo(DevolucaoBilhetes det) {
BigDecimal total = BigDecimal.ZERO;
total = total.add(det.getPrecioPagado() == null ? BigDecimal.ZERO : det.getPrecioPagado());
if (det.isEstadual() && det.getIndTxEmbarqueEstadual() || !det.isEstadual() && det.getIndTxEmbarqueMunicipal())
total = total.add(det.getImportetaxaembarque() == null ? BigDecimal.ZERO : det.getImportetaxaembarque());
if (det.isEstadual() && det.getIndPedadioEstdual() || !det.isEstadual() && det.getIndPedagioMunicipal())
total = total.add(det.getImportepedagio() == null ? BigDecimal.ZERO : det.getImportepedagio());
if (det.isEstadual() && det.getIndSeguroEstadual() || !det.isEstadual() && det.getIndSeguroMunicipal())
total = total.add(det.getImporteseguro() == null ? BigDecimal.ZERO : det.getImporteseguro());
return total;
}
private BigDecimal valorIsenta(DevolucaoBilhetes det) {
BigDecimal total = BigDecimal.ZERO;
if (det.isEstadual() && !det.getIndTxEmbarqueEstadual() || !det.isEstadual() && !det.getIndTxEmbarqueMunicipal())
total = total.add(det.getImportetaxaembarque() == null ? BigDecimal.ZERO : det.getImportetaxaembarque());
if (det.isEstadual() && !det.getIndPedadioEstdual() || !det.isEstadual() && !det.getIndPedagioMunicipal())
total = total.add(det.getImportepedagio() == null ? BigDecimal.ZERO : det.getImportepedagio());
if (det.isEstadual() && !det.getIndSeguroEstadual() || !det.isEstadual() && !det.getIndSeguroMunicipal())
total = total.add(det.getImporteseguro() == null ? BigDecimal.ZERO : det.getImporteseguro());
return total;
}
private BigDecimal valorPassagem(DevolucaoBilhetes det) {
BigDecimal total = BigDecimal.ZERO;
total = total.add(det.getPrecioPagado() == null ? BigDecimal.ZERO : det.getPrecioPagado());
total = total.add(det.getImportetaxaembarque() == null ? BigDecimal.ZERO : det.getImportetaxaembarque());
total = total.add(det.getImportepedagio() == null ? BigDecimal.ZERO : det.getImportepedagio());
total = total.add(det.getImporteseguro() == null ? BigDecimal.ZERO : det.getImporteseguro());
return total;
}
public void setLsDadosRelatorio(List<DevolucaoBilhetes> lsDev) {
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDev));
}
@ -464,9 +473,7 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
sql.append(" INNER JOIN EMPRESA E ON E.EMPRESA_ID = M.EMPRESA_ID ");
sql.append(" INNER JOIN BPE BPE ON BPE.BOLETO_ID = BORI.BOLETO_ID ");
sql.append(" INNER JOIN ESTADO EST_BPE ON BPE.UF = EST_BPE.CODIBGE ");
// sql.append(" LEFT JOIN BOLETO B ON B.BOLETO_ID = BORI.BOLETOORIGINAL_ID ");
sql.append(" LEFT JOIN BOLETO B ON B.BOLETO_ID = (CASE WHEN BORI.MOTIVOCANCELACION_ID = 99 THEN BORI.BOLETOANTERIOR_ID ELSE BORI.BOLETOORIGINAL_ID END) ");
sql.append(" LEFT JOIN BPE BPEORI ON B.BOLETO_ID = BPEORI.BOLETO_ID ");
sql.append(" INNER JOIN PUNTO_VENTA PTV ON PTV.PUNTOVENTA_ID = BORI.PUNTOVENTA_ID ");
sql.append(" INNER JOIN PARADA ORI ON (B.ORIGEN_ID = ORI.PARADA_ID ) ");
@ -600,7 +607,7 @@ public class RelatorioDevolucaoBilhetes extends Relatorio {
sql.append(estados == null ? "" : "AND COALESCE(ESAIDF.ESTADO_ID, EOS.ESTADO_ID, EST.ESTADO_ID) IN (" + estados + ") ");
sql.append(puntoVentas == null ? "" : "AND PTV.PUNTOVENTA_ID IN (" + puntoVentas + ") ");
sql.append(empresaId == null ? "" : "AND E.EMPRESA_ID IN (" + empresaId + ") ");
sql.append("AND B.CATEGORIA_ID NOT IN (SELECT VALORCONSTANTE FROM CONSTANTE WHERE NOMBCONSTANTE = 'GRATUIDADE_CRIANCA') ");
sql.append("AND B.NUM_BPE IS NULL ");
sql.append("ORDER BY NOMB_EMPRESA, ESTADO, UF, FECHOR_DEVOLUCAO, NUMFOLIOSISTEMA");

View File

@ -81,15 +81,16 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
BigDecimal totalOutrasReceitas = fs.getReceitaEb().add(fs.getMultaComp()).add(fs.getDifTrocaOCD()).add(fs.getDifTarifaMaior());
fs.setTotalOutrasReceitas(totalOutrasReceitas);
BigDecimal taxaEmbarque = getBigDecimal(rset, "taxaEmbarque");
taxaEmbarque = taxaEmbarque.add(getBigDecimal(rset, "taxaEmbarque_ee"));
fs.setTxEmb(taxaEmbarque);
fs.setPedagio(getBigDecimal(rset, "pedagio"));
fs.setSegFacult(getBigDecimal(rset, "segurofac"));
fs.setTxConveniencia(getBigDecimal(rset, "txconveniencia_ee"));
BigDecimal totalTerceiros = fs.getTxEmb().add(fs.getPedagio()).add(fs.getSegFacult());
BigDecimal totalTerceiros = fs.getTxEmb().add(fs.getPedagio()).add(fs.getSegFacult().add(fs.getTxConveniencia()));
fs.setTotalTerceiros(totalTerceiros);
BigDecimal receitaBruta = totalVendaPassagens.add(totalOutrasReceitas).add(totalTerceiros);
@ -97,13 +98,14 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
fs.setDevolBPR(getBigDecimal(rset, "receita_cancel_rdi_bpr"));
fs.setDevolGAP(getBigDecimal(rset, "receita_devol_gap"));
fs.setDevolOCD(getBigDecimal(rset, "receita_ocd_dev"));
BigDecimal totalDevolucao = fs.getDevolBPR().add(fs.getDevolGAP());
BigDecimal receitaLiquida = receitaBruta.subtract(totalDevolucao);
fs.setReceitaLiquida(receitaLiquida);
fs.setDespesas(getBigDecimal(rset, "despesas"));
fs.setPgOCD(getBigDecimal(rset, "receita_ocd_deb"));
fs.setPgOCD(getBigDecimal(rset, "receita_ocd_pg"));
fs.setDifTarifaMenor(getBigDecimal(rset, "receita_dif_dif_tarifa_menor"));
BigDecimal cartaoCredito = getBigDecimal(rset, "cartao_credito");
@ -193,28 +195,16 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" c.tipoventa_id AS tipoventa_id, ");
sql.append(" c.indstatusoperacion ");
sql.append(" FROM CONTA_CORRENTE_PTOVTA ccp ");
sql.append(" INNER JOIN marca ma ");
sql.append(" ON ma.empresa_id = ccp.EMPRESA_ID ");
sql.append(" INNER JOIN CAJA c ");
sql.append(" ON c.FECCORTE = ccp.FECCORTE ");
sql.append(" AND c.TURNO_ID = ccp.TURNO_ID ");
sql.append(" AND c.PUNTOVENTA_ID = ccp.PUNTOVENTA_ID ");
sql.append(" AND c.marca_id = ma.marca_id ");
sql.append(" AND c.USUARIO_ID = ccp.USUARIO_ID ");
sql.append(" INNER JOIN empresa e ");
sql.append(" ON e.empresa_id = c.empresacorrida_id ");
sql.append(" JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = c.puntoventa_id ");
sql.append(" JOIN parada po ");
sql.append(" ON po.parada_id = pv.parada_id ");
sql.append(" JOIN ciudad co ");
sql.append(" ON co.ciudad_id = po.ciudad_id ");
sql.append(" JOIN estado eo ");
sql.append(" ON eo.estado_id = co.estado_id ");
sql.append(" WHERE c.activo = 1 ");
sql.append(" AND po.activo = 1 ");
sql.append(" AND co.activo = 1 ");
sql.append(" AND eo.activo = 1 ");
sql.append(" INNER JOIN marca ma ON ma.empresa_id = ccp.EMPRESA_ID ");
sql.append(" INNER JOIN CAJA c ON c.FECCORTE = ccp.FECCORTE ");
sql.append(" AND c.TURNO_ID = ccp.TURNO_ID AND c.PUNTOVENTA_ID = ccp.PUNTOVENTA_ID ");
sql.append(" AND c.marca_id = ma.marca_id AND c.USUARIO_ID = ccp.USUARIO_ID ");
sql.append(" INNER JOIN empresa e ON e.empresa_id = c.empresacorrida_id ");
sql.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id ");
sql.append(" JOIN parada po ON po.parada_id = pv.parada_id ");
sql.append(" JOIN ciudad co ON co.ciudad_id = po.ciudad_id ");
sql.append(" JOIN estado eo ON eo.estado_id = co.estado_id ");
sql.append(" WHERE c.activo = 1 AND po.activo = 1 AND co.activo = 1 AND eo.activo = 1 ");
sql.append(" AND ccp.feccorte >= :DATE_INICIO ");
sql.append(" AND ccp.feccorte <= :DATE_FIM ");
sql.append(" AND ccp.empresa_id = :EMPRESA_ID ");
@ -239,8 +229,11 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" SUM( CASE WHEN (cdc.indstatusboleto IN ('C', 'T') AND cdc.motivocancelacion_id IN (32,10,37)) THEN cdc.valorpago ELSE 0 END) AS receita_devol_bpr, ");
sql.append(" SUM( CASE WHEN (cdc.indstatusboleto IN ('C', 'T') AND cdc.motivocancelacion_id IN (31)) THEN cdc.valorpago ELSE 0 END) AS receita_cancel_bpr, ");
sql.append(" SUM( CASE WHEN ( (cdc.indstatusboleto = 'C' AND cdc.motivocancelacion_id IN (31,32,10,37) OR (cdc.indstatusboleto = 'T' AND cdc.motivocancelacion_id IS NULL )) AND cdc.numfoliosistema IS NULL AND cdc.tipoventa_id IN (5,12,18,49)) THEN cdc.valorpago ELSE 0 END) AS receita_devol_gap, ");
sql.append(" SUM( CASE WHEN (cdc.indstatusboleto = 'C' AND cdc.motivocancelacion_id IN (35)) THEN cdc.valorpago ELSE 0 END) AS receita_ocd_deb, ");
sql.append(" SUM( CASE WHEN (cdc.indstatusboleto = 'C' AND cdc.motivocancelacion_id IN (99) ) THEN cdc.valorpago ELSE 0 END) AS receita_ocd_cred ");
sql.append(" SUM( CASE WHEN (trunc(cdc.fecinc) = trunc(cdc.feccorte)) THEN cdc.valor_ocd ELSE 0 END) AS receita_ocd_dev, ");
// sql.append(" SUM( CASE WHEN (cdc.fecpago is not null ) THEN cdc.valor_ocd ELSE 0 END) AS receita_ocd_pg ");
sql.append(" SUM( CASE WHEN (cdc.fecpago is not null and cdc.fecpago between :DATE_INICIO and :DATE_FIM) THEN cdc.valor_ocd ELSE 0 END) AS receita_ocd_pg ");
sql.append(" FROM ");
sql.append(" ( SELECT DISTINCT c.caja_id AS cajaid, ");
sql.append(" e.empresa_id AS empresaId, ");
@ -262,25 +255,23 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" cfp.formapago_id, ");
sql.append(" c.motivocancelacion_id AS motivocancelacion_id, ");
sql.append(" c.tipoventa_id AS tipoventa_id, ");
sql.append(" c.indstatusoperacion ");
sql.append(" c.indstatusoperacion, ");
sql.append(" c.feccorte, ");
sql.append(" ocd.fecinc, ");
sql.append(" ocd.fecpago, ");
sql.append(" ocd.valor_pagar as valor_ocd ");
sql.append(" FROM caja c ");
sql.append(" INNER JOIN caja_formapago cfp ");
sql.append(" ON cfp.caja_id = c.caja_id ");
sql.append(" INNER JOIN forma_pago fp ");
sql.append(" ON cfp.formapago_id = fp.formapago_id ");
sql.append(" INNER JOIN marca m ");
sql.append(" ON m.marca_id = c.marca_id ");
sql.append(" AND m.activo = 1 ");
sql.append(" INNER JOIN empresa e ");
sql.append(" ON e.empresa_id = m.empresa_id ");
sql.append(" INNER JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = c.puntoventa_id ");
sql.append(" JOIN parada po ");
sql.append(" ON po.parada_id = pv.parada_id ");
sql.append(" JOIN ciudad co ");
sql.append(" ON co.ciudad_id = po.ciudad_id ");
sql.append(" JOIN estado eo ");
sql.append(" ON eo.estado_id = co.estado_id ");
sql.append(" INNER JOIN caja_formapago cfp ON cfp.caja_id = c.caja_id ");
sql.append(" INNER JOIN forma_pago fp ON cfp.formapago_id = fp.formapago_id ");
sql.append(" INNER JOIN marca m ON m.marca_id = c.marca_id AND m.activo = 1 ");
sql.append(" INNER JOIN empresa e ON e.empresa_id = m.empresa_id ");
sql.append(" INNER JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id ");
sql.append(" JOIN parada po ON po.parada_id = pv.parada_id ");
sql.append(" JOIN ciudad co ON co.ciudad_id = po.ciudad_id ");
sql.append(" JOIN estado eo ON eo.estado_id = co.estado_id ");
sql.append(" LEFT JOIN ocd ocd on ocd.boleto_id = c.transacao_id ");
sql.append(" WHERE (c.motivocancelacion_id IN (31,32,10,37,99,36) ");
sql.append(" OR c.motivocancelacion_id IS NULL) ");
sql.append(" AND c.feccorte >= :DATE_INICIO ");
@ -309,6 +300,7 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id = 2 AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS taxaembarque_ee, ");
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id = 25 AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS segurofac, ");
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id = 82 AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS receita_eb, ");
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id = 61 AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS txconveniencia_ee, ");
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id IN (41) AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS receita_multa, ");
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id IN (103,99978,99999) AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS receita_dif_troca_ocd, ");
sql.append(" SUM( CASE WHEN ee.tipoeventoextra_id IN (43) AND tee.indtipo = 1 THEN cdp.importe ELSE 0 END) AS receita_dif_dif_tarifa_maior, ");
@ -318,30 +310,18 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" SUM( CASE WHEN (cdp.formapago_id IN (3) AND e.indtipo = 1) THEN cdp.importe ELSE 0 END) AS cartao_debito_ee, ");
sql.append(" SUM( CASE WHEN (cdp.formapago_id IN (1) AND e.indtipo = 1) THEN cdp.importe ELSE 0 END) AS boleto_bnc_ee ");
sql.append(" FROM CAJA_DIVERSOS cd ");
sql.append(" JOIN CAJA_DIVERSOS_PAGO cdp ");
sql.append(" ON cdp.CAJADIVERSOS_ID = cd.CAJADIVERSOS_ID ");
sql.append(" INNER JOIN forma_pago fp ");
sql.append(" ON fp.formapago_id = cdp.formapago_id ");
sql.append(" INNER JOIN EVENTO_EXTRA EE ");
sql.append(" ON EE.EVENTOEXTRA_ID = cd.EVENTOEXTRA_ID ");
sql.append(" JOIN tipo_evento_extra tee ");
sql.append(" ON tee.tipoeventoextra_id = ee.tipoeventoextra_id ");
sql.append(" LEFT OUTER JOIN empresa e ");
sql.append(" ON ee.empresa_id = e.empresa_id ");
sql.append(" INNER JOIN CONTA_CORRENTE_PTOVTA ccp ");
sql.append(" ON e.EMPRESA_ID = ccp.EMPRESA_ID ");
sql.append(" AND ccp.PUNTOVENTA_ID = cd.PUNTOVENTA_ID ");
sql.append(" AND ccp.FECCORTE = cd.FECCORTE ");
sql.append(" AND ccp.TURNO_ID = cd.turno_id ");
sql.append(" AND cd.USUARIO_ID = ccp.USUARIO_ID ");
sql.append(" JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = ee.puntoventa_id ");
sql.append(" LEFT JOIN parada po ");
sql.append(" ON po.parada_id = pv.parada_id ");
sql.append(" LEFT JOIN ciudad co ");
sql.append(" ON co.ciudad_id = po.ciudad_id ");
sql.append(" LEFT JOIN estado eo ");
sql.append(" ON eo.estado_id = co.estado_id ");
sql.append(" JOIN CAJA_DIVERSOS_PAGO cdp ON cdp.CAJADIVERSOS_ID = cd.CAJADIVERSOS_ID ");
sql.append(" INNER JOIN forma_pago fp ON fp.formapago_id = cdp.formapago_id ");
sql.append(" INNER JOIN EVENTO_EXTRA EE ON EE.EVENTOEXTRA_ID = cd.EVENTOEXTRA_ID ");
sql.append(" JOIN tipo_evento_extra tee ON tee.tipoeventoextra_id = ee.tipoeventoextra_id ");
sql.append(" LEFT OUTER JOIN empresa e ON ee.empresa_id = e.empresa_id ");
sql.append(" INNER JOIN CONTA_CORRENTE_PTOVTA ccp ON e.EMPRESA_ID = ccp.EMPRESA_ID ");
sql.append(" AND ccp.PUNTOVENTA_ID = cd.PUNTOVENTA_ID AND ccp.FECCORTE = cd.FECCORTE ");
sql.append(" AND ccp.TURNO_ID = cd.turno_id AND cd.USUARIO_ID = ccp.USUARIO_ID ");
sql.append(" JOIN punto_venta pv ON pv.puntoventa_id = ee.puntoventa_id ");
sql.append(" LEFT JOIN parada po ON po.parada_id = pv.parada_id ");
sql.append(" LEFT JOIN ciudad co ON co.ciudad_id = po.ciudad_id ");
sql.append(" LEFT JOIN estado eo ON eo.estado_id = co.estado_id ");
sql.append(" WHERE ( cd.indreimpresion = 0 ");
sql.append(" OR cd.indreimpresion IS NULL ) ");
sql.append(" AND ee.empresa_id = :EMPRESA_ID ");
@ -358,6 +338,10 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" AND agrc.puntoventaId = eed.puntoventaId ");
sql.append(" AND agrc.estadoId = eed.estadoId ");
sql.append(" LEFT JOIN ");
//alterar para o BPe
sql.append(" (select empresaId, puntoventaId, estadoId, sum(tarifa) receita_rdi_bpr from ( ");
sql.append(" SELECT DISTINCT ");
sql.append(isBpe ? " c.boleto_id as cajaId, " : " c.caja_id as cajaId, ");
@ -381,7 +365,8 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" AND p.activo = 1 ");
sql.append(" AND co.activo = 1 ");
sql.append(" AND eo.activo = 1 ");
sql.append(isBpe ? " and bpe.bpe_id is not null " : " AND c.serieimpfiscal IS NOT NULL ");
sql.append(" AND c.serieimpfiscal IS NOT NULL ");
sql.append(isBpe ? " and bpe.bpe_id is not null " : " and c.num_bpe is null ");
sql.append(" AND ((c.indreimpresion = 0 AND c.motivocancelacion_id IS NULL ");
sql.append(" AND c.numfoliosistema IS NOT NULL) OR (c.indstatusboleto = 'E' AND c.indreimpresion = 1)) ");
sql.append(" AND (COALESCE(c.preciopagado,0) + COALESCE(c.importetaxaembarque,0) + COALESCE(c.importeseguro,0) + COALESCE(c.importepedagio,0) + COALESCE(c.importeoutros,0)) > 0 ");
@ -403,20 +388,13 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" COALESCE(c.importeseguro, 0) AS seguro, ");
sql.append(" COALESCE(c.importeoutros, 0) AS outros ");
sql.append(" FROM caja c ");
sql.append(" JOIN marca m ");
sql.append(" ON c.marca_id = m.marca_id ");
sql.append(" JOIN empresa e ");
sql.append(" ON e.empresa_id = m.empresa_id ");
sql.append(" JOIN aidf a ");
sql.append(" ON a.aidf_id = c.aidf_id ");
sql.append(" JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = c.puntoventa_id ");
sql.append(" JOIN parada po ");
sql.append(" ON po.parada_id = pv.parada_id ");
sql.append(" JOIN ciudad co ");
sql.append(" ON co.ciudad_id = po.ciudad_id ");
sql.append(" JOIN estado eo ");
sql.append(" ON eo.estado_id = co.estado_id ");
sql.append(" JOIN marca m ON c.marca_id = m.marca_id ");
sql.append(" JOIN empresa e ON e.empresa_id = m.empresa_id ");
sql.append(" JOIN aidf a ON a.aidf_id = c.aidf_id ");
sql.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id ");
sql.append(" JOIN parada po ON po.parada_id = pv.parada_id ");
sql.append(" JOIN ciudad co ON co.ciudad_id = po.ciudad_id ");
sql.append(" JOIN estado eo ON eo.estado_id = co.estado_id ");
sql.append(" WHERE ((c.tipoventa_id = 3 ");
sql.append(" AND c.indstatusboleto = 'V' ");
sql.append(" AND c.indreimpresion = 0) ");
@ -426,6 +404,7 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" AND (c.motivocancelacion_id IS NULL ");
sql.append(" OR c.motivocancelacion_id <> 35) ");
sql.append(" AND c.indcancelacion = 0 ");
sql.append(isBpe ? " " : " AND c.num_bpe is null ");
sql.append(" AND e.empresa_id = :EMPRESA_ID ");
sql.append(" AND c.feccreacion BETWEEN :DATE_INICIO AND :DATE_FIM ");
@ -440,6 +419,9 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" )rbpr ON agrc.empresaId = rbpr.empresaId ");
sql.append(" AND agrc.puntoventaId = rbpr.puntoventaId ");
sql.append(" AND agrc.estadoId = rbpr.estadoId ");
// alterar para o BPe deve ser validado pelo xml
sql.append(" LEFT JOIN ");
sql.append(" ( select empresaId, puntoventaId, estadoId, sum(tarifa) receita_cancel_rdi_bpr from ( ");
sql.append(" SELECT DISTINCT b.boleto_id AS cajaId, ");
@ -452,23 +434,17 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" COALESCE(b.importeseguro, 0) AS seguro, ");
sql.append(" COALESCE(b.importeoutros, 0) AS outros ");
sql.append(" FROM boleto b ");
sql.append(" INNER JOIN marca m ");
sql.append(" ON m.marca_id = b.marca_id ");
sql.append(" AND m.activo = 1 ");
sql.append(" INNER JOIN empresa e ");
sql.append(" ON e.empresa_id = m.empresa_id ");
sql.append(" INNER JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = b.puntoventa_id ");
sql.append(" INNER JOIN parada p ");
sql.append(" ON pv.parada_id = p.parada_id ");
sql.append(" INNER JOIN ciudad co ");
sql.append(" ON co.ciudad_id = p.ciudad_id ");
sql.append(" INNER JOIN estado eo ");
sql.append(" ON eo.estado_id = co.estado_id ");
sql.append(" INNER JOIN marca m ON m.marca_id = b.marca_id AND m.activo = 1 ");
sql.append(" INNER JOIN empresa e ON e.empresa_id = m.empresa_id ");
sql.append(" INNER JOIN punto_venta pv ON pv.puntoventa_id = b.puntoventa_id ");
sql.append(" INNER JOIN parada p ON pv.parada_id = p.parada_id ");
sql.append(" INNER JOIN ciudad co ON co.ciudad_id = p.ciudad_id ");
sql.append(" INNER JOIN estado eo ON eo.estado_id = co.estado_id ");
sql.append(" WHERE b.motivocancelacion_id IN (31,32,10,37,99,36) ");
sql.append(" AND b.indstatusboleto = 'C' ");
sql.append(" AND b.indcancelacion = 1 ");
sql.append(" AND b.numfoliopreimpreso IS NOT NULL ");
sql.append(isBpe ? " " : " AND c.num_bpe is null ");
sql.append(" AND e.empresa_id = :EMPRESA_ID ");
sql.append(" AND b.fechorventa >= :DATE_INICIO ");
sql.append(" AND b.fechorventa <= :DATE_FIM ");
@ -477,11 +453,7 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(pdvs == null ? "" : "and pv.puntoventa_id in ( " + pdvs + " ) ");
sql.append(tipoptovtaId == -1 ? "" : "and pv.tipoptovta_id = " + tipoptovtaId);
sql.append(" AND b.categoria_id NOT IN ");
sql.append(" (SELECT valorconstante ");
sql.append(" FROM constante ");
sql.append(" WHERE nombconstante = 'GRATUIDADE_CRIANCA' ");
sql.append(" ) ");
sql.append(" AND b.categoria_id NOT IN (SELECT valorconstante FROM constante WHERE nombconstante = 'GRATUIDADE_CRIANCA') ");
sql.append(" ) cbl ");
sql.append(" GROUP BY cbl.estadoId, ");
sql.append(" cbl.puntoventaId, ");

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RelatorioFinanceiroSintetico" pageWidth="2140" pageHeight="595" orientation="Landscape" columnWidth="2140" leftMargin="0" rightMargin="0" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="1a307341-ad36-4306-8e8d-c8b55fb6bcc6">
<property name="ireport.zoom" value="1.2100000000000126"/>
<property name="ireport.x" value="1600"/>
<property name="ireport.zoom" value="1.4641000000000155"/>
<property name="ireport.x" value="1512"/>
<property name="ireport.y" value="0"/>
<parameter name="nombempresa" class="java.lang.String"/>
<parameter name="inicio" class="java.util.Date"/>
@ -36,6 +36,8 @@
<field name="deposito" class="java.math.BigDecimal"/>
<field name="totalDetalhamento" class="java.math.BigDecimal"/>
<field name="saldo" class="java.math.BigDecimal"/>
<field name="txConveniencia" class="java.math.BigDecimal"/>
<field name="devolOCD" class="java.math.BigDecimal"/>
<variable name="somaReceitaBPR" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{receitaBPR}]]></variableExpression>
</variable>
@ -114,6 +116,12 @@
<variable name="somaSaldo" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{saldo}]]></variableExpression>
</variable>
<variable name="somaTxConveniencia" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{txConveniencia}]]></variableExpression>
</variable>
<variable name="somaDevolOCD" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{devolOCD}]]></variableExpression>
</variable>
<pageHeader>
<band height="109" splitType="Stretch">
<textField>
@ -245,7 +253,7 @@
<textFieldExpression><![CDATA["Total de outras receitas"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="824" y="84" width="82" height="25" backcolor="#FFFF00" uuid="acef366c-3807-4ce8-9a10-7490821d51cd"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="824" y="84" width="70" height="25" backcolor="#FFFF00" uuid="acef366c-3807-4ce8-9a10-7490821d51cd"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -256,7 +264,7 @@
<textFieldExpression><![CDATA["Tx. Emb (+)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="906" y="84" width="82" height="25" backcolor="#FFFF00" uuid="4ed4ed77-88a6-4ee2-9cc6-b1fd8c744f4a"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="894" y="84" width="70" height="25" backcolor="#FFFF00" uuid="4ed4ed77-88a6-4ee2-9cc6-b1fd8c744f4a"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -267,7 +275,7 @@
<textFieldExpression><![CDATA["Pedágio (+)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="988" y="84" width="82" height="25" backcolor="#FFFF00" uuid="08b7af94-859a-4acd-9e9c-03b9edff8280"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="964" y="84" width="70" height="25" backcolor="#FFFF00" uuid="08b7af94-859a-4acd-9e9c-03b9edff8280"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -278,7 +286,7 @@
<textFieldExpression><![CDATA["Seg.Facult. (+)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1070" y="84" width="82" height="25" backcolor="#FFFF00" uuid="2031f635-d825-43d5-abef-9239bf8a4c05"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1104" y="84" width="82" height="25" backcolor="#FFFF00" uuid="2031f635-d825-43d5-abef-9239bf8a4c05"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -289,7 +297,7 @@
<textFieldExpression><![CDATA["Total Terceiros"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1152" y="84" width="82" height="25" backcolor="#FFCCFF" uuid="ed58cc6b-450c-4830-bebd-19785a19db03"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1186" y="84" width="82" height="25" backcolor="#FFCCFF" uuid="ed58cc6b-450c-4830-bebd-19785a19db03"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -300,7 +308,7 @@
<textFieldExpression><![CDATA["Receita Bruta"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1234" y="84" width="82" height="25" backcolor="#FFFF00" uuid="6f4fd17a-543f-4e55-8816-5e326d108b1b"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1268" y="84" width="76" height="25" backcolor="#FFFF00" uuid="6f4fd17a-543f-4e55-8816-5e326d108b1b"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -311,7 +319,7 @@
<textFieldExpression><![CDATA["Devol.BPR (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1316" y="84" width="82" height="25" backcolor="#FFFF00" uuid="bd2f1ca2-86cd-4bfa-96d9-bc3c900d10c4"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1344" y="84" width="70" height="25" backcolor="#FFFF00" uuid="bd2f1ca2-86cd-4bfa-96d9-bc3c900d10c4"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -322,7 +330,7 @@
<textFieldExpression><![CDATA["Devol. GAP (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1398" y="84" width="82" height="25" backcolor="#FFFF00" uuid="d0ea4167-8e14-4e43-bb02-0907b16b432f"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1484" y="84" width="82" height="25" backcolor="#FFFF00" uuid="d0ea4167-8e14-4e43-bb02-0907b16b432f"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -333,7 +341,7 @@
<textFieldExpression><![CDATA["Receita Liquida"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1480" y="84" width="82" height="25" backcolor="#FFFF00" uuid="ca60cf6f-d4c0-4608-b99e-a5892db0ce6a"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1566" y="84" width="82" height="25" backcolor="#FFFF00" uuid="ca60cf6f-d4c0-4608-b99e-a5892db0ce6a"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -344,7 +352,7 @@
<textFieldExpression><![CDATA["Despesas (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1562" y="84" width="82" height="25" backcolor="#FFFF00" uuid="e00b1c6b-5ef0-4b3a-97b9-8477010b00df"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1648" y="84" width="82" height="25" backcolor="#FFFF00" uuid="e00b1c6b-5ef0-4b3a-97b9-8477010b00df"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -355,7 +363,7 @@
<textFieldExpression><![CDATA["Pg. OCD (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1644" y="84" width="82" height="25" backcolor="#FFFF00" uuid="9fb9a26b-8d27-40ae-910e-ae62743ace29"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1730" y="84" width="82" height="25" backcolor="#FFFF00" uuid="9fb9a26b-8d27-40ae-910e-ae62743ace29"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -366,7 +374,7 @@
<textFieldExpression><![CDATA["Dif.Tarifa Menor (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1726" y="84" width="82" height="25" backcolor="#FFFF00" uuid="8c3da71d-0ff8-4ba4-9fd2-b7f2e59ae891"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1812" y="84" width="82" height="25" backcolor="#FFFF00" uuid="8c3da71d-0ff8-4ba4-9fd2-b7f2e59ae891"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -377,7 +385,7 @@
<textFieldExpression><![CDATA["Cartão Créd. (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1808" y="84" width="82" height="25" backcolor="#FFFF00" uuid="5552a5d9-a92e-43e8-a381-c17002701c37"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1894" y="84" width="82" height="25" backcolor="#FFFF00" uuid="5552a5d9-a92e-43e8-a381-c17002701c37"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -388,7 +396,7 @@
<textFieldExpression><![CDATA["Cartão Débito (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1890" y="84" width="82" height="25" backcolor="#FFFF00" uuid="88c99bfb-ea13-41ff-962b-6dd97af41b16"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1976" y="84" width="82" height="25" backcolor="#FFFF00" uuid="88c99bfb-ea13-41ff-962b-6dd97af41b16"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
@ -399,7 +407,7 @@
<textFieldExpression><![CDATA["Boleto (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1972" y="84" width="82" height="25" backcolor="#FFFF00" uuid="fc2efc7c-e18e-4309-b0d1-a586e1255b4f"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2058" y="84" width="82" height="25" backcolor="#FFFF00" uuid="fc2efc7c-e18e-4309-b0d1-a586e1255b4f"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -409,17 +417,6 @@
</textElement>
<textFieldExpression><![CDATA["Total Detalhamento"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2054" y="84" width="82" height="25" backcolor="#FFFF00" uuid="a7589c35-a661-44af-86f2-f299015ab6ee"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA["Saldo"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="86" y="63" width="328" height="20" uuid="75726801-8433-4d31-8712-1cd6364e6c68"/>
<box>
@ -444,7 +441,7 @@
]]></text>
</staticText>
<staticText>
<reportElement x="824" y="63" width="328" height="20" uuid="75371ada-e71f-4345-86ab-05feb01f06a5"/>
<reportElement x="824" y="63" width="362" height="20" uuid="75371ada-e71f-4345-86ab-05feb01f06a5"/>
<box>
<topPen lineWidth="1.0"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -455,7 +452,7 @@
<text><![CDATA[Receita de Terceiros]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="1152" y="63" width="82" height="20" backcolor="#FFCCFF" uuid="bce00659-e3f4-42e8-82cf-f596bfa515af"/>
<reportElement mode="Opaque" x="1186" y="63" width="82" height="20" backcolor="#FFCCFF" uuid="bce00659-e3f4-42e8-82cf-f596bfa515af"/>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="0.25" lineStyle="Dashed"/>
@ -467,7 +464,7 @@
<text><![CDATA[Receita Bruta]]></text>
</staticText>
<staticText>
<reportElement x="1234" y="63" width="164" height="20" uuid="ab4ce332-f86d-4a62-9c84-cecd2aae502d"/>
<reportElement x="1268" y="63" width="216" height="20" uuid="ab4ce332-f86d-4a62-9c84-cecd2aae502d"/>
<box>
<topPen lineWidth="1.0"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -478,7 +475,7 @@
<text><![CDATA[Devoluções]]></text>
</staticText>
<staticText>
<reportElement x="1398" y="63" width="82" height="20" uuid="05c949bb-dc08-432f-8144-32bd89a12a9f"/>
<reportElement x="1484" y="63" width="82" height="20" uuid="05c949bb-dc08-432f-8144-32bd89a12a9f"/>
<box>
<topPen lineWidth="1.0"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -489,7 +486,7 @@
<text><![CDATA[Receita Liquida]]></text>
</staticText>
<staticText>
<reportElement x="1480" y="63" width="574" height="20" uuid="fd4acb36-3047-4fbf-b292-4cd5048ddbad"/>
<reportElement x="1566" y="63" width="574" height="20" uuid="fd4acb36-3047-4fbf-b292-4cd5048ddbad"/>
<box>
<topPen lineWidth="1.0"/>
</box>
@ -571,6 +568,28 @@
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1034" y="84" width="70" height="25" backcolor="#FFFF00" uuid="3e7413bb-ca5f-4016-9a61-df9e62f77283"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.0" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA["Tx. Conveniência (+)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1414" y="84" width="70" height="25" backcolor="#FFFF00" uuid="b516e8b7-d379-47de-b394-86022e213703"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA["Devol. OCD (-)"]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<detail>
@ -679,7 +698,7 @@
<textFieldExpression><![CDATA[$F{totalOutrasReceitas}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="824" y="0" width="82" height="15" uuid="0f052d2d-5844-4998-add9-e3304688209a"/>
<reportElement stretchType="RelativeToTallestObject" x="824" y="0" width="70" height="15" uuid="0f052d2d-5844-4998-add9-e3304688209a"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -689,17 +708,7 @@
<textFieldExpression><![CDATA[$F{txEmb}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="906" y="0" width="82" height="15" uuid="3246d9dd-8024-46be-b46c-34200f1e0ec1"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="988" y="0" width="82" height="15" uuid="c75eb131-785a-4a2e-97f8-0ba9a39b6991"/>
<reportElement stretchType="RelativeToTallestObject" x="964" y="0" width="70" height="15" uuid="c75eb131-785a-4a2e-97f8-0ba9a39b6991"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -709,7 +718,7 @@
<textFieldExpression><![CDATA[$F{segFacult}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1070" y="0" width="82" height="15" backcolor="#FFFF00" uuid="1f364902-b455-4082-891f-d90271cb7d79"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1104" y="0" width="82" height="15" backcolor="#FFFF00" uuid="1f364902-b455-4082-891f-d90271cb7d79"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -720,7 +729,7 @@
<textFieldExpression><![CDATA[$F{totalTerceiros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1152" y="0" width="82" height="15" backcolor="#FFCCFF" uuid="97a10e1d-f51e-42e8-9ce3-7ed6b8e592db"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1186" y="0" width="82" height="15" backcolor="#FFCCFF" uuid="97a10e1d-f51e-42e8-9ce3-7ed6b8e592db"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -731,17 +740,7 @@
<textFieldExpression><![CDATA[$F{receitaBruta}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1234" y="0" width="82" height="15" uuid="e9a2e27f-ea1c-44d5-8476-726df0cacce5"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{devolBPR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1316" y="0" width="82" height="15" uuid="d6df43c5-0b3e-46a5-bae2-9c718ed6a95b"/>
<reportElement stretchType="RelativeToTallestObject" x="1344" y="0" width="70" height="15" uuid="d6df43c5-0b3e-46a5-bae2-9c718ed6a95b"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -752,7 +751,7 @@
<textFieldExpression><![CDATA[$F{devolGAP}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1398" y="0" width="82" height="15" backcolor="#FFFF00" uuid="e2e7db09-8606-4d9d-9feb-0987e29b0eb5"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1484" y="0" width="82" height="15" backcolor="#FFFF00" uuid="e2e7db09-8606-4d9d-9feb-0987e29b0eb5"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -763,7 +762,7 @@
<textFieldExpression><![CDATA[$F{receitaLiquida}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1480" y="0" width="82" height="15" uuid="6af29431-bbae-4bfe-89d6-df54b17adc47"/>
<reportElement stretchType="RelativeToTallestObject" x="1566" y="0" width="82" height="15" uuid="6af29431-bbae-4bfe-89d6-df54b17adc47"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -773,7 +772,7 @@
<textFieldExpression><![CDATA[$F{despesas}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1562" y="0" width="82" height="15" uuid="590fc622-ada2-4950-aba6-253d9176a69a"/>
<reportElement stretchType="RelativeToTallestObject" x="1648" y="0" width="82" height="15" uuid="590fc622-ada2-4950-aba6-253d9176a69a"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -783,7 +782,7 @@
<textFieldExpression><![CDATA[$F{pgOCD}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1644" y="0" width="82" height="15" uuid="925cc56f-7c1b-42ff-bada-4c1d96107f11"/>
<reportElement stretchType="RelativeToTallestObject" x="1730" y="0" width="82" height="15" uuid="925cc56f-7c1b-42ff-bada-4c1d96107f11"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -793,7 +792,7 @@
<textFieldExpression><![CDATA[$F{difTarifaMenor}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1726" y="0" width="82" height="15" uuid="255bc8ed-c770-4ceb-9f29-7d0157a0819b"/>
<reportElement stretchType="RelativeToTallestObject" x="1812" y="0" width="82" height="15" uuid="255bc8ed-c770-4ceb-9f29-7d0157a0819b"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -803,7 +802,7 @@
<textFieldExpression><![CDATA[$F{cartaoCredito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1808" y="0" width="82" height="15" uuid="1f6695fb-3354-48cd-8194-67ebba651015"/>
<reportElement stretchType="RelativeToTallestObject" x="1894" y="0" width="82" height="15" uuid="1f6695fb-3354-48cd-8194-67ebba651015"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -813,7 +812,7 @@
<textFieldExpression><![CDATA[$F{cartaoDebito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1890" y="0" width="82" height="15" uuid="4b5fc7bc-a2bc-47ae-8baa-3f5a1e4f45f2"/>
<reportElement stretchType="RelativeToTallestObject" x="1976" y="0" width="82" height="15" uuid="4b5fc7bc-a2bc-47ae-8baa-3f5a1e4f45f2"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -823,7 +822,7 @@
<textFieldExpression><![CDATA[$F{boletoBancario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1972" y="0" width="82" height="15" backcolor="#FFFF00" uuid="cf19637a-d07d-46a4-8510-b4e7fd6b5e23"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2058" y="0" width="82" height="15" backcolor="#FFFF00" uuid="cf19637a-d07d-46a4-8510-b4e7fd6b5e23"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -833,16 +832,6 @@
</textElement>
<textFieldExpression><![CDATA[$F{totalDetalhamento}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="2054" y="0" width="82" height="15" uuid="51a512ea-0eda-4ecf-964c-28bebabe974f"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{saldo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="168" y="0" width="82" height="15" uuid="6bd836cc-534f-4d65-8bff-ffc318adbc2f"/>
<box>
@ -853,12 +842,53 @@
</textElement>
<textFieldExpression><![CDATA[$F{gapVenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="894" y="0" width="70" height="15" uuid="3246d9dd-8024-46be-b46c-34200f1e0ec1"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{pedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1034" y="0" width="70" height="15" uuid="95e5b35b-9367-4ea8-91e5-ff1fa93d7225"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{txConveniencia}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1268" y="0" width="76" height="15" uuid="e9a2e27f-ea1c-44d5-8476-726df0cacce5"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{devolBPR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1414" y="0" width="70" height="15" uuid="ebba760b-7309-489b-9e48-6baa0a4e5a12"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{devolOCD}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="15" splitType="Stretch">
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1890" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="3bb307d1-503a-41b4-96a6-9185c16534fb"/>
<reportElement stretchType="RelativeToTallestObject" x="1976" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="3bb307d1-503a-41b4-96a6-9185c16534fb"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -868,7 +898,7 @@
<textFieldExpression><![CDATA[$V{somaBoletoBancario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="988" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="df7f5926-0229-4c31-ba27-a9036295daee"/>
<reportElement stretchType="RelativeToTallestObject" x="964" y="0" width="70" height="15" isPrintWhenDetailOverflows="true" uuid="df7f5926-0229-4c31-ba27-a9036295daee"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -888,7 +918,7 @@
<textFieldExpression><![CDATA[$V{somaMultaComp}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1808" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="34af58b3-3aa9-48e3-ac46-1db92477c5bf"/>
<reportElement stretchType="RelativeToTallestObject" x="1894" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="34af58b3-3aa9-48e3-ac46-1db92477c5bf"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -898,7 +928,7 @@
<textFieldExpression><![CDATA[$V{somaCartaoDebito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1070" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="0509388f-d69e-4260-a23b-746d42668a9d"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1104" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="0509388f-d69e-4260-a23b-746d42668a9d"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -918,7 +948,7 @@
<textFieldExpression><![CDATA[$V{somaDifTrocaOCD}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1562" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="a3b2c994-cc3f-45b1-b130-5d5ee11a345b"/>
<reportElement stretchType="RelativeToTallestObject" x="1648" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="a3b2c994-cc3f-45b1-b130-5d5ee11a345b"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -928,17 +958,7 @@
<textFieldExpression><![CDATA[$V{somaPgOCD}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1234" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="565e4f58-d35e-4e3e-aef8-687e06caab65"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaDevolBPR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1644" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="4acffe71-3e19-4bd4-b08a-0d083d06703e"/>
<reportElement stretchType="RelativeToTallestObject" x="1730" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="4acffe71-3e19-4bd4-b08a-0d083d06703e"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -948,7 +968,7 @@
<textFieldExpression><![CDATA[$V{somaDifTarifaMenor}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1398" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="f0fff871-c093-4aa2-8493-fb15dc4fce4c"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1484" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="f0fff871-c093-4aa2-8493-fb15dc4fce4c"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -958,17 +978,7 @@
<textFieldExpression><![CDATA[$V{somaReceitaLiquida}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="2054" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="471e76a9-5c4b-4b45-9f4d-aea49c4c6dca"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaSaldo}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1726" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="8ff21686-9678-4d8d-a5a1-83fdb9d7371d"/>
<reportElement stretchType="RelativeToTallestObject" x="1812" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="8ff21686-9678-4d8d-a5a1-83fdb9d7371d"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -978,7 +988,7 @@
<textFieldExpression><![CDATA[$V{somaCartaoCredito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="824" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="75c080e7-cb5e-490b-a4ec-976e922f3f05"/>
<reportElement stretchType="RelativeToTallestObject" x="824" y="0" width="70" height="15" isPrintWhenDetailOverflows="true" uuid="75c080e7-cb5e-490b-a4ec-976e922f3f05"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -988,7 +998,7 @@
<textFieldExpression><![CDATA[$V{somaTxEmb}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1480" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="bc5a39d9-f669-464d-9af9-1460cc132088"/>
<reportElement stretchType="RelativeToTallestObject" x="1566" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="bc5a39d9-f669-464d-9af9-1460cc132088"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -1008,17 +1018,7 @@
<textFieldExpression><![CDATA[$V{somaReceitaBPR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="906" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="c8408169-8514-478a-a2ee-74228a287c1b"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaPedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1316" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="73e641ea-d232-414c-a154-ae699c8320d9"/>
<reportElement stretchType="RelativeToTallestObject" x="1344" y="0" width="70" height="15" isPrintWhenDetailOverflows="true" uuid="73e641ea-d232-414c-a154-ae699c8320d9"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -1059,7 +1059,7 @@
<textFieldExpression><![CDATA[$V{somaGapVenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1972" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="8e8a8960-6e08-4ebb-a1fc-61af0f98b916"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2058" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="8e8a8960-6e08-4ebb-a1fc-61af0f98b916"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -1099,7 +1099,7 @@
<textFieldExpression><![CDATA[$V{somaGapImpressa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1152" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFCCFF" uuid="b361c91d-04b9-4e19-90b9-600eb787453f"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1186" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFCCFF" uuid="b361c91d-04b9-4e19-90b9-600eb787453f"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -1119,6 +1119,46 @@
</textElement>
<textFieldExpression><![CDATA["Total geral"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="894" y="0" width="70" height="15" isPrintWhenDetailOverflows="true" uuid="c8408169-8514-478a-a2ee-74228a287c1b"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaPedagio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1034" y="0" width="70" height="15" isPrintWhenDetailOverflows="true" uuid="ba65083d-bdbb-40f8-ab2b-13ac7b50614e"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaTxConveniencia}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1268" y="0" width="76" height="15" isPrintWhenDetailOverflows="true" uuid="565e4f58-d35e-4e3e-aef8-687e06caab65"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaDevolBPR}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1414" y="0" width="70" height="15" isPrintWhenDetailOverflows="true" uuid="b851d06f-fa48-4e59-9dba-67091000251e"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaDevolOCD}]]></textFieldExpression>
</textField>
</band>
</columnFooter>
</jasperReport>