Fixes bug#10773

dev: Gleimar
qua: Gleimar


git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@80355 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabio 2018-03-28 18:36:16 +00:00
parent ac190ef5fd
commit a09a44c783
6 changed files with 39 additions and 168 deletions

View File

@ -118,8 +118,6 @@ public class RelatorioFinanceiroAnalitico extends Relatorio {
BigDecimal boleto = getBigDecimal(rset, "boleto_bnc");
boleto = boleto.add(getBigDecimal(rset, "boleto_bnc_ee"));
fs.setBoletoBancario(boleto);
fs.setDeposito(getBigDecimal(rset, "deposito"));
BigDecimal totalDetalhamento = fs.getDespesas().add(fs.getPgOCD()).add(fs.getDifTarifaMenor())
.add(fs.getCartaoCredito()).add(fs.getCartaoDebito()).add(fs.getBoletoBancario())
@ -164,9 +162,9 @@ public class RelatorioFinanceiroAnalitico extends Relatorio {
sql.append(" (SELECT ");
sql.append(" cdv.empresaId, ");
sql.append(" cdv.fechorVenta, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.pedagio) ELSE 0 END) AS pedagio, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.taxaEmbarque) ELSE 0 END) AS taxaEmbarque, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' AND cdv.motivocancelacion_id IS NULL) THEN cdv.valorpago ELSE 0 END) AS receita_bpr, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.pedagio) ELSE 0 END) AS pedagio, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.taxaEmbarque) ELSE 0 END) AS taxaEmbarque, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.motivocancelacion_id IS NULL) THEN cdv.valorpago ELSE 0 END) AS receita_bpr, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.tipoventa_id IN (18) ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * (cdv.tarifa+cdv.taxaEmbarque+cdv.pedagio+cdv.seguro+cdv.outros)) ELSE 0 END) AS receita_gap, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 1 AND cdv.indstatusboleto = 'E' ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * (cdv.tarifa+cdv.taxaEmbarque+cdv.pedagio+cdv.seguro+cdv.outros)) ELSE 0 END) AS entrega_gap, ");
sql.append(" SUM( (SELECT SUM( CASE WHEN cdv.MOTIVOCANCELACION_ID IS NULL THEN 1 ELSE -1 END * cfp.importe) FROM caja_formapago cfp WHERE cfp.caja_id = cdv.cajaid AND cfp.activo = 1 AND cfp.FORMAPAGO_ID IN (2,31,38) AND cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' AND cdv.tipoventa_id <> 6 ) ) AS cartao_credito, ");
@ -339,35 +337,6 @@ public class RelatorioFinanceiroAnalitico extends Relatorio {
sql.append(" trunc(ee.fechoringreso) ");
sql.append(" ) eed ON agrc.empresaId = eed.empresaId ");
sql.append(" AND agrc.fechorVenta = eed.fechorVenta ");
sql.append(" LEFT JOIN ");
sql.append(" (SELECT COALESCE(SUM(fd.valor), 0) AS deposito, ");
sql.append(" fcc.empresa_id AS empresaId, ");
sql.append(" trunc(fd.feccreacion) AS fechorVenta ");
sql.append(" FROM fechamento_cntcorrente fcc ");
sql.append(" JOIN fechamento_cct_deposito fcd ");
sql.append(" ON fcd.fechamentocntcorrente_id = fcc.fechamentocntcorrente_id ");
sql.append(" JOIN fechamento_deposito fd ");
sql.append(" ON fd.fechamentocntcorrente_id = fcd.fechamentocntcorrente_id ");
sql.append(" JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = fcc.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 fcc.activo = 1 ");
sql.append(" AND fcc.empresa_id = :EMPRESA_ID ");
sql.append(" AND fd.feccreacion BETWEEN :DATE_INICIO AND :DATE_FIM ");
sql.append(ufs == null ? "" : " and eo.estado_id in ( " + ufs + " ) ");
sql.append(pdvs == null ? "" : "and pv.puntoventa_id in ( " + pdvs + " ) ");
sql.append(tipoptovtaId == -1 ? "" : "and pv.tipoptovta_id = " + tipoptovtaId);
sql.append(" GROUP BY fcc.empresa_id, ");
sql.append(" trunc(fd.feccreacion) ");
sql.append(" ) depd ON agrc.empresaId = depd.empresaId ");
sql.append(" AND agrc.fechorVenta = depd.fechorVenta ");
sql.append(" order by agrc.fechorVenta ");
return sql.toString();

View File

@ -119,8 +119,6 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
BigDecimal boleto = getBigDecimal(rset, "boleto_bnc");
boleto = boleto.add(getBigDecimal(rset, "boleto_bnc_ee"));
fs.setBoletoBancario(boleto);
fs.setDeposito(getBigDecimal(rset, "deposito"));
BigDecimal totalDetalhamento = fs.getDespesas().add(fs.getPgOCD()).add(fs.getDifTarifaMenor())
.add(fs.getCartaoCredito()).add(fs.getCartaoDebito()).add(fs.getBoletoBancario())
@ -167,9 +165,9 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" cdv.codigo, ");
sql.append(" cdv.puntoventaId, ");
sql.append(" cdv.empresaId, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.pedagio) ELSE 0 END) AS pedagio, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.taxaEmbarque) ELSE 0 END) AS taxaEmbarque, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' AND cdv.motivocancelacion_id IS NULL) THEN cdv.valorpago ELSE 0 END) AS receita_bpr, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.pedagio) ELSE 0 END) AS pedagio, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * cdv.taxaEmbarque) ELSE 0 END) AS taxaEmbarque, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.motivocancelacion_id IS NULL) THEN cdv.valorpago ELSE 0 END) AS receita_bpr, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 0 AND cdv.tipoventa_id IN (18) ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * (cdv.tarifa+cdv.taxaEmbarque+cdv.pedagio+cdv.seguro+cdv.outros)) ELSE 0 END) AS receita_gap, ");
sql.append(" SUM( CASE WHEN (cdv.indreimpresion = 1 AND cdv.indstatusboleto = 'E' ) THEN (CASE WHEN motivocancelacion_id IS NULL THEN 1 ELSE -1 END * (cdv.tarifa+cdv.taxaEmbarque+cdv.pedagio+cdv.seguro+cdv.outros)) ELSE 0 END) AS entrega_gap, ");
sql.append(" SUM( (SELECT sum(CASE WHEN cdv.MOTIVOCANCELACION_ID IS NULL THEN 1 ELSE -1 END * cfp.importe) FROM caja_formapago cfp WHERE cfp.caja_id = cdv.cajaid AND cfp.activo = 1 AND cfp.FORMAPAGO_ID IN (2,31,38) AND cdv.indreimpresion = 0 AND cdv.indstatusoperacion = 'F' AND cdv.tipoventa_id <> 6) ) AS cartao_credito, ");
@ -362,38 +360,7 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
sql.append(" ) eed ON agrc.empresaId = eed.empresaId ");
sql.append(" AND agrc.puntoventaId = eed.puntoventaId ");
sql.append(" AND agrc.estadoId = eed.estadoId ");
sql.append(" LEFT JOIN ");
sql.append(" (SELECT COALESCE(SUM(fd.valor), 0) AS deposito, ");
sql.append(" pv.puntoventa_id AS puntoventaId, ");
sql.append(" fcc.empresa_id AS empresaId, ");
sql.append(" eo.estado_id AS estadoId ");
sql.append(" FROM fechamento_cntcorrente fcc ");
sql.append(" JOIN fechamento_cct_deposito fcd ");
sql.append(" ON fcd.fechamentocntcorrente_id = fcc.fechamentocntcorrente_id ");
sql.append(" JOIN fechamento_deposito fd ");
sql.append(" ON fd.fechamentocntcorrente_id = fcd.fechamentocntcorrente_id ");
sql.append(" JOIN punto_venta pv ");
sql.append(" ON pv.puntoventa_id = fcc.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 fcc.activo = 1 ");
sql.append(" AND fcc.empresa_id = :EMPRESA_ID ");
sql.append(" AND fd.feccreacion BETWEEN :DATE_INICIO AND :DATE_FIM ");
sql.append(ufs == null ? "" : " and eo.estado_id in ( " + ufs + " ) ");
sql.append(pdvs == null ? "" : "and pv.puntoventa_id in ( " + pdvs + " ) ");
sql.append(tipoptovtaId == -1 ? "" : "and pv.tipoptovta_id = " + tipoptovtaId);
sql.append(" GROUP BY pv.puntoventa_id, ");
sql.append(" fcc.empresa_id, ");
sql.append(" eo.estado_id ");
sql.append(" ) depd ON agrc.empresaId = depd.empresaId ");
sql.append(" AND agrc.puntoventaId = depd.puntoventaId ");
sql.append(" AND agrc.estadoId = depd.estadoId ");
sql.append(" order by agrc.fechorVenta ");
return sql.toString();
}

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="RelatorioFinanceiroAnalitico" pageWidth="2260" pageHeight="595" orientation="Landscape" columnWidth="2260" leftMargin="0" rightMargin="0" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="1a307341-ad36-4306-8e8d-c8b55fb6bcc6">
<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="RelatorioFinanceiroAnalitico" pageWidth="2186" pageHeight="595" orientation="Landscape" columnWidth="2186" leftMargin="0" rightMargin="0" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="1a307341-ad36-4306-8e8d-c8b55fb6bcc6">
<property name="ireport.zoom" value="0.7513148009015815"/>
<property name="ireport.x" value="0"/>
<property name="ireport.x" value="644"/>
<property name="ireport.y" value="0"/>
<parameter name="nombempresa" class="java.lang.String"/>
<parameter name="inicio" class="java.util.Date"/>
@ -448,21 +448,7 @@
<textFieldExpression><![CDATA["Boleto (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1927" y="84" width="82" height="25" backcolor="#FFFF00" uuid="e9f80560-30c2-4404-9955-f08a5ab9da73"/>
<box>
<pen lineStyle="Dashed"/>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<leftPen lineStyle="Dashed"/>
<bottomPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineStyle="Dashed"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA["Depósito (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2009" y="84" width="82" height="25" backcolor="#FFFF00" uuid="4b285246-a8f8-4b44-ab67-286d37e14ad7"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1927" y="84" width="82" height="25" backcolor="#FFFF00" uuid="4b285246-a8f8-4b44-ab67-286d37e14ad7"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<bottomPen lineWidth="0.25" lineStyle="Dashed"/>
@ -474,7 +460,7 @@
<textFieldExpression><![CDATA["Total Detalhamento"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2091" y="84" width="82" height="25" backcolor="#FFFF00" uuid="f8cd16e6-f772-4890-98ac-086ce35caba2"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2009" y="84" width="82" height="25" backcolor="#FFFF00" uuid="f8cd16e6-f772-4890-98ac-086ce35caba2"/>
<box>
<leftPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -552,7 +538,7 @@
<text><![CDATA[Receita Liquida]]></text>
</staticText>
<staticText>
<reportElement x="1435" y="62" width="656" height="20" uuid="fd4acb36-3047-4fbf-b292-4cd5048ddbad"/>
<reportElement x="1435" y="62" width="574" height="20" uuid="fd4acb36-3047-4fbf-b292-4cd5048ddbad"/>
<box>
<topPen lineWidth="1.0"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -563,7 +549,7 @@
<text><![CDATA[Detalhamento]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2173" y="84" width="82" height="25" backcolor="#FFFF00" uuid="777e42f6-78a0-4bca-8191-e79e2487bf7a"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2091" y="84" width="82" height="25" backcolor="#FFFF00" uuid="777e42f6-78a0-4bca-8191-e79e2487bf7a"/>
<textElement textAlignment="Center" markup="none">
<font size="7"/>
</textElement>
@ -580,7 +566,7 @@
<text><![CDATA[]]></text>
</staticText>
<staticText>
<reportElement x="2091" y="62" width="164" height="20" uuid="fb2ffc06-a5e3-4d10-bcca-bcdf37eb4764"/>
<reportElement x="2009" y="62" width="164" height="20" uuid="fb2ffc06-a5e3-4d10-bcca-bcdf37eb4764"/>
<box>
<topPen lineWidth="1.0"/>
</box>
@ -604,25 +590,25 @@
<textFieldExpression><![CDATA["Resumo de Venda"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" evaluationTime="Report">
<reportElement x="2222" y="20" width="22" height="20" uuid="7a511c37-de1d-4cda-8623-c17659a71102"/>
<reportElement x="2140" y="20" width="22" height="20" uuid="7a511c37-de1d-4cda-8623-c17659a71102"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="2146" y="20" width="42" height="20" uuid="f2f2567c-a631-474d-b1f6-c336b0db83f2"/>
<reportElement x="2064" y="20" width="42" height="20" uuid="f2f2567c-a631-474d-b1f6-c336b0db83f2"/>
<textFieldExpression><![CDATA["Página"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
<reportElement x="2146" y="0" width="98" height="20" uuid="16819dee-9bb4-4601-b187-bb541f07fce4"/>
<reportElement x="2064" y="0" width="98" height="20" uuid="16819dee-9bb4-4601-b187-bb541f07fce4"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="2090" y="0" width="56" height="20" uuid="b770604c-e5d7-430f-bf26-c8976bb19137"/>
<reportElement x="2008" y="0" width="56" height="20" uuid="b770604c-e5d7-430f-bf26-c8976bb19137"/>
<textFieldExpression><![CDATA["Data/Hora"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="2190" y="20" width="32" height="20" uuid="c76ef621-c5b2-4b12-98bc-746412d95e1e"/>
<reportElement x="2108" y="20" width="32" height="20" uuid="c76ef621-c5b2-4b12-98bc-746412d95e1e"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
</textField>
@ -869,17 +855,7 @@
<textFieldExpression><![CDATA[$F{boletoBancario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1927" y="0" width="82" height="15" uuid="7817640d-d4cf-49ac-ade5-a6a77b1d0cde"/>
<box>
<topPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{deposito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2009" y="0" width="82" height="15" backcolor="#FFFF00" uuid="cf19637a-d07d-46a4-8510-b4e7fd6b5e23"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1927" y="0" width="82" height="15" backcolor="#FFFF00" uuid="cf19637a-d07d-46a4-8510-b4e7fd6b5e23"/>
<box>
<topPen lineWidth="0.0"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -890,7 +866,7 @@
<textFieldExpression><![CDATA[$F{totalDetalhamento}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="2091" y="0" width="82" height="15" uuid="51a512ea-0eda-4ecf-964c-28bebabe974f"/>
<reportElement stretchType="RelativeToTallestObject" x="2009" y="0" width="82" height="15" uuid="51a512ea-0eda-4ecf-964c-28bebabe974f"/>
<box>
<topPen lineWidth="0.0"/>
</box>
@ -910,7 +886,7 @@
<textFieldExpression><![CDATA[$F{gapVenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="2173" y="0" width="82" height="15" uuid="cf56e966-f22c-466b-8ba9-b26457b4577a"/>
<reportElement x="2091" y="0" width="82" height="15" uuid="cf56e966-f22c-466b-8ba9-b26457b4577a"/>
<box>
<topPen lineWidth="0.0"/>
</box>
@ -1026,7 +1002,7 @@
<textFieldExpression><![CDATA[$V{somaReceitaLiquida}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="2091" y="0" width="82" height="15" uuid="471e76a9-5c4b-4b45-9f4d-aea49c4c6dca"/>
<reportElement x="2009" y="0" width="82" height="15" uuid="471e76a9-5c4b-4b45-9f4d-aea49c4c6dca"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -1128,7 +1104,7 @@
<textFieldExpression><![CDATA[$V{somaGapVenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement mode="Opaque" x="2009" y="0" width="82" height="15" backcolor="#FFFF00" uuid="8e8a8960-6e08-4ebb-a1fc-61af0f98b916"/>
<reportElement mode="Opaque" x="1927" y="0" width="82" height="15" backcolor="#FFFF00" uuid="8e8a8960-6e08-4ebb-a1fc-61af0f98b916"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
<rightPen lineWidth="0.25" lineStyle="Dashed"/>
@ -1169,16 +1145,6 @@
</textElement>
<textFieldExpression><![CDATA[$V{somaGapImpressa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="1927" y="0" width="82" height="15" uuid="684daa7c-ba34-4923-8143-6241e2d242b2"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaDeposito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="0" width="41" height="15" uuid="6c012fbc-91dd-4c84-b153-8a9fbdf85312"/>
<box>
@ -1203,7 +1169,7 @@
<textFieldExpression><![CDATA[$V{sumReceitaBruta}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="2173" y="0" width="82" height="15" uuid="b4e5935f-752c-4ff3-91c8-9613a5465a4a"/>
<reportElement x="2091" y="0" width="82" height="15" uuid="b4e5935f-752c-4ff3-91c8-9613a5465a4a"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>

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="2230" pageHeight="595" orientation="Landscape" columnWidth="2230" leftMargin="0" rightMargin="0" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="1a307341-ad36-4306-8e8d-c8b55fb6bcc6">
<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="1709"/>
<property name="ireport.x" value="1600"/>
<property name="ireport.y" value="0"/>
<parameter name="nombempresa" class="java.lang.String"/>
<parameter name="inicio" class="java.util.Date"/>
@ -399,18 +399,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="a37d6775-aaa5-44ca-965c-21011debdb63"/>
<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["Depósito (-)"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2054" y="84" width="82" height="25" backcolor="#FFFF00" uuid="fc2efc7c-e18e-4309-b0d1-a586e1255b4f"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1972" 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"/>
@ -421,7 +410,7 @@
<textFieldExpression><![CDATA["Total Detalhamento"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2136" y="84" width="82" height="25" backcolor="#FFFF00" uuid="a7589c35-a661-44af-86f2-f299015ab6ee"/>
<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"/>
@ -500,7 +489,7 @@
<text><![CDATA[Receita Liquida]]></text>
</staticText>
<staticText>
<reportElement x="1480" y="63" width="656" height="20" uuid="fd4acb36-3047-4fbf-b292-4cd5048ddbad"/>
<reportElement x="1480" y="63" width="574" height="20" uuid="fd4acb36-3047-4fbf-b292-4cd5048ddbad"/>
<box>
<topPen lineWidth="1.0"/>
</box>
@ -560,25 +549,25 @@
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" evaluationTime="Report">
<reportElement x="2192" y="20" width="22" height="20" uuid="1fac34da-fee2-40c5-a373-ba0e09ffaf2d"/>
<reportElement x="2110" y="20" width="22" height="20" uuid="1fac34da-fee2-40c5-a373-ba0e09ffaf2d"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="2116" y="20" width="42" height="20" uuid="4540849f-7bb1-42d6-aa8b-f0024986f3d7"/>
<reportElement x="2034" y="20" width="42" height="20" uuid="4540849f-7bb1-42d6-aa8b-f0024986f3d7"/>
<textFieldExpression><![CDATA["Página"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="2160" y="20" width="32" height="20" uuid="b847ea58-a801-4106-9f23-597ff9c0169d"/>
<reportElement x="2078" y="20" width="32" height="20" uuid="b847ea58-a801-4106-9f23-597ff9c0169d"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="2060" y="0" width="56" height="20" uuid="3b59c734-1e23-48c1-831c-ffb0f5f6c8de"/>
<reportElement x="1978" y="0" width="56" height="20" uuid="3b59c734-1e23-48c1-831c-ffb0f5f6c8de"/>
<textFieldExpression><![CDATA["Data/Hora"]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
<reportElement x="2116" y="0" width="98" height="20" uuid="916bc4cb-73e2-4c18-8d80-ab88380ecde5"/>
<reportElement x="2034" y="0" width="98" height="20" uuid="916bc4cb-73e2-4c18-8d80-ab88380ecde5"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
@ -834,17 +823,7 @@
<textFieldExpression><![CDATA[$F{boletoBancario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1972" y="0" width="82" height="15" uuid="7817640d-d4cf-49ac-ade5-a6a77b1d0cde"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{deposito}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2054" y="0" width="82" height="15" backcolor="#FFFF00" uuid="cf19637a-d07d-46a4-8510-b4e7fd6b5e23"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1972" 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"/>
@ -855,7 +834,7 @@
<textFieldExpression><![CDATA[$F{totalDetalhamento}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="2136" y="0" width="82" height="15" uuid="51a512ea-0eda-4ecf-964c-28bebabe974f"/>
<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>
@ -979,7 +958,7 @@
<textFieldExpression><![CDATA[$V{somaReceitaLiquida}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="2136" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="471e76a9-5c4b-4b45-9f4d-aea49c4c6dca"/>
<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>
@ -1080,7 +1059,7 @@
<textFieldExpression><![CDATA[$V{somaGapVenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="2054" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="8e8a8960-6e08-4ebb-a1fc-61af0f98b916"/>
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="1972" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" backcolor="#FFFF00" uuid="8e8a8960-6e08-4ebb-a1fc-61af0f98b916"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
@ -1119,16 +1098,6 @@
</textElement>
<textFieldExpression><![CDATA[$V{somaGapImpressa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="1972" y="0" width="82" height="15" isPrintWhenDetailOverflows="true" uuid="684daa7c-ba34-4923-8143-6241e2d242b2"/>
<box>
<topPen lineWidth="0.25" lineStyle="Dashed"/>
</box>
<textElement textAlignment="Right">
<font size="7" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{somaDeposito}]]></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"/>
<box>