fixes bug#14527
dev: qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@95145 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0c94b64492
commit
fbb97e74f5
|
@ -163,39 +163,30 @@ public class RelatorioDepositos extends Relatorio {
|
||||||
sql.append(" SUM(NVL(fd.valor_pago,0)) AS vrfechamento , ");
|
sql.append(" SUM(NVL(fd.valor_pago,0)) AS vrfechamento , ");
|
||||||
sql.append(" f.total AS vrdeposito, ");
|
sql.append(" f.total AS vrdeposito, ");
|
||||||
sql.append(" f.FECHAMENTOCNTCORRENTE_ID, ");
|
sql.append(" f.FECHAMENTOCNTCORRENTE_ID, ");
|
||||||
// sql.append(" fdp.NUMDEPOSITO as numdeposito, ");
|
sql.append(" fdp.NUMDEPOSITO as numdeposito, ");
|
||||||
sql.append(" null as numdeposito, ");
|
sql.append(" ifin.CODIGO as codinstfin, ");
|
||||||
// sql.append(" ifin.CODIGO as codinstfin, ");
|
sql.append(" ifin.NOME as nomeinstfin ");
|
||||||
sql.append(" null as codinstfin, ");
|
|
||||||
// sql.append(" ifin.NOME as nomeinstfin ");
|
|
||||||
sql.append(" null as nomeinstfin ");
|
|
||||||
sql.append(" FROM fechamento_cntcorrente f ");
|
sql.append(" FROM fechamento_cntcorrente f ");
|
||||||
// Join com PuntoVenta
|
|
||||||
sql.append(" LEFT JOIN punto_venta p ");
|
sql.append(" LEFT JOIN punto_venta p ");
|
||||||
sql.append(" ON p.puntoventa_id = f.puntoventa_id ");
|
sql.append(" ON p.puntoventa_id = f.puntoventa_id ");
|
||||||
// Join com empresa
|
|
||||||
sql.append(" LEFT JOIN empresa e ");
|
sql.append(" LEFT JOIN empresa e ");
|
||||||
sql.append(" ON e.empresa_id = f.empresa_id ");
|
sql.append(" ON e.empresa_id = f.empresa_id ");
|
||||||
// Join com fechamento_cct_deposito
|
|
||||||
sql.append(" LEFT JOIN fechamento_cct_deposito fd ");
|
sql.append(" LEFT JOIN fechamento_cct_deposito fd ");
|
||||||
sql.append(" ON fd.fechamentocntcorrente_id = f.fechamentocntcorrente_id ");
|
sql.append(" ON fd.fechamentocntcorrente_id = f.fechamentocntcorrente_id ");
|
||||||
sql.append(" AND fd.activo = 1 ");
|
sql.append(" AND fd.activo = 1 ");
|
||||||
// Join com FECHAMENTO_DEPOSITO
|
|
||||||
sql.append(" LEFT JOIN FECHAMENTO_DEPOSITO fdp ");
|
sql.append(" LEFT JOIN FECHAMENTO_DEPOSITO fdp ");
|
||||||
sql.append(" ON fdp.FECHAMENTODEPOSITO_ID = fd.FECHAMENTODEPOSITO_ID ");
|
sql.append(" ON fdp.FECHAMENTODEPOSITO_ID = fd.FECHAMENTODEPOSITO_ID ");
|
||||||
sql.append(" AND fdp.activo = 1 ");
|
sql.append(" AND fdp.activo = 1 ");
|
||||||
// Join com empresa_contabancaria
|
|
||||||
sql.append(" LEFT JOIN empresa_contabancaria ecb ");
|
sql.append(" LEFT JOIN empresa_contabancaria ecb ");
|
||||||
sql.append(" ON ecb.EMPRESACONTABANCARIA_ID = fdp.EMPRESACONTABANCARIA_ID ");
|
sql.append(" ON ecb.EMPRESACONTABANCARIA_ID = fdp.EMPRESACONTABANCARIA_ID ");
|
||||||
sql.append(" AND ecb.activo = 1 ");
|
sql.append(" AND ecb.activo = 1 ");
|
||||||
// Join com INSTI_FINANCEIRA
|
|
||||||
sql.append(" LEFT JOIN INSTI_FINANCEIRA ifin ");
|
sql.append(" LEFT JOIN INSTI_FINANCEIRA ifin ");
|
||||||
sql.append(" ON ifin.INSTIFINANCEIRA_ID = ecb.INSTIFINANCEIRA_ID ");
|
sql.append(" ON ifin.INSTIFINANCEIRA_ID = ecb.INSTIFINANCEIRA_ID ");
|
||||||
sql.append(" AND ifin.activo = 1 ");
|
sql.append(" AND ifin.activo = 1 ");
|
||||||
sql.append(" WHERE f.fecfechamento BETWEEN ? AND ? ");
|
sql.append(" WHERE f.fecfechamento BETWEEN ? AND ? ");
|
||||||
sql.append(" AND f.activo = 1 ");
|
sql.append(" AND f.activo = 1 ");
|
||||||
sql.append(" AND e.activo = 1 ");
|
sql.append(" AND e.activo = 1 ");
|
||||||
sql.append(" AND p.activo = 1 ");
|
sql.append(" AND p.activo = 1 ");
|
||||||
|
|
||||||
if (puntoVentaId != null && puntoVentaId != -1){
|
if (puntoVentaId != null && puntoVentaId != -1){
|
||||||
sql.append(" and f.puntoventa_id = " + puntoVentaId);
|
sql.append(" and f.puntoventa_id = " + puntoVentaId);
|
||||||
|
@ -209,12 +200,9 @@ public class RelatorioDepositos extends Relatorio {
|
||||||
sql.append(" f.fecfechamento, ");
|
sql.append(" f.fecfechamento, ");
|
||||||
sql.append(" f.FECHAMENTOCNTCORRENTE_ID, ");
|
sql.append(" f.FECHAMENTOCNTCORRENTE_ID, ");
|
||||||
sql.append(" f.total, ");
|
sql.append(" f.total, ");
|
||||||
// sql.append(" fdp.NUMDEPOSITO, ");
|
sql.append(" fdp.NUMDEPOSITO, ");
|
||||||
sql.append(" null, ");
|
sql.append(" ifin.CODIGO, ");
|
||||||
// sql.append(" ifin.CODIGO, ");
|
sql.append(" ifin.NOME ) tmp ");
|
||||||
sql.append(" null, ");
|
|
||||||
// sql.append(" ifin.NOME ) tmp ");
|
|
||||||
sql.append(" null ) tmp ");
|
|
||||||
if (filtrarPendentes){
|
if (filtrarPendentes){
|
||||||
sql.append(" where ");
|
sql.append(" where ");
|
||||||
sql.append(" tmp.saldo < tmp.vrdeposito and tmp.saldo <> 0");
|
sql.append(" tmp.saldo < tmp.vrdeposito and tmp.saldo <> 0");
|
||||||
|
|
|
@ -0,0 +1,171 @@
|
||||||
|
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.sql.Connection;
|
||||||
|
import java.sql.PreparedStatement;
|
||||||
|
import java.sql.ResultSet;
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioDepositoBean;
|
||||||
|
|
||||||
|
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||||
|
|
||||||
|
public class RelatorioDepositosNovo extends Relatorio {
|
||||||
|
|
||||||
|
private static Logger log = Logger.getLogger(RelatorioDepositosNovo.class);
|
||||||
|
|
||||||
|
private List<RelatorioDepositoBean> lsDadosRelatorio;
|
||||||
|
|
||||||
|
public RelatorioDepositosNovo(Map<String, Object> parametros, Connection conexao) {
|
||||||
|
super(parametros, conexao);
|
||||||
|
|
||||||
|
try {
|
||||||
|
this.setCustomDataSource(new DataSource(this) {
|
||||||
|
@Override
|
||||||
|
public void initDados() throws Exception {
|
||||||
|
|
||||||
|
Connection conexao = this.relatorio.getConexao();
|
||||||
|
|
||||||
|
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||||
|
|
||||||
|
Integer puntoventaId = parametros.get("puntoventaId") != null ? Integer.parseInt(parametros.get("puntoventaId").toString()) : null;
|
||||||
|
Integer empresaId = parametros.get("empresaId") != null ? Integer.parseInt(parametros.get("empresaId").toString()) : null;
|
||||||
|
Boolean filtrarPendentes = parametros.get("filtrarPendentes") != null ? Boolean.parseBoolean(parametros.get("filtrarPendentes").toString()) : false;
|
||||||
|
String fecInicio = parametros.get("fecInicio").toString() + " 00:00:00";
|
||||||
|
String fecFinal = parametros.get("fecFinal").toString() + " 23:59:59";
|
||||||
|
|
||||||
|
String sql = getSQL(puntoventaId, empresaId, filtrarPendentes);
|
||||||
|
|
||||||
|
PreparedStatement stmt = conexao.prepareStatement(sql);
|
||||||
|
|
||||||
|
ResultSet rs = null;
|
||||||
|
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
|
||||||
|
|
||||||
|
stmt.setTimestamp(1, new java.sql.Timestamp(sdf.parse(fecInicio).getTime()));
|
||||||
|
stmt.setTimestamp(2, new java.sql.Timestamp(sdf.parse(fecFinal).getTime()));
|
||||||
|
|
||||||
|
rs = stmt.executeQuery();
|
||||||
|
|
||||||
|
lsDadosRelatorio = new ArrayList<RelatorioDepositoBean>();
|
||||||
|
|
||||||
|
while (rs.next()) {
|
||||||
|
|
||||||
|
RelatorioDepositoBean deposito = new RelatorioDepositoBean();
|
||||||
|
deposito.setNombempresa(rs.getString(1));
|
||||||
|
deposito.setNombpuntoventa(rs.getString(2));
|
||||||
|
deposito.setNumpuntoventa(rs.getString(3));
|
||||||
|
deposito.setDtmotivo(rs.getDate(4));
|
||||||
|
deposito.setSaldo(rs.getBigDecimal(5).multiply(BigDecimal.valueOf(-1)));
|
||||||
|
deposito.setVrdeposito(rs.getBigDecimal(6));
|
||||||
|
deposito.setVrfechamento(rs.getBigDecimal(7));
|
||||||
|
deposito.setNumdeposito(rs.getString(8));
|
||||||
|
deposito.setCodigoInstFinanceira(rs.getString(9));
|
||||||
|
deposito.setNomeInstFinanceira(rs.getString(10));
|
||||||
|
|
||||||
|
lsDadosRelatorio.add(deposito);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (lsDadosRelatorio.size() > 0) {
|
||||||
|
setLsDadosRelatorio(lsDadosRelatorio);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("", e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsDadosRelatorio(List<RelatorioDepositoBean> lsDadosRelatorio) {
|
||||||
|
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||||
|
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void processaParametros() throws Exception {
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getSQL(Integer puntoVentaId, Integer empresaId, boolean filtrarPendentes) {
|
||||||
|
|
||||||
|
StringBuilder sql = new StringBuilder();
|
||||||
|
|
||||||
|
sql.append(" SELECT DISTINCT tmp.nombempresa, ");
|
||||||
|
sql.append(" tmp.nombpuntoventa, ");
|
||||||
|
sql.append(" tmp.numpuntoventa, ");
|
||||||
|
sql.append(" tmp.dtmotivo, ");
|
||||||
|
sql.append(" tmp.saldo, ");
|
||||||
|
sql.append(" tmp.vrfechamento, ");
|
||||||
|
sql.append(" tmp.vrdeposito, ");
|
||||||
|
sql.append(" tmp.numdeposito, ");
|
||||||
|
sql.append(" tmp.codinstfin, ");
|
||||||
|
sql.append(" tmp.nomeinstfin ");
|
||||||
|
sql.append(" FROM ");
|
||||||
|
sql.append(" ( SELECT DISTINCT e.nombempresa, ");
|
||||||
|
sql.append(" p.nombpuntoventa, ");
|
||||||
|
sql.append(" p.numpuntoventa, ");
|
||||||
|
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(" f.FECHAMENTOCNTCORRENTE_ID, ");
|
||||||
|
sql.append(" fdp.NUMDEPOSITO as numdeposito, ");
|
||||||
|
sql.append(" ifin.CODIGO as codinstfin, ");
|
||||||
|
sql.append(" NVL(ifin.NOME,'') as nomeinstfin ");
|
||||||
|
sql.append(" FROM fechamento_cntcorrente f ");
|
||||||
|
sql.append(" LEFT JOIN punto_venta p ");
|
||||||
|
sql.append(" ON p.puntoventa_id = f.puntoventa_id ");
|
||||||
|
sql.append(" LEFT 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(" LEFT JOIN FECHAMENTO_DEPOSITO fdp ");
|
||||||
|
sql.append(" ON fdp.FECHAMENTODEPOSITO_ID = fd.FECHAMENTODEPOSITO_ID ");
|
||||||
|
sql.append(" AND fdp.activo = 1 ");
|
||||||
|
sql.append(" LEFT JOIN empresa_contabancaria ecb ");
|
||||||
|
sql.append(" ON ecb.EMPRESACONTABANCARIA_ID = fdp.EMPRESACONTABANCARIA_ID ");
|
||||||
|
sql.append(" AND ecb.activo = 1 ");
|
||||||
|
sql.append(" LEFT JOIN INSTI_FINANCEIRA ifin ");
|
||||||
|
sql.append(" ON ifin.INSTIFINANCEIRA_ID = ecb.INSTIFINANCEIRA_ID ");
|
||||||
|
sql.append(" AND ifin.activo = 1 ");
|
||||||
|
sql.append(" WHERE f.fecfechamento BETWEEN ? AND ? ");
|
||||||
|
sql.append(" AND f.activo = 1 ");
|
||||||
|
sql.append(" AND e.activo = 1 ");
|
||||||
|
sql.append(" AND p.activo = 1 ");
|
||||||
|
|
||||||
|
if (puntoVentaId != null && puntoVentaId != -1){
|
||||||
|
sql.append(" and f.puntoventa_id = " + puntoVentaId);
|
||||||
|
}
|
||||||
|
if (empresaId != null && empresaId != -1){
|
||||||
|
sql.append(" and e.empresa_id = " + empresaId);
|
||||||
|
}
|
||||||
|
sql.append(" GROUP BY e.nombempresa, ");
|
||||||
|
sql.append(" p.nombpuntoventa, ");
|
||||||
|
sql.append(" p.numpuntoventa, ");
|
||||||
|
sql.append(" f.fecfechamento, ");
|
||||||
|
sql.append(" f.FECHAMENTOCNTCORRENTE_ID, ");
|
||||||
|
sql.append(" f.total, ");
|
||||||
|
sql.append(" fdp.NUMDEPOSITO, ");
|
||||||
|
sql.append(" ifin.CODIGO, ");
|
||||||
|
sql.append(" ifin.NOME ) tmp ");
|
||||||
|
|
||||||
|
if (filtrarPendentes){
|
||||||
|
sql.append(" where ");
|
||||||
|
sql.append(" tmp.saldo < tmp.vrdeposito and tmp.saldo <> 0 ");
|
||||||
|
}
|
||||||
|
sql.append(" ORDER BY tmp.nombempresa, ");
|
||||||
|
sql.append(" tmp.nomeinstfin, ");
|
||||||
|
sql.append(" tmp.nombpuntoventa, ");
|
||||||
|
sql.append(" tmp.dtmotivo, ");
|
||||||
|
sql.append(" tmp.vrdeposito ");
|
||||||
|
|
||||||
|
return sql.toString();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=No se pudo obtener datos con los parámetros reportados.
|
||||||
|
msg.a=a
|
||||||
|
|
||||||
|
#Labels header
|
||||||
|
header.data.hora=Data/Hora
|
||||||
|
header.pagina=Página
|
||||||
|
header.de= de
|
||||||
|
header.filtros=Filtros
|
||||||
|
header.banco=Banco
|
||||||
|
header.numdeposito=Nº Depósito
|
||||||
|
header.dataDeposito=Data
|
||||||
|
header.valorDeposito=Valor
|
||||||
|
header.empresa=Empresa:
|
||||||
|
header.data=Período:
|
||||||
|
header.agencia=Agência
|
||||||
|
header.dtmotivo=Data Fechamento
|
||||||
|
header.fechamento=Fechamento
|
||||||
|
header.saldo=Pendente
|
||||||
|
header.vrdeposito=Vr. Depósito
|
||||||
|
header.vrfechamento=Vr. Fechamento
|
||||||
|
header.usuario=Usuário
|
||||||
|
header.numdeposito=Num. Depósito
|
||||||
|
header.numeroAgencia=Número
|
||||||
|
|
||||||
|
#Labels Footer
|
||||||
|
footer.totalBanco=Total por Banco
|
||||||
|
footer.totalEmpresa=Total por Empresa
|
||||||
|
footer.total=Total Geral
|
|
@ -0,0 +1,29 @@
|
||||||
|
#geral
|
||||||
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
msg.a=a
|
||||||
|
|
||||||
|
#Labels header
|
||||||
|
header.data.hora=Data/Hora
|
||||||
|
header.pagina=Página
|
||||||
|
header.de= de
|
||||||
|
header.filtros=Filtros
|
||||||
|
header.banco=Banco
|
||||||
|
header.numdeposito=Nº Depósito
|
||||||
|
header.dataDeposito=Data
|
||||||
|
header.valorDeposito=Valor
|
||||||
|
header.empresa=Empresa:
|
||||||
|
header.data=Período:
|
||||||
|
header.agencia=Agência
|
||||||
|
header.dtmotivo=Data Fechamento
|
||||||
|
header.fechamento=Fechamento
|
||||||
|
header.saldo=Pendente
|
||||||
|
header.vrdeposito=Vr. Depósito
|
||||||
|
header.vrfechamento=Vr. Fechamento
|
||||||
|
header.usuario=Usuário
|
||||||
|
header.numdeposito=Num. Depósito
|
||||||
|
header.numeroAgencia=Número
|
||||||
|
|
||||||
|
#Labels Footer
|
||||||
|
footer.totalBanco=Total por Banco
|
||||||
|
footer.totalEmpresa=Total por Empresa
|
||||||
|
footer.total=Total Geral
|
|
@ -0,0 +1,150 @@
|
||||||
|
<?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="RelatorioDepositosNovo" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="575" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" isFloatColumnFooter="true" uuid="10b9ba27-b4cf-431f-b8ec-1939f0ee74f6">
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
|
||||||
|
<property name="ireport.zoom" value="1.6105100000000008"/>
|
||||||
|
<property name="ireport.x" value="0"/>
|
||||||
|
<property name="ireport.y" value="0"/>
|
||||||
|
<parameter name="TITULO" class="java.lang.String"/>
|
||||||
|
<parameter name="FILTROS" class="java.lang.String"/>
|
||||||
|
<parameter name="fecInicio" class="java.lang.String">
|
||||||
|
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="fecFinal" class="java.lang.String"/>
|
||||||
|
<group name="Group1">
|
||||||
|
<groupHeader>
|
||||||
|
<band height="33">
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="100" height="32" forecolor="#666666" backcolor="#E6E6E6" uuid="7fd49406-1a8a-430c-bcdb-be5fb2795d7f"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="12"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[G1Label]]></text>
|
||||||
|
</staticText>
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="100" y="0" width="455" height="32" forecolor="#006699" backcolor="#E6E6E6" uuid="081bf24b-a3f4-4fa1-9400-56b971eccc21"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="24" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA["G1Field"]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement x="-20" y="32" width="595" height="1" forecolor="#666666" uuid="1ebb12dd-57e4-465e-8846-ded71f50b947"/>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band/>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<background>
|
||||||
|
<band/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="56">
|
||||||
|
<frame>
|
||||||
|
<reportElement mode="Opaque" x="-10" y="-12" width="595" height="40" backcolor="#006699" uuid="0054fd73-707a-4615-8bae-2c2a29f606b3"/>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="10" y="10" width="575" height="24" forecolor="#FFFFFF" uuid="558af18f-0344-4d19-b3c8-3ae165b7c91d"/>
|
||||||
|
<textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled">
|
||||||
|
<font fontName="SansSerif" size="18" isBold="true" isPdfEmbedded="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</frame>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="65" y="42" width="510" height="14" forecolor="#333333" uuid="5dd823a7-3377-42a1-8e6f-977270e9bd79"/>
|
||||||
|
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="65" y="28" width="510" height="14" forecolor="#000000" uuid="0840bea7-0cea-4e77-bb5d-969baeaf8a92"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="28" width="65" height="14" forecolor="#000000" uuid="8fe00f0a-6663-4f7e-9324-666a3dc60f77"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="42" width="65" height="14" forecolor="#000000" uuid="a448c17f-6960-4fb3-8a96-c964c5baabf1"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.filtros}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band height="13"/>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band height="21">
|
||||||
|
<staticText>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="183" height="20" forecolor="#006699" backcolor="#E6E6E6" uuid="dfd1fc1b-7ef2-4416-a9f7-987fb64fe997"/>
|
||||||
|
<textElement textAlignment="Center">
|
||||||
|
<font size="14" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[DetailLabel]]></text>
|
||||||
|
</staticText>
|
||||||
|
<line>
|
||||||
|
<reportElement x="-20" y="20" width="595" height="1" forecolor="#666666" uuid="a3fafe86-1752-427b-bd8d-b2d937465ff6"/>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="20">
|
||||||
|
<textField isStretchWithOverflow="true">
|
||||||
|
<reportElement x="0" y="0" width="183" height="20" uuid="8dc371e3-c1e1-459b-a422-b478f484db26"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="14"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA["DetailField"]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement positionType="FixRelativeToBottom" x="0" y="19" width="575" height="1" uuid="ea96308b-f1f1-4390-84ae-01542ff2aafe"/>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<columnFooter>
|
||||||
|
<band/>
|
||||||
|
</columnFooter>
|
||||||
|
<pageFooter>
|
||||||
|
<band height="13">
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="535" height="13" backcolor="#E6E6E6" uuid="459669e8-6ea2-4f48-b249-be45842e3018"/>
|
||||||
|
<textElement textAlignment="Right"/>
|
||||||
|
<textFieldExpression><![CDATA["Página "+$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField evaluationTime="Report">
|
||||||
|
<reportElement mode="Opaque" x="535" y="0" width="40" height="13" backcolor="#E6E6E6" uuid="277c8da2-694c-4ece-8655-a586f2ec09b5"/>
|
||||||
|
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="EEEEE dd MMMMM yyyy">
|
||||||
|
<reportElement x="0" y="0" width="100" height="13" uuid="cf46c42b-8cb7-451a-b5a1-78d62ea4f398"/>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageFooter>
|
||||||
|
<summary>
|
||||||
|
<band/>
|
||||||
|
</summary>
|
||||||
|
<noData>
|
||||||
|
<band height="14">
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="14" forecolor="#333333" uuid="f6f193c9-6da4-4334-aeb2-362a6af587cf"/>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
|
@ -80,14 +80,14 @@
|
||||||
<pageHeader>
|
<pageHeader>
|
||||||
<band height="40" splitType="Stretch">
|
<band height="40" splitType="Stretch">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="535" y="20" width="49" height="20" uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716"/>
|
<reportElement x="523" y="20" width="61" height="20" uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font isBold="true"/>
|
<font isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="701" y="0" width="56" height="20" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
|
<reportElement x="686" y="0" width="71" height="20" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
|
||||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField evaluationTime="Report">
|
<textField evaluationTime="Report">
|
||||||
|
@ -96,15 +96,18 @@
|
||||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="767" y="20" width="42" height="20" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
|
<reportElement x="757" y="20" width="52" height="20" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
|
||||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="584" y="20" width="182" height="20" uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50"/>
|
<reportElement x="584" y="20" width="173" height="20" uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50"/>
|
||||||
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="0" y="0" width="231" height="20" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
|
<reportElement x="0" y="0" width="686" height="20" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="14" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy HH:mm">
|
<textField pattern="dd/MM/yyyy HH:mm">
|
||||||
|
@ -125,7 +128,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isBlankWhenNull="true">
|
<textField isBlankWhenNull="true">
|
||||||
<reportElement x="49" y="19" width="182" height="19" isPrintWhenDetailOverflows="true" uuid="64d97814-2298-4fd7-bb29-dc868f21c951"/>
|
<reportElement x="49" y="19" width="474" height="19" isPrintWhenDetailOverflows="true" uuid="64d97814-2298-4fd7-bb29-dc868f21c951"/>
|
||||||
<textElement textAlignment="Right" markup="none">
|
<textElement textAlignment="Right" markup="none">
|
||||||
<font size="10"/>
|
<font size="10"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
|
|
@ -2,7 +2,12 @@
|
||||||
<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="RelatorioDepositos" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="65274c35-4f3f-4196-bd84-f042e9ac12ea">
|
<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="RelatorioDepositos" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="65274c35-4f3f-4196-bd84-f042e9ac12ea">
|
||||||
<property name="ireport.zoom" value="1.4641000000000006"/>
|
<property name="ireport.zoom" value="1.4641000000000006"/>
|
||||||
<property name="ireport.x" value="0"/>
|
<property name="ireport.x" value="0"/>
|
||||||
<property name="ireport.y" value="42"/>
|
<property name="ireport.y" value="0"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
|
||||||
<parameter name="fecInicio" class="java.lang.String">
|
<parameter name="fecInicio" class="java.lang.String">
|
||||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
@ -75,9 +80,9 @@
|
||||||
<group name="grupoBanco">
|
<group name="grupoBanco">
|
||||||
<groupExpression><![CDATA[$F{nomeInstFinanceira}]]></groupExpression>
|
<groupExpression><![CDATA[$F{nomeInstFinanceira}]]></groupExpression>
|
||||||
<groupHeader>
|
<groupHeader>
|
||||||
<band height="42">
|
<band height="40">
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="65" y="22" width="149" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="70fc9e98-5101-446d-87ed-6c6097ae509e"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="65" y="20" width="149" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="70fc9e98-5101-446d-87ed-6c6097ae509e"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -91,7 +96,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.agencia}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.agencia}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="214" y="22" width="67" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="2f0a53c0-e005-4de6-816f-323ae5c9641d"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="214" y="20" width="67" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="2f0a53c0-e005-4de6-816f-323ae5c9641d"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -105,7 +110,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.dtmotivo}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.dtmotivo}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="281" y="22" width="68" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="52a2634b-17d1-4ce6-9f8b-6202bc443e95"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="281" y="20" width="68" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="52a2634b-17d1-4ce6-9f8b-6202bc443e95"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -119,7 +124,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.vrdeposito}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.vrdeposito}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="349" y="22" width="68" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="abb21651-0e84-4231-a213-fe0a5a7fa493"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="349" y="20" width="68" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="abb21651-0e84-4231-a213-fe0a5a7fa493"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -133,7 +138,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.vrfechamento}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.vrfechamento}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="417" y="22" width="68" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="a704e07a-dff4-4f1f-9acb-e31066999543"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="417" y="20" width="68" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="a704e07a-dff4-4f1f-9acb-e31066999543"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -147,7 +152,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.saldo}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.saldo}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="485" y="22" width="60" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="419b40a0-83c0-440a-b4fb-c65ddd4b6fdb"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="485" y="20" width="70" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="419b40a0-83c0-440a-b4fb-c65ddd4b6fdb"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -161,7 +166,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.numdeposito}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.numdeposito}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="22" width="65" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="1db939e0-b893-47c7-b579-4da533fa3c85"/>
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="20" width="65" height="20" isPrintWhenDetailOverflows="true" backcolor="#CCCCCC" uuid="1db939e0-b893-47c7-b579-4da533fa3c85"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -175,7 +180,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.numeroAgencia}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.numeroAgencia}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="0" y="2" width="300" height="20" uuid="92047ae9-a84e-40cc-89d4-9a1df33b267e"/>
|
<reportElement x="0" y="0" width="555" height="20" uuid="92047ae9-a84e-40cc-89d4-9a1df33b267e"/>
|
||||||
<textFieldExpression><![CDATA[$F{nomeInstFinanceira} != null ? $F{nomeInstFinanceira} : "Não Consta Nenhum Depósito"]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$F{nomeInstFinanceira} != null ? $F{nomeInstFinanceira} : "Não Consta Nenhum Depósito"]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
|
@ -210,7 +215,7 @@
|
||||||
<textFieldExpression><![CDATA[$V{TOTAL_PENDENTE}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$V{TOTAL_PENDENTE}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement x="0" y="0" width="65" height="17" uuid="303904b8-89e3-4223-b081-c9d61d305a29">
|
<reportElement x="0" y="0" width="65" height="20" uuid="303904b8-89e3-4223-b081-c9d61d305a29">
|
||||||
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
|
<printWhenExpression><![CDATA[new Boolean(false)]]></printWhenExpression>
|
||||||
</reportElement>
|
</reportElement>
|
||||||
<textElement>
|
<textElement>
|
||||||
|
@ -226,9 +231,9 @@
|
||||||
<groupExpression><![CDATA[$F{dtmotivo}+""+$F{numpuntoventa}]]></groupExpression>
|
<groupExpression><![CDATA[$F{dtmotivo}+""+$F{numpuntoventa}]]></groupExpression>
|
||||||
</group>
|
</group>
|
||||||
<pageHeader>
|
<pageHeader>
|
||||||
<band height="41" splitType="Stretch">
|
<band height="40" splitType="Stretch">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="0" y="21" width="49" height="20" uuid="d8c71cf9-aef2-4980-b3a6-c26e1571b27a"/>
|
<reportElement x="0" y="20" width="65" height="20" uuid="d8c71cf9-aef2-4980-b3a6-c26e1571b27a"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -244,7 +249,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField evaluationTime="Report">
|
<textField evaluationTime="Report">
|
||||||
<reportElement x="529" y="20" width="22" height="20" uuid="aac9665b-dfc2-4c3d-b5e2-8186b328f888"/>
|
<reportElement x="529" y="20" width="26" height="20" uuid="aac9665b-dfc2-4c3d-b5e2-8186b328f888"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -252,7 +257,7 @@
|
||||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="463" y="20" width="42" height="20" uuid="649ab97a-99cf-4189-9d4d-d18b4b24f3ed"/>
|
<reportElement x="453" y="20" width="52" height="20" uuid="649ab97a-99cf-4189-9d4d-d18b4b24f3ed"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -260,7 +265,7 @@
|
||||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="49" y="21" width="183" height="20" uuid="7ec249cf-a04d-46e0-969e-6602f0aa0dcb"/>
|
<reportElement x="65" y="20" width="388" height="20" uuid="7ec249cf-a04d-46e0-969e-6602f0aa0dcb"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -268,15 +273,15 @@
|
||||||
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="0" y="0" width="231" height="20" uuid="7fcb08d6-b3f7-48c2-bb2c-76d34ef4a072"/>
|
<reportElement x="0" y="0" width="397" height="20" uuid="7fcb08d6-b3f7-48c2-bb2c-76d34ef4a072"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
<font size="8" isBold="true"/>
|
<font size="14" isBold="true"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy HH:mm">
|
<textField pattern="dd/MM/yyyy HH:mm">
|
||||||
<reportElement x="453" y="0" width="98" height="20" uuid="d70f1f3d-9075-406d-aa62-16f09a0cb84f"/>
|
<reportElement x="453" y="0" width="102" height="20" uuid="d70f1f3d-9075-406d-aa62-16f09a0cb84f"/>
|
||||||
<textElement textAlignment="Right">
|
<textElement textAlignment="Right">
|
||||||
<font size="8" isBold="true"/>
|
<font size="8" isBold="true"/>
|
||||||
<paragraph lineSpacing="Single"/>
|
<paragraph lineSpacing="Single"/>
|
||||||
|
@ -311,7 +316,7 @@
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" x="65" y="0" width="149" height="17" uuid="640aae14-6703-4137-ae50-c2612e98efb0"/>
|
<reportElement stretchType="RelativeToTallestObject" x="65" y="0" width="149" height="17" uuid="640aae14-6703-4137-ae50-c2612e98efb0"/>
|
||||||
<box>
|
<box leftPadding="1">
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
<bottomPen lineWidth="0.5"/>
|
<bottomPen lineWidth="0.5"/>
|
||||||
|
@ -366,7 +371,7 @@
|
||||||
<textFieldExpression><![CDATA[$V{VLFECHAMENTO_BANCO}.subtract($V{DEPOSITO_BANCO})]]></textFieldExpression>
|
<textFieldExpression><![CDATA[$V{VLFECHAMENTO_BANCO}.subtract($V{DEPOSITO_BANCO})]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement stretchType="RelativeToTallestObject" x="485" y="0" width="60" height="17" uuid="8b59222e-761c-4aba-9132-638c2b9932a9"/>
|
<reportElement stretchType="RelativeToTallestObject" x="485" y="0" width="70" height="17" uuid="8b59222e-761c-4aba-9132-638c2b9932a9"/>
|
||||||
<box>
|
<box>
|
||||||
<topPen lineWidth="0.5"/>
|
<topPen lineWidth="0.5"/>
|
||||||
<leftPen lineWidth="0.5"/>
|
<leftPen lineWidth="0.5"/>
|
||||||
|
@ -395,7 +400,7 @@
|
||||||
</band>
|
</band>
|
||||||
</detail>
|
</detail>
|
||||||
<summary>
|
<summary>
|
||||||
<band height="78">
|
<band height="72">
|
||||||
<staticText>
|
<staticText>
|
||||||
<reportElement x="0" y="12" width="100" height="20" uuid="b4440540-2f18-4b9e-94d1-285e376ba362"/>
|
<reportElement x="0" y="12" width="100" height="20" uuid="b4440540-2f18-4b9e-94d1-285e376ba362"/>
|
||||||
<textElement>
|
<textElement>
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,562 @@
|
||||||
|
<?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="RelatorioDepositosNovo" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="575" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" isFloatColumnFooter="true" uuid="10b9ba27-b4cf-431f-b8ec-1939f0ee74f6">
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
|
||||||
|
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
|
||||||
|
<property name="ireport.zoom" value="1.6105100000000008"/>
|
||||||
|
<property name="ireport.x" value="0"/>
|
||||||
|
<property name="ireport.y" value="0"/>
|
||||||
|
<parameter name="TITULO" class="java.lang.String"/>
|
||||||
|
<parameter name="FILTROS" class="java.lang.String"/>
|
||||||
|
<parameter name="fecInicio" class="java.lang.String">
|
||||||
|
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||||
|
</parameter>
|
||||||
|
<parameter name="fecFinal" class="java.lang.String"/>
|
||||||
|
<field name="saldo" class="java.math.BigDecimal"/>
|
||||||
|
<field name="dtmotivo" class="java.util.Date"/>
|
||||||
|
<field name="nombpuntoventa" class="java.lang.String"/>
|
||||||
|
<field name="nombempresa" class="java.lang.String"/>
|
||||||
|
<field name="vrdeposito" class="java.math.BigDecimal"/>
|
||||||
|
<field name="vrfechamento" class="java.math.BigDecimal"/>
|
||||||
|
<field name="numdeposito" class="java.lang.String"/>
|
||||||
|
<field name="numpuntoventa" class="java.lang.String"/>
|
||||||
|
<field name="nomeInstFinanceira" class="java.lang.String"/>
|
||||||
|
<field name="codigoInstFinanceira" class="java.lang.String"/>
|
||||||
|
<variable name="deposito_banco_total" class="java.math.BigDecimal" resetType="Group" resetGroup="bancos" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{vrdeposito}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="fechamento_banco_total" class="java.math.BigDecimal" resetType="Group" resetGroup="bancos" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{vrfechamento}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="saldo_banco_total" class="java.math.BigDecimal" resetType="Group" resetGroup="bancos" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{saldo}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="deposito_empresa_total" class="java.math.BigDecimal" resetType="Group" resetGroup="empresa" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{vrdeposito}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="fechamento_empresa_total" class="java.math.BigDecimal" resetType="Group" resetGroup="empresa" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{vrfechamento}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="saldo_empresa_total" class="java.math.BigDecimal" resetType="Group" resetGroup="empresa" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{saldo}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="deposito_total" class="java.math.BigDecimal" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{vrdeposito}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="fechamento_total" class="java.math.BigDecimal" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{vrfechamento}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<variable name="saldo_total" class="java.math.BigDecimal" calculation="Sum">
|
||||||
|
<variableExpression><![CDATA[$F{saldo}]]></variableExpression>
|
||||||
|
<initialValueExpression><![CDATA[BigDecimal.ZERO]]></initialValueExpression>
|
||||||
|
</variable>
|
||||||
|
<group name="empresa">
|
||||||
|
<groupExpression><![CDATA[$F{nombempresa}]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band height="19">
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Opaque" x="52" y="0" width="523" height="19" backcolor="#E6E6E6" uuid="df37a90d-1ead-409b-9d1d-44a7bc8caf6d"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Left" verticalAlignment="Middle">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombempresa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="52" height="19" backcolor="#E6E6E6" uuid="9ac82d17-0a98-42a4-8575-d7146aab8154"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band height="18">
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="330" y="0" width="86" height="13" backcolor="#E6E6E6" uuid="391ab78a-0835-4af0-a260-d5234e972f15"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{fechamento_empresa_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="416" y="0" width="68" height="13" backcolor="#E6E6E6" uuid="aea9788f-cdb2-4370-bef8-5084bdae1b2b"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{saldo_empresa_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="262" height="13" backcolor="#E6E6E6" uuid="e00bc0b3-2832-46a8-9b9f-ba1e76731425"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{footer.totalEmpresa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="262" y="0" width="68" height="13" backcolor="#E6E6E6" uuid="de0e9f31-976f-489f-8c1e-0d61889fed41"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{deposito_empresa_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="484" y="0" width="91" height="13" backcolor="#E6E6E6" uuid="0c821f8e-8f92-453e-87ac-93094dbd2894"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<group name="bancos">
|
||||||
|
<groupExpression><![CDATA[$F{nomeInstFinanceira}]]></groupExpression>
|
||||||
|
<groupHeader>
|
||||||
|
<band height="14">
|
||||||
|
<textField isStretchWithOverflow="true" evaluationTime="Group" evaluationGroup="bancos" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="575" height="13" printWhenGroupChanges="bancos" forecolor="#006699" backcolor="#E6E6E6" uuid="f7278e85-60a3-4b44-bc72-c7daa9045f28"/>
|
||||||
|
<box>
|
||||||
|
<pen lineColor="#666666"/>
|
||||||
|
<topPen lineColor="#666666"/>
|
||||||
|
<leftPen lineColor="#666666"/>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
<rightPen lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement markup="none">
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nomeInstFinanceira} != null ? $F{nomeInstFinanceira} : "Não Consta Nenhum Depósito"]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
<band height="14">
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="194" y="0" width="68" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="4b72b45d-0d42-4126-a3f9-baf21b2ac7b6"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.fechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="416" y="0" width="68" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="5dd936e2-dee0-4372-aff7-9d78c0bd9c0d"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.saldo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="262" y="0" width="68" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="920feb5b-1b51-4929-b07e-1b2d73faeb40"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.vrdeposito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="330" y="0" width="86" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="6907904a-eda4-4cdf-9a4e-edfce4dff30e"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.vrfechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="484" y="0" width="91" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="dc92845b-6f0c-4753-ae57-77e2715bca05"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.numdeposito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="52" y="0" width="142" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="1c354896-30ee-48bd-9d21-d80ff2831744"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.agencia}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="52" height="14" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#E6E6E6" uuid="08b0b08a-a435-498e-831e-d820e7b0b563"/>
|
||||||
|
<box>
|
||||||
|
<topPen lineWidth="0.0"/>
|
||||||
|
<leftPen lineWidth="0.0"/>
|
||||||
|
<bottomPen lineWidth="0.0"/>
|
||||||
|
<rightPen lineWidth="0.0"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top">
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.numeroAgencia}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</groupHeader>
|
||||||
|
<groupFooter>
|
||||||
|
<band height="18">
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="262" y="0" width="68" height="13" backcolor="#E6E6E6" uuid="320a7bf0-3aec-4ee9-8ada-6423d3fe36fd"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{deposito_banco_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="416" y="0" width="68" height="13" backcolor="#E6E6E6" uuid="54787904-1e43-4bf9-b55c-647fc5b3ad87"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{saldo_banco_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="330" y="0" width="86" height="13" backcolor="#E6E6E6" uuid="410ee9ab-631d-463a-9da3-da36ab7df206"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{fechamento_banco_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="262" height="13" forecolor="#006699" backcolor="#E6E6E6" uuid="94e58dcc-914c-4096-b743-6a40116a05ec"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{footer.totalBanco}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="484" y="0" width="91" height="13" backcolor="#E6E6E6" uuid="626ba993-1c2c-4f10-a3ce-bb6ed57e5b74"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[]]></text>
|
||||||
|
</staticText>
|
||||||
|
</band>
|
||||||
|
</groupFooter>
|
||||||
|
</group>
|
||||||
|
<background>
|
||||||
|
<band/>
|
||||||
|
</background>
|
||||||
|
<title>
|
||||||
|
<band height="56">
|
||||||
|
<frame>
|
||||||
|
<reportElement mode="Opaque" x="-10" y="-12" width="595" height="40" backcolor="#006699" uuid="0054fd73-707a-4615-8bae-2c2a29f606b3"/>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="10" y="10" width="575" height="24" forecolor="#FFFFFF" uuid="558af18f-0344-4d19-b3c8-3ae165b7c91d"/>
|
||||||
|
<textElement textAlignment="Justified" verticalAlignment="Middle" markup="styled">
|
||||||
|
<font fontName="SansSerif" size="18" isBold="true" isPdfEmbedded="true"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</frame>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="52" y="42" width="523" height="14" forecolor="#333333" uuid="5dd823a7-3377-42a1-8e6f-977270e9bd79"/>
|
||||||
|
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="52" y="28" width="523" height="14" forecolor="#000000" uuid="0840bea7-0cea-4e77-bb5d-969baeaf8a92"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="28" width="52" height="14" forecolor="#000000" uuid="8fe00f0a-6663-4f7e-9324-666a3dc60f77"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="10" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement x="0" y="42" width="52" height="14" forecolor="#000000" uuid="a448c17f-6960-4fb3-8a96-c964c5baabf1"/>
|
||||||
|
<textElement>
|
||||||
|
<font size="10" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.filtros}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</title>
|
||||||
|
<pageHeader>
|
||||||
|
<band/>
|
||||||
|
</pageHeader>
|
||||||
|
<columnHeader>
|
||||||
|
<band/>
|
||||||
|
</columnHeader>
|
||||||
|
<detail>
|
||||||
|
<band height="14">
|
||||||
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="194" y="0" width="68" height="14" uuid="82d13b4c-c5af-4dc6-8353-58e0bd810b74"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{dtmotivo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="262" y="0" width="68" height="14" uuid="d2a192d3-8b19-4023-84b5-6ab5c749bff9"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{vrdeposito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="330" y="0" width="86" height="14" uuid="a9d99df3-e743-46cf-8454-deb020120916"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{vrfechamento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="416" y="0" width="68" height="14" uuid="fef8a9f7-d047-4c20-834e-dabd2d2fe0a8"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{saldo}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="484" y="0" width="91" height="14" uuid="8a041e80-b312-4fcc-909b-e38cfd9078ba"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{numdeposito}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="52" y="0" width="142" height="14" uuid="655d7066-585e-45b8-8183-f91f0bc3b129"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{nombpuntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="52" height="14" uuid="0bc7de29-3141-475b-8c8f-759aa61ec086"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$F{numpuntoventa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</detail>
|
||||||
|
<columnFooter>
|
||||||
|
<band splitType="Stretch"/>
|
||||||
|
</columnFooter>
|
||||||
|
<pageFooter>
|
||||||
|
<band height="19">
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="405" y="6" width="129" height="13" forecolor="#000000" backcolor="#E6E6E6" uuid="459669e8-6ea2-4f48-b249-be45842e3018"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right"/>
|
||||||
|
<textFieldExpression><![CDATA[$R{header.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{header.de}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="EEEEE dd MMMMM yyyy">
|
||||||
|
<reportElement mode="Opaque" x="0" y="6" width="405" height="13" backcolor="#E6E6E6" uuid="cf46c42b-8cb7-451a-b5a1-78d62ea4f398"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement>
|
||||||
|
<paragraph leftIndent="10"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField evaluationTime="Report">
|
||||||
|
<reportElement mode="Opaque" x="534" y="6" width="41" height="13" backcolor="#E6E6E6" uuid="277c8da2-694c-4ece-8655-a586f2ec09b5"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.25" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</pageFooter>
|
||||||
|
<summary>
|
||||||
|
<band height="14">
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="330" y="0" width="86" height="14" backcolor="#E6E6E6" uuid="a0c290ae-af70-4468-929c-0fecaaf21a77"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{fechamento_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="416" y="0" width="68" height="14" backcolor="#E6E6E6" uuid="a3f5ae52-8b9d-40d9-a97b-b48959bc59da"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{saldo_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField>
|
||||||
|
<reportElement mode="Opaque" x="0" y="0" width="262" height="14" backcolor="#E6E6E6" uuid="a92ccaaa-172c-45be-b475-7ad01db9d28f"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement verticalAlignment="Middle">
|
||||||
|
<font size="8" isBold="true"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$R{footer.total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<staticText>
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="484" y="0" width="91" height="14" backcolor="#E6E6E6" uuid="7bf3ff2c-c4ad-4ee3-b30a-592a939b21e1"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Center" markup="none">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<text><![CDATA[]]></text>
|
||||||
|
</staticText>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="262" y="0" width="68" height="14" backcolor="#E6E6E6" uuid="f7213305-9851-4224-805d-ae2a92cfa701"/>
|
||||||
|
<box>
|
||||||
|
<bottomPen lineWidth="0.0" lineColor="#666666"/>
|
||||||
|
</box>
|
||||||
|
<textElement textAlignment="Right">
|
||||||
|
<font size="8" isBold="false"/>
|
||||||
|
<paragraph lineSpacing="Single"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression><![CDATA[$V{deposito_total}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</summary>
|
||||||
|
<noData>
|
||||||
|
<band height="14">
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="575" height="14" forecolor="#333333" uuid="f6f193c9-6da4-4334-aeb2-362a6af587cf"/>
|
||||||
|
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
</band>
|
||||||
|
</noData>
|
||||||
|
</jasperReport>
|
|
@ -6,7 +6,6 @@ import java.util.Map;
|
||||||
|
|
||||||
import javax.sql.DataSource;
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
@ -20,6 +19,7 @@ import org.zkoss.zul.api.Datebox;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioDepositos;
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioDepositos;
|
||||||
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioDepositosNovo;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
@ -29,7 +29,6 @@ import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
public class RelatorioDepositosController extends MyGenericForwardComposer {
|
public class RelatorioDepositosController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
private static Logger log = Logger.getLogger(RelatorioDepositosController.class);
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DataSource dataSourceRead;
|
private DataSource dataSourceRead;
|
||||||
|
@ -44,26 +43,30 @@ public class RelatorioDepositosController extends MyGenericForwardComposer {
|
||||||
private void executarRelatorio() throws Exception {
|
private void executarRelatorio() throws Exception {
|
||||||
|
|
||||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
StringBuilder filtro = new StringBuilder();
|
||||||
|
|
||||||
|
filtro.append("Empresa: ");
|
||||||
if (cmbPuntoventa.getSelectedIndex() != -1){
|
if (cmbEmpresa.getSelectedIndex() != -1){
|
||||||
parametros.put("puntoventaId", ((PuntoVenta)cmbPuntoventa.getSelectedItem().getValue()).getPuntoventaId());
|
Empresa empresa = ((Empresa)cmbEmpresa.getSelectedItem().getValue());
|
||||||
|
parametros.put("empresaId", empresa.getEmpresaId());
|
||||||
|
filtro.append(empresa.getNombempresa() + ";");
|
||||||
|
}else {
|
||||||
|
filtro.append(" Todas; ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmbEmpresa.getSelectedIndex() != -1){
|
filtro.append("Ponto de Venda: ");
|
||||||
parametros.put("empresaId", ((Empresa)cmbEmpresa.getSelectedItem().getValue()).getEmpresaId());
|
if (cmbPuntoventa.getSelectedIndex() != -1){
|
||||||
|
PuntoVenta puntoVenta = ((PuntoVenta)cmbPuntoventa.getSelectedItem().getValue());
|
||||||
|
parametros.put("puntoventaId", puntoVenta.getPuntoventaId());
|
||||||
|
filtro.append(puntoVenta.getNombpuntoventa() + ";");
|
||||||
|
}else {
|
||||||
|
filtro.append(" Todos; ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chkFiltrarPendentes.isChecked()){
|
if (chkFiltrarPendentes.isChecked()){
|
||||||
parametros.put("filtrarPendentes", true);
|
parametros.put("filtrarPendentes", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chkClassificarBanco.isChecked()) {
|
|
||||||
parametros.put("isClassificaPorBanco", true);
|
|
||||||
}else {
|
|
||||||
parametros.put("isClassificaPorBanco", false);
|
|
||||||
}
|
|
||||||
|
|
||||||
int dias = DateUtil.diferencaEntreDatasEmdias(this.datInicial.getValue(), this.datFinal.getValue());
|
int dias = DateUtil.diferencaEntreDatasEmdias(this.datInicial.getValue(), this.datFinal.getValue());
|
||||||
// Período maior que 360 dias (1 ano), para não deixar um range de daods muito grande e não "travar" o relatório.
|
// Período maior que 360 dias (1 ano), para não deixar um range de daods muito grande e não "travar" o relatório.
|
||||||
if (dias > 360) {
|
if (dias > 360) {
|
||||||
|
@ -76,8 +79,17 @@ public class RelatorioDepositosController extends MyGenericForwardComposer {
|
||||||
parametros.put("fecFinal", sdf.format(this.datFinal.getValue()));
|
parametros.put("fecFinal", sdf.format(this.datFinal.getValue()));
|
||||||
|
|
||||||
parametros.put("TITULO", Labels.getLabel("indexController.mniRelatorioDepositos.label"));
|
parametros.put("TITULO", Labels.getLabel("indexController.mniRelatorioDepositos.label"));
|
||||||
|
parametros.put("FILTROS", filtro.toString());
|
||||||
|
|
||||||
Relatorio relatorio = new RelatorioDepositos(parametros, dataSourceRead.getConnection(), "RelatorioDepositos_subreport");
|
Relatorio relatorio = null;
|
||||||
|
if (chkClassificarBanco.isChecked()) {
|
||||||
|
parametros.put("isClassificaPorBanco", true);
|
||||||
|
relatorio = new RelatorioDepositosNovo(parametros, dataSourceRead.getConnection());
|
||||||
|
}else {
|
||||||
|
parametros.put("isClassificaPorBanco", false);
|
||||||
|
relatorio = new RelatorioDepositos(parametros, dataSourceRead.getConnection(), "RelatorioDepositos_subreport");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Map<String, Object> args = new HashMap<String, Object>();
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
args.put("relatorio", relatorio);
|
args.put("relatorio", relatorio);
|
||||||
|
@ -87,14 +99,6 @@ public class RelatorioDepositosController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$chkFiltrarPendentes() {
|
|
||||||
if (chkFiltrarPendentes.isChecked()) {
|
|
||||||
chkClassificarBanco.setDisabled(false);
|
|
||||||
} else {
|
|
||||||
chkClassificarBanco.setChecked(false);
|
|
||||||
chkClassificarBanco.setDisabled(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||||
executarRelatorio();
|
executarRelatorio();
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<checkbox id="chkFiltrarPendentes" checked="false" />
|
<checkbox id="chkFiltrarPendentes" checked="false" />
|
||||||
<label
|
<label
|
||||||
value="${c:l('relatorioDepositosController.lbClassificarBanco.value')}" />
|
value="${c:l('relatorioDepositosController.lbClassificarBanco.value')}" />
|
||||||
<checkbox id="chkClassificarBanco" checked="false" disabled="true"/>
|
<checkbox id="chkClassificarBanco" checked="false" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
Loading…
Reference in New Issue