fixes bug #8006
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@60598 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
8e9965947a
commit
2d50c88cb0
|
@ -64,6 +64,7 @@ public class RelatorioDepositos extends Relatorio {
|
||||||
deposito.setSaldo(rs.getBigDecimal(4).multiply(BigDecimal.valueOf(-1)));
|
deposito.setSaldo(rs.getBigDecimal(4).multiply(BigDecimal.valueOf(-1)));
|
||||||
deposito.setVrdeposito(rs.getBigDecimal(5));
|
deposito.setVrdeposito(rs.getBigDecimal(5));
|
||||||
deposito.setVrfechamento(rs.getBigDecimal(6));
|
deposito.setVrfechamento(rs.getBigDecimal(6));
|
||||||
|
deposito.setNumdeposito(rs.getString(7));
|
||||||
lsDadosRelatorio.add(deposito);
|
lsDadosRelatorio.add(deposito);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,23 +92,39 @@ public class RelatorioDepositos extends Relatorio {
|
||||||
|
|
||||||
StringBuilder sql = new StringBuilder();
|
StringBuilder sql = new StringBuilder();
|
||||||
|
|
||||||
sql.append(" SELECT tmp.* FROM ( ");
|
sql.append(" SELECT DISTINCT tmp.nombempresa, ");
|
||||||
sql.append(" SELECT e.nombempresa, ");
|
sql.append(" tmp.nombpuntoventa, ");
|
||||||
sql.append(" p.nombpuntoventa, ");
|
sql.append(" tmp.dtmotivo, ");
|
||||||
sql.append(" f.fecfechamento AS dtmotivo, ");
|
sql.append(" tmp.saldo, ");
|
||||||
sql.append(" ( sum(NVL(fd.valor_pago,0)) - f.total ) AS saldo, ");
|
sql.append(" tmp.vrfechamento, ");
|
||||||
sql.append(" SUM(NVL(fd.valor_pago,0)) AS vrfechamento , ");
|
sql.append(" tmp.vrdeposito, ");
|
||||||
sql.append(" f.total AS vrdeposito ");
|
sql.append(" COALESCE( ");
|
||||||
sql.append(" FROM fechamento_cntcorrente f ");
|
sql.append(" (SELECT UNIQUE LISTAGG( fdep.NUMDEPOSITO, ',') WITHIN GROUP ( ");
|
||||||
sql.append(" INNER JOIN punto_venta p ");
|
sql.append(" ORDER BY fdep.NUMDEPOSITO) as NUMDEPOSITO ");
|
||||||
sql.append(" ON p.puntoventa_id = f.puntoventa_id ");
|
sql.append(" FROM fechamento_cntcorrente fcnt ");
|
||||||
sql.append(" INNER JOIN empresa e ");
|
sql.append(" LEFT JOIN Fechamento_deposito fdep ");
|
||||||
sql.append(" ON e.empresa_id = f.empresa_id ");
|
sql.append(" ON fcnt.FECHAMENTOCNTCORRENTE_ID = fdep.FECHAMENTOCNTCORRENTE_ID ");
|
||||||
sql.append(" LEFT JOIN fechamento_cct_deposito fd ");
|
sql.append(" WHERE fcnt.FECHAMENTOCNTCORRENTE_ID = tmp.FECHAMENTOCNTCORRENTE_ID ");
|
||||||
sql.append(" ON fd.fechamentocntcorrente_id = f.fechamentocntcorrente_id ");
|
sql.append(" GROUP BY fcnt.FECHAMENTOCNTCORRENTE_ID ");
|
||||||
sql.append(" AND fd.activo = 1 ");
|
sql.append(" ), ' ') AS numdeposito ");
|
||||||
sql.append(" WHERE f.fecfechamento BETWEEN ? AND ? ");
|
sql.append(" FROM ");
|
||||||
sql.append(" AND f.activo = 1 ");
|
sql.append(" ( SELECT DISTINCT e.nombempresa, ");
|
||||||
|
sql.append(" p.nombpuntoventa, ");
|
||||||
|
sql.append(" f.fecfechamento AS dtmotivo, ");
|
||||||
|
sql.append(" ( SUM(NVL(fd.valor_pago,0)) - f.total ) AS saldo, ");
|
||||||
|
sql.append(" SUM(NVL(fd.valor_pago,0)) AS vrfechamento , ");
|
||||||
|
sql.append(" f.total AS vrdeposito, ");
|
||||||
|
sql.append(" fd.FECHAMENTOCNTCORRENTE_ID ");
|
||||||
|
sql.append(" FROM fechamento_cntcorrente f ");
|
||||||
|
sql.append(" INNER JOIN punto_venta p ");
|
||||||
|
sql.append(" ON p.puntoventa_id = f.puntoventa_id ");
|
||||||
|
sql.append(" INNER JOIN empresa e ");
|
||||||
|
sql.append(" ON e.empresa_id = f.empresa_id ");
|
||||||
|
sql.append(" LEFT JOIN fechamento_cct_deposito fd ");
|
||||||
|
sql.append(" ON fd.fechamentocntcorrente_id = f.fechamentocntcorrente_id ");
|
||||||
|
sql.append(" AND fd.activo = 1 ");
|
||||||
|
sql.append(" WHERE f.fecfechamento BETWEEN ? AND ?");
|
||||||
|
sql.append(" AND f.activo = 1 ");
|
||||||
|
|
||||||
if (puntoVentaId != null){
|
if (puntoVentaId != null){
|
||||||
sql.append(" and f.puntoventa_id = " + puntoVentaId);
|
sql.append(" and f.puntoventa_id = " + puntoVentaId);
|
||||||
|
@ -119,6 +136,7 @@ public class RelatorioDepositos extends Relatorio {
|
||||||
sql.append(" GROUP BY e.nombempresa, ");
|
sql.append(" GROUP BY e.nombempresa, ");
|
||||||
sql.append(" p.nombpuntoventa, ");
|
sql.append(" p.nombpuntoventa, ");
|
||||||
sql.append(" f.fecfechamento, ");
|
sql.append(" f.fecfechamento, ");
|
||||||
|
sql.append(" fd.FECHAMENTOCNTCORRENTE_ID, ");
|
||||||
sql.append(" f.total ) tmp ");
|
sql.append(" f.total ) tmp ");
|
||||||
if (filtrarPendentes){
|
if (filtrarPendentes){
|
||||||
sql.append(" where ");
|
sql.append(" where ");
|
||||||
|
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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="RelatorioAgenciaFechamento" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
<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="RelatorioAgenciaFechamento" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty">
|
||||||
<property name="ireport.zoom" value="1.2396694214876032"/>
|
<property name="ireport.zoom" value="1.2396694214876032"/>
|
||||||
<property name="ireport.x" value="0"/>
|
<property name="ireport.x" value="31"/>
|
||||||
<property name="ireport.y" value="0"/>
|
<property name="ireport.y" value="0"/>
|
||||||
<parameter name="fecInicio" class="java.lang.String">
|
<parameter name="fecInicio" class="java.lang.String">
|
||||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||||
|
@ -17,6 +17,7 @@
|
||||||
<field name="nombempresa" class="java.lang.String"/>
|
<field name="nombempresa" class="java.lang.String"/>
|
||||||
<field name="vrdeposito" class="java.math.BigDecimal"/>
|
<field name="vrdeposito" class="java.math.BigDecimal"/>
|
||||||
<field name="vrfechamento" class="java.math.BigDecimal"/>
|
<field name="vrfechamento" class="java.math.BigDecimal"/>
|
||||||
|
<field name="numdeposito" class="java.lang.String"/>
|
||||||
<variable name="TOTAL_DEPOSITOS" class="java.math.BigDecimal" calculation="Sum">
|
<variable name="TOTAL_DEPOSITOS" class="java.math.BigDecimal" calculation="Sum">
|
||||||
<variableExpression><![CDATA[$F{vrdeposito}]]></variableExpression>
|
<variableExpression><![CDATA[$F{vrdeposito}]]></variableExpression>
|
||||||
</variable>
|
</variable>
|
||||||
|
@ -31,68 +32,78 @@
|
||||||
<groupHeader>
|
<groupHeader>
|
||||||
<band height="50">
|
<band height="50">
|
||||||
<rectangle>
|
<rectangle>
|
||||||
<reportElement uuid="3bd596f1-16bd-455b-8317-e0660be9b4d2" x="1" y="28" width="474" height="22" backcolor="#CCCCCC"/>
|
<reportElement x="1" y="28" width="538" height="22" backcolor="#CCCCCC"/>
|
||||||
</rectangle>
|
</rectangle>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="4f80de8b-2de8-4210-aaac-f409e8a38650" x="1" y="30" width="213" height="20"/>
|
<reportElement x="1" y="30" width="213" height="20"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.agencia}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.agencia}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="15e22f69-b6fd-4bd9-9835-1318a7d9bdd6" x="214" y="30" width="67" height="20"/>
|
<reportElement x="214" y="30" width="67" height="20"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.dtmotivo}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.dtmotivo}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="fc6c80d1-5961-421d-8d18-05ccacbced77" x="281" y="30" width="64" height="20"/>
|
<reportElement x="281" y="30" width="64" height="20"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.vrdeposito}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.vrdeposito}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="e1ae426c-866b-4995-9680-93647558056a" x="214" y="28" width="1" height="22"/>
|
<reportElement x="214" y="28" width="1" height="22"/>
|
||||||
</line>
|
</line>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="edf25bee-fe8b-4e7e-b923-bf4a32f203b0" x="280" y="28" width="1" height="22"/>
|
<reportElement x="280" y="28" width="1" height="22"/>
|
||||||
</line>
|
</line>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="e2d66857-d3a0-4663-98c3-8ffd3871e25e" x="345" y="28" width="1" height="22"/>
|
<reportElement x="345" y="28" width="1" height="22"/>
|
||||||
</line>
|
</line>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="6796c3b9-cb16-4c42-a968-de4efb1e9d34" x="2" y="0" width="86" height="20"/>
|
<reportElement x="2" y="0" width="86" height="20"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
<reportElement uuid="8ee7a8f8-56d0-4a6b-8cf3-5d73d0360ec2" x="88" y="0" width="213" height="20"/>
|
<reportElement x="88" y="0" width="213" height="20"/>
|
||||||
<textElement textAlignment="Left">
|
<textElement textAlignment="Left" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{nombempresa}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{nombempresa}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="4cef0491-2b7e-4435-bb9e-8441f7b37a59" x="346" y="30" width="64" height="20"/>
|
<reportElement x="346" y="30" width="64" height="20"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.vrfechamento}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.vrfechamento}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="203cfe58-7c3c-4e8d-8cb5-a3d35ba6949b" x="410" y="30" width="64" height="20"/>
|
<reportElement x="410" y="30" width="64" height="20"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.saldo}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.saldo}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="c055c960-15b8-4d12-bd21-6403ee82f8f1" x="410" y="28" width="1" height="22"/>
|
<reportElement x="410" y="28" width="1" height="22"/>
|
||||||
|
</line>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="479" y="28" width="60" height="20"/>
|
||||||
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.saldo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement x="474" y="28" width="1" height="22"/>
|
||||||
</line>
|
</line>
|
||||||
</band>
|
</band>
|
||||||
</groupHeader>
|
</groupHeader>
|
||||||
|
@ -103,146 +114,156 @@
|
||||||
<pageHeader>
|
<pageHeader>
|
||||||
<band height="41" splitType="Stretch">
|
<band height="41" splitType="Stretch">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716" x="231" y="20" width="49" height="20"/>
|
<reportElement x="231" y="20" width="49" height="20"/>
|
||||||
<textElement>
|
<textElement lineSpacing="Single">
|
||||||
<font isBold="true"/>
|
<font isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.data}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="397" y="0" width="56" height="20"/>
|
<reportElement x="397" y="0" width="56" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField evaluationTime="Report">
|
<textField evaluationTime="Report">
|
||||||
<reportElement uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f" x="529" y="20" width="22" height="20"/>
|
<reportElement x="529" y="20" width="22" height="20"/>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right" lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="463" y="20" width="42" height="20"/>
|
<reportElement x="463" y="20" width="42" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50" x="280" y="20" width="182" height="20"/>
|
<reportElement x="280" y="20" width="182" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="652312bd-292a-424d-a234-5f157e3699c6" x="0" y="0" width="231" height="20"/>
|
<reportElement x="0" y="0" width="231" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy HH:mm">
|
<textField pattern="dd/MM/yyyy HH:mm">
|
||||||
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="453" y="0" width="98" height="20"/>
|
<reportElement x="453" y="0" width="98" height="20"/>
|
||||||
<textElement textAlignment="Left"/>
|
<textElement textAlignment="Left" lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a" x="505" y="20" width="24" height="20"/>
|
<reportElement x="505" y="20" width="24" height="20"/>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right" lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</pageHeader>
|
</pageHeader>
|
||||||
<detail>
|
<detail>
|
||||||
<band height="18" splitType="Stretch">
|
<band height="18" splitType="Stretch">
|
||||||
<rectangle>
|
<rectangle>
|
||||||
<reportElement uuid="ead1d435-99e1-4b49-af23-a18e493b3ba2" x="1" y="0" width="474" height="18"/>
|
<reportElement x="1" y="0" width="538" height="18"/>
|
||||||
</rectangle>
|
</rectangle>
|
||||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
<reportElement uuid="5eac8194-63bd-43d7-8da2-8ed75f4f9219" x="215" y="1" width="63" height="17"/>
|
<reportElement x="215" y="1" width="63" height="17"/>
|
||||||
<textElement textAlignment="Center">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{dtmotivo}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{dtmotivo}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
<reportElement uuid="238ae418-25c4-454e-814f-795671662ab8" x="1" y="1" width="213" height="17"/>
|
<reportElement x="1" y="1" width="213" height="17"/>
|
||||||
<textElement textAlignment="Left">
|
<textElement textAlignment="Left" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement uuid="7778ded2-0053-4c1a-b21e-60c021cb345f" x="281" y="1" width="62" height="17"/>
|
<reportElement x="281" y="1" width="62" height="17"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{vrdeposito}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{vrdeposito}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement uuid="39c5107d-6431-4142-b368-35842df8a04b" x="346" y="1" width="62" height="17"/>
|
<reportElement x="346" y="1" width="62" height="17"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{vrfechamento}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{vrfechamento}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement uuid="ad842533-a9bb-471a-bc47-1a4fce3baef0" x="412" y="1" width="62" height="17"/>
|
<reportElement x="412" y="1" width="62" height="17"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right" lineSpacing="Single">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$F{saldo}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{saldo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement isPrintRepeatedValues="false" x="479" y="1" width="60" height="17"/>
|
||||||
|
<textElement textAlignment="Right" lineSpacing="Single">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{numdeposito}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="600849f5-df37-4407-a3a7-8152020413c6" x="214" y="0" width="1" height="18"/>
|
<reportElement x="214" y="0" width="1" height="18"/>
|
||||||
</line>
|
</line>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="38ac3440-bebf-4c31-8337-be22bdd23ea8" x="280" y="0" width="1" height="18"/>
|
<reportElement x="280" y="0" width="1" height="18"/>
|
||||||
</line>
|
</line>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="860c0012-036a-4cf2-ad49-55f4db337969" x="345" y="0" width="1" height="18"/>
|
<reportElement x="345" y="0" width="1" height="18"/>
|
||||||
</line>
|
</line>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="dba84eea-8562-45e8-a485-817d1684133c" x="410" y="0" width="1" height="18"/>
|
<reportElement x="410" y="0" width="1" height="18"/>
|
||||||
|
</line>
|
||||||
|
<line>
|
||||||
|
<reportElement x="475" y="0" width="1" height="18"/>
|
||||||
</line>
|
</line>
|
||||||
</band>
|
</band>
|
||||||
</detail>
|
</detail>
|
||||||
<summary>
|
<summary>
|
||||||
<band height="78">
|
<band height="78">
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="f37360c3-0284-4460-901a-ee80127a5cc7" x="180" y="12" width="100" height="20"/>
|
<reportElement x="180" y="12" width="100" height="20"/>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right" lineSpacing="Single"/>
|
||||||
<text><![CDATA[Total Depósitos]]></text>
|
<text><![CDATA[Total Depósitos]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<textField pattern="¤ #,##0.00">
|
<textField pattern="¤ #,##0.00">
|
||||||
<reportElement uuid="9bf82cd6-9ee1-4a57-8dd9-3d7cb57662ed" x="301" y="12" width="178" height="20"/>
|
<reportElement x="301" y="12" width="178" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$V{TOTAL_DEPOSITOS}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$V{TOTAL_DEPOSITOS}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="f003fc17-ec50-48b2-9d50-f6378794e77f" x="181" y="32" width="100" height="20"/>
|
<reportElement x="181" y="32" width="100" height="20"/>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right" lineSpacing="Single"/>
|
||||||
<text><![CDATA[Total Fechamento]]></text>
|
<text><![CDATA[Total Fechamento]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<textField pattern="¤ #,##0.00">
|
<textField pattern="¤ #,##0.00">
|
||||||
<reportElement uuid="5e0a6f93-0fcb-4b00-b37c-5868cae8997c" x="301" y="32" width="178" height="20"/>
|
<reportElement x="301" y="32" width="178" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$V{TOTAL_FECHAMENTO}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$V{TOTAL_FECHAMENTO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement uuid="b619d1d0-fd58-40b8-9af2-7fb2397fcef5" x="181" y="52" width="100" height="20"/>
|
<reportElement x="181" y="52" width="100" height="20"/>
|
||||||
<textElement textAlignment="Right"/>
|
<textElement textAlignment="Right" lineSpacing="Single"/>
|
||||||
<text><![CDATA[Total Pendente]]></text>
|
<text><![CDATA[Total Pendente]]></text>
|
||||||
</staticText>
|
</staticText>
|
||||||
<textField pattern="¤ #,##0.00">
|
<textField pattern="¤ #,##0.00">
|
||||||
<reportElement uuid="03efbc40-1a95-4c93-aa0a-7be1bdda7734" x="301" y="52" width="178" height="20"/>
|
<reportElement x="301" y="52" width="178" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$V{TOTAL_SALDO}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$V{TOTAL_SALDO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</summary>
|
</summary>
|
||||||
<noData>
|
<noData>
|
||||||
<band height="20">
|
<band height="20">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="555" height="20"/>
|
<reportElement x="0" y="0" width="555" height="20"/>
|
||||||
<textElement/>
|
<textElement lineSpacing="Single"/>
|
||||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<line>
|
<line>
|
||||||
<reportElement uuid="564bf365-17ff-4041-9539-a40251a1b17c" x="0" y="0" width="555" height="1"/>
|
<reportElement x="0" y="0" width="555" height="1"/>
|
||||||
</line>
|
</line>
|
||||||
</band>
|
</band>
|
||||||
</noData>
|
</noData>
|
||||||
|
|
|
@ -10,6 +10,7 @@ public class RelatorioDepositoBean {
|
||||||
private BigDecimal vrdeposito;
|
private BigDecimal vrdeposito;
|
||||||
private BigDecimal vrfechamento;
|
private BigDecimal vrfechamento;
|
||||||
private Date dtmotivo;
|
private Date dtmotivo;
|
||||||
|
private String numdeposito;
|
||||||
|
|
||||||
public String getNombpuntoventa() {
|
public String getNombpuntoventa() {
|
||||||
return nombpuntoventa;
|
return nombpuntoventa;
|
||||||
|
@ -47,4 +48,11 @@ public class RelatorioDepositoBean {
|
||||||
public void setVrfechamento(BigDecimal vrfechamento) {
|
public void setVrfechamento(BigDecimal vrfechamento) {
|
||||||
this.vrfechamento = vrfechamento;
|
this.vrfechamento = vrfechamento;
|
||||||
}
|
}
|
||||||
|
public String getNumdeposito() {
|
||||||
|
return numdeposito;
|
||||||
|
}
|
||||||
|
public void setNumdeposito(String numdeposito) {
|
||||||
|
this.numdeposito = numdeposito;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue