10977: Ajustar layout planalto
bug#10977 dev:daniel qua:renato git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@81324 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ff74e8b7ec
commit
392038a1f1
|
@ -176,7 +176,7 @@ public class RelatorioAgenciaFechamentoAntigo extends Relatorio {
|
|||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append(" SELECT ");
|
||||
sql.append(" pv.NUMPUNTOVENTA AS codigo, ");
|
||||
sql.append(" pv.PUNTOVENTA_ID AS codigo, ");
|
||||
sql.append(" pv.nombpuntoventa AS descricao, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(COUNT(CASE WHEN c.MOTIVOCANCELACION_ID IS NULL and (c.INDREMOTOINVERSO is null or c.INDREMOTOINVERSO =0) THEN c.caja_id ELSE NULL END),0) AS qtdevendido, ");
|
||||
|
@ -214,8 +214,8 @@ public class RelatorioAgenciaFechamentoAntigo extends Relatorio {
|
|||
sql.append(" AND c.TIPOVENTA_ID <> 6 ");
|
||||
sql.append(" AND c.INDREIMPRESION = 0 ");
|
||||
sql.append(" AND m.empresa_id = :empresaId ");
|
||||
sql.append(" GROUP BY pv.NUMPUNTOVENTA , pv.nombpuntoventa ");
|
||||
sql.append(" ORDER BY pv.NUMPUNTOVENTA , pv.nombpuntoventa ");
|
||||
sql.append(" GROUP BY pv.PUNTOVENTA_ID , pv.nombpuntoventa ");
|
||||
sql.append(" ORDER BY pv.PUNTOVENTA_ID , pv.nombpuntoventa ");
|
||||
|
||||
return sql.toString();
|
||||
|
||||
|
|
|
@ -0,0 +1,272 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
||||
import org.apache.commons.lang.math.NumberUtils;
|
||||
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioAgenciaFechamentoAntigoBean;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioAgenciaFechamentoBean;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
public class RelatorioAgenciaFechamentoResumoDiario extends Relatorio {
|
||||
|
||||
private List<RelatorioAgenciaFechamentoAntigoBean> lsDadosRelatorio;
|
||||
|
||||
public RelatorioAgenciaFechamentoResumoDiario(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||
super(parametros, conexao);
|
||||
|
||||
this.setCustomDataSource(new DataSource(this) {
|
||||
@Override
|
||||
public void initDados() throws Exception {
|
||||
|
||||
Connection conexao = this.relatorio.getConexao();
|
||||
|
||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||
|
||||
String fecInicio = parametros.get("fecInicio").toString() + " 00:00:00";
|
||||
String fecFinal = parametros.get("fecFinal").toString() + " 23:59:59";
|
||||
String empresa = parametros.get("empresa") != null ? parametros.get("empresa").toString() : "";
|
||||
String empresaNome = parametros.get("empresaNome") != null ? parametros.get("empresaNome").toString() : "";
|
||||
String puntoVenta = parametros.get("NUMPUNTOVENTA") != null ? parametros.get("NUMPUNTOVENTA").toString() : null;
|
||||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioAgenciaFechamentoAntigoBean>();
|
||||
|
||||
String sql = carregarDadosTotaisdeVenda(puntoVenta);
|
||||
|
||||
System.out.println(sql);
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
ResultSet rset1 = null;
|
||||
ResultSet rset2 = null;
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss");
|
||||
|
||||
stmt.setTimestamp("de", new java.sql.Timestamp(sdf.parse(fecInicio).getTime()));
|
||||
stmt.setTimestamp("ate", new java.sql.Timestamp(sdf.parse(fecFinal).getTime()));
|
||||
|
||||
if (empresa != null && !empresa.equals("")) {
|
||||
stmt.setInt("empresaId", Integer.parseInt(empresa));
|
||||
}
|
||||
|
||||
rset1= stmt.executeQuery();
|
||||
|
||||
while (rset1.next()) {
|
||||
|
||||
RelatorioAgenciaFechamentoAntigoBean agenciaFechamento = new RelatorioAgenciaFechamentoAntigoBean();
|
||||
BigDecimal total = BigDecimal.ZERO;
|
||||
BigDecimal vendido = BigDecimal.ZERO;
|
||||
|
||||
String puntoVentaId = rset1.getString("codigo");
|
||||
|
||||
Integer qtdevendido = rset1.getInt("qtdevendido");
|
||||
Integer qtdedigitado = rset1.getInt("qtdedigitado");
|
||||
Integer qtdeAnulado = rset1.getInt("qtdeAnulado");
|
||||
Integer qtdeDevolvido = rset1.getInt("qtdeDevolvido");
|
||||
Integer qtdeTotal = null;
|
||||
|
||||
vendido = rset1.getBigDecimal("vendido");
|
||||
BigDecimal digitado = rset1.getBigDecimal("digitado");
|
||||
BigDecimal anulado = rset1.getBigDecimal("anulado");
|
||||
BigDecimal devolvido = rset1.getBigDecimal("devolvido");
|
||||
|
||||
agenciaFechamento.setEmpresa(empresaNome);
|
||||
|
||||
agenciaFechamento.setCodigo(rset1.getString("codigo"));
|
||||
agenciaFechamento.setDescricao(rset1.getString("descricao"));
|
||||
|
||||
agenciaFechamento.setQtdeVendido(qtdevendido != null ? qtdevendido : NumberUtils.INTEGER_ZERO);
|
||||
agenciaFechamento.setQtdeDigitado(qtdedigitado != null ? qtdedigitado : NumberUtils.INTEGER_ZERO);
|
||||
agenciaFechamento.setQtdeAnulado(qtdeAnulado != null ? qtdeAnulado : NumberUtils.INTEGER_ZERO);
|
||||
agenciaFechamento.setQtdeDevolvido(qtdeDevolvido != null ? qtdeDevolvido : NumberUtils.INTEGER_ZERO);
|
||||
|
||||
qtdeTotal = ((qtdevendido != null ? qtdevendido : NumberUtils.INTEGER_ZERO) + (qtdedigitado != null ? qtdedigitado : NumberUtils.INTEGER_ZERO))
|
||||
- ((qtdeAnulado != null ? qtdeAnulado : NumberUtils.INTEGER_ZERO) + (qtdeDevolvido != null ? qtdeDevolvido : NumberUtils.INTEGER_ZERO));
|
||||
|
||||
if (qtdeTotal < 0) {
|
||||
qtdeTotal = NumberUtils.INTEGER_ZERO;
|
||||
}
|
||||
|
||||
agenciaFechamento.setQtdeTotal(qtdeTotal);
|
||||
|
||||
agenciaFechamento.setDigitado(digitado != null ? digitado : BigDecimal.ZERO);
|
||||
agenciaFechamento.setAnulado(anulado != null ? anulado : BigDecimal.ZERO);
|
||||
agenciaFechamento.setDevolvido(devolvido != null ? devolvido : BigDecimal.ZERO);
|
||||
|
||||
total = total.add(vendido != null ? vendido : BigDecimal.ZERO);
|
||||
total = total.add(digitado != null ? digitado : BigDecimal.ZERO);
|
||||
total = total.subtract(anulado != null ? anulado : BigDecimal.ZERO);
|
||||
total = total.subtract(devolvido != null ? devolvido : BigDecimal.ZERO);
|
||||
|
||||
stmt = new NamedParameterStatement(conexao, carregarDadosReceitaDespesa(puntoVentaId));
|
||||
|
||||
System.out.println(carregarDadosReceitaDespesa(puntoVentaId));
|
||||
|
||||
stmt.setTimestamp("de", new java.sql.Timestamp(sdf.parse(fecInicio).getTime()));
|
||||
stmt.setTimestamp("ate", new java.sql.Timestamp(sdf.parse(fecFinal).getTime()));
|
||||
|
||||
if (empresa != null && !empresa.equals("")) {
|
||||
stmt.setInt("empresaId", Integer.parseInt(empresa));
|
||||
}
|
||||
|
||||
if (puntoVentaId != null ) {
|
||||
stmt.setString("puntoVentaId", puntoVentaId);
|
||||
}
|
||||
|
||||
rset2 = stmt.executeQuery();
|
||||
|
||||
if (rset2.next()) {
|
||||
|
||||
Integer qtdedespesa = rset2.getInt("qtdedespesa");
|
||||
BigDecimal receita = rset2.getBigDecimal("receita");
|
||||
BigDecimal despesa = rset2.getBigDecimal("despesa");
|
||||
|
||||
agenciaFechamento.setQtdeDespesa(qtdedespesa != null ? qtdedespesa : NumberUtils.INTEGER_ZERO);
|
||||
agenciaFechamento.setReceita(receita != null ? receita : BigDecimal.ZERO);
|
||||
agenciaFechamento.setDespesa(despesa != null ? despesa : BigDecimal.ZERO);
|
||||
|
||||
total = total.add(receita != null ? receita : BigDecimal.ZERO);
|
||||
total = total.subtract(despesa != null ? despesa : BigDecimal.ZERO);
|
||||
|
||||
agenciaFechamento.setVendido(vendido != null ? vendido : BigDecimal.ZERO);
|
||||
agenciaFechamento.setTotal(total);
|
||||
|
||||
} else {
|
||||
agenciaFechamento.setQtdeDespesa(NumberUtils.INTEGER_ZERO);
|
||||
agenciaFechamento.setReceita(BigDecimal.ZERO);
|
||||
agenciaFechamento.setDespesa(BigDecimal.ZERO);
|
||||
agenciaFechamento.setVendido(vendido != null ? vendido : BigDecimal.ZERO);
|
||||
agenciaFechamento.setTotal(total);
|
||||
}
|
||||
|
||||
lsDadosRelatorio.add(agenciaFechamento);
|
||||
//Estava dando um erro de "máximo de cursores abertos excedido"
|
||||
//Colocado isso o erro parou de ocorrer
|
||||
rset2.getStatement().close();
|
||||
rset2.close();
|
||||
}
|
||||
|
||||
if (lsDadosRelatorio.size() > 0) {
|
||||
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setLsDadosRelatorio(List<RelatorioAgenciaFechamentoAntigoBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
}
|
||||
|
||||
private String carregarDadosTotaisdeVenda(String puntoVenta) {
|
||||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append(" SELECT ");
|
||||
sql.append(" pv.NUMPUNTOVENTA AS codigo, ");
|
||||
sql.append(" pv.nombpuntoventa AS descricao, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(COUNT(CASE WHEN c.MOTIVOCANCELACION_ID IS NULL and (c.INDREMOTOINVERSO is null or c.INDREMOTOINVERSO =0) THEN c.caja_id ELSE NULL END),0) AS qtdevendido, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(COUNT(CASE WHEN c.INDREMOTOINVERSO = 1 THEN 1 ELSE NULL END),0) AS qtdedigitado, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(COUNT(CASE WHEN c.MOTIVOCANCELACION_ID = 31 THEN 1 ELSE NULL END),0) AS qtdeAnulado, ");
|
||||
sql.append(" COALESCE(COUNT(CASE WHEN c.MOTIVOCANCELACION_ID is not null and c.MOTIVOCANCELACION_ID <> 31 THEN 1 ELSE NULL END),0) AS qtdeDevolvido, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(SUM(CASE WHEN c.MOTIVOCANCELACION_ID IS NULL and (c.INDREMOTOINVERSO is null or c.INDREMOTOINVERSO =0) THEN ( ");
|
||||
sql.append(" coalesce(c.IMPORTEOUTROS,0) + coalesce(c.IMPORTEPEDAGIO,0) + coalesce(c.IMPORTESEGURO,0) ");
|
||||
sql.append(" +coalesce(IMPORTETAXAEMBARQUE ,0)+coalesce(c.preciopagado,0)) ELSE NULL END),0) AS vendido, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(SUM(CASE WHEN c.MOTIVOCANCELACION_ID IS NULL and c.INDREMOTOINVERSO = 1 THEN ( ");
|
||||
sql.append(" coalesce(c.IMPORTEOUTROS,0) + coalesce(c.IMPORTEPEDAGIO,0) + coalesce(c.IMPORTESEGURO,0) ");
|
||||
sql.append(" +coalesce(IMPORTETAXAEMBARQUE ,0)+coalesce(c.preciopagado,0)) ELSE NULL END),0) AS digitado, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(SUM(CASE WHEN c.MOTIVOCANCELACION_ID = 31 THEN ( ");
|
||||
sql.append(" coalesce(c.IMPORTEOUTROS,0) + coalesce(c.IMPORTEPEDAGIO,0) + coalesce(c.IMPORTESEGURO,0) ");
|
||||
sql.append(" +coalesce(IMPORTETAXAEMBARQUE ,0)+coalesce(c.preciopagado,0)) ELSE NULL END),0) AS anulado, ");
|
||||
sql.append(" ");
|
||||
sql.append(" COALESCE(SUM(CASE WHEN c.MOTIVOCANCELACION_ID is not null and c.MOTIVOCANCELACION_ID <> 31 THEN ( ");
|
||||
sql.append(" coalesce(c.IMPORTEOUTROS,0) + coalesce(c.IMPORTEPEDAGIO,0) + coalesce(c.IMPORTESEGURO,0) ");
|
||||
sql.append(" +coalesce(IMPORTETAXAEMBARQUE ,0)+coalesce(c.preciopagado,0)) ELSE NULL END),0) AS devolvido ");
|
||||
sql.append(" ");
|
||||
sql.append(" ");
|
||||
sql.append(" FROM CAJA c ");
|
||||
sql.append(" INNER JOIN PUNTO_VENTA pv ON c.PUNTOVENTA_ID = pv.PUNTOVENTA_ID ");
|
||||
sql.append(" inner join marca m on m.marca_id = c.marca_id ");
|
||||
sql.append(" WHERE c.TURNO_ID IS NOT NULL ");
|
||||
sql.append(" AND c.FECCORTE BETWEEN :de AND :ate ");
|
||||
if (puntoVenta != null && !puntoVenta.equals("-1")) {
|
||||
sql.append(" AND c.PUNTOVENTA_ID in (" + puntoVenta + ") ");
|
||||
}
|
||||
sql.append(" AND c.TIPOVENTA_ID <> 6 ");
|
||||
sql.append(" AND c.INDREIMPRESION = 0 ");
|
||||
sql.append(" AND m.empresa_id = :empresaId ");
|
||||
sql.append(" GROUP BY pv.NUMPUNTOVENTA , pv.nombpuntoventa ");
|
||||
sql.append(" ORDER BY pv.NUMPUNTOVENTA , pv.nombpuntoventa ");
|
||||
|
||||
return sql.toString();
|
||||
|
||||
}
|
||||
|
||||
private String carregaAgenciasComVenda() {
|
||||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append(" SELECT DISTINCT cc.PUNTOVENTA_ID ");
|
||||
sql.append(" FROM CONTA_CORRENTE_PTOVTA cc ");
|
||||
sql.append(" WHERE cc.FECHOROPERACION BETWEEN :de AND :ate ");
|
||||
sql.append(" and cc.EMPRESA_ID = :empresaId ");
|
||||
|
||||
return sql.toString();
|
||||
|
||||
}
|
||||
|
||||
private String carregarDadosReceitaDespesa(String puntoVenta) {
|
||||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append(" SELECT ");
|
||||
sql.append(" COALESCE(COUNT(CASE WHEN cdp.IMPORTE < 0 THEN 1 ELSE NULL END),0) as qtdedespesa, ");
|
||||
sql.append(" COALESCE(SUM(CASE WHEN cdp.IMPORTE > 0 THEN cdp.IMPORTE ELSE NULL END),0) AS receita, ");
|
||||
sql.append(" COALESCE(ABS(SUM(CASE WHEN cdp.IMPORTE < 0 THEN cdp.IMPORTE ELSE NULL END)),0) AS despesa ");
|
||||
sql.append(" FROM CAJA_DIVERSOS cd, ");
|
||||
sql.append(" CAJA_DIVERSOS_PAGO cdp, ");
|
||||
sql.append(" EVENTO_EXTRA ee ");
|
||||
sql.append(" WHERE cd.MOTIVOCANCELACION_ID IS NULL ");
|
||||
sql.append(" AND ee.EVENTOEXTRA_ID = cd.EVENTOEXTRA_ID ");
|
||||
sql.append(" AND cdp.CAJADIVERSOS_ID = cd.CAJADIVERSOS_ID ");
|
||||
sql.append(" AND ee.activo = 1 ");
|
||||
sql.append(" AND cd.TURNO_ID IS NOT NULL ");
|
||||
sql.append(" AND cd.FECCORTE BETWEEN :de AND :ate ");
|
||||
if (puntoVenta != null && !puntoVenta.equals("-1")) {
|
||||
sql.append(" AND cd.PUNTOVENTA_ID = :puntoVentaId ");
|
||||
}
|
||||
sql.append(" AND ee.EMPRESA_ID=:empresaId ");
|
||||
|
||||
return sql.toString();
|
||||
|
||||
}
|
||||
|
||||
private String carregarNomeEmpresa() {
|
||||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append(" SELECT ");
|
||||
sql.append(" NOMBEMPRESA ");
|
||||
sql.append(" FROM EMPRESA ");
|
||||
sql.append(" WHERE EMPRESA_ID=:empresaId ");
|
||||
|
||||
return sql.toString();
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#geral
|
||||
msg.noData=No se pudo obtener datos con los parámetros reportados.
|
||||
msg.a=a
|
||||
|
||||
#Labels header
|
||||
header.data=Data :
|
||||
header.empresa=Empresa :
|
||||
header.codigo=Código
|
||||
header.descricao=Descrição
|
||||
header.vendido=Vendido
|
||||
header.digitado=Digitado
|
||||
header.anulado=Anulados
|
||||
header.devolvido=Devolvidos
|
||||
header.receita=Receita
|
||||
header.despesa=Despesa
|
||||
header.total=Total
|
||||
|
||||
detail.agencia=AGÊNCIA
|
||||
detail.quantidade=QUANTIDADE
|
||||
detail.valor=VALOR
|
||||
detail.totalGeral=TOTAL GERAL
|
||||
|
||||
linhas=Linhas
|
|
@ -0,0 +1,23 @@
|
|||
#geral
|
||||
msg.noData=No se pudo obtener datos con los parámetros reportados.
|
||||
msg.a=a
|
||||
|
||||
#Labels header
|
||||
header.data=Data :
|
||||
header.empresa=Empresa :
|
||||
header.codigo=Código
|
||||
header.descricao=Descrição
|
||||
header.vendido=Vendido
|
||||
header.digitado=Digitado
|
||||
header.anulado=Anulados
|
||||
header.devolvido=Devolvidos
|
||||
header.receita=Receita
|
||||
header.despesa=Despesa
|
||||
header.total=Total
|
||||
|
||||
detail.agencia=AGÊNCIA
|
||||
detail.quantidade=QUANTIDADE
|
||||
detail.valor=VALOR
|
||||
detail.totalGeral=TOTAL GERAL
|
||||
|
||||
linhas=Linhas
|
Binary file not shown.
|
@ -1,12 +1,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="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
||||
<property name="ireport.zoom" value="2.1961500000000007"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" 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.x" value="503"/>
|
||||
<property name="ireport.y" value="99"/>
|
||||
<parameter name="fecInicio" class="java.lang.String">
|
||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||
</parameter>
|
||||
|
@ -76,80 +72,76 @@
|
|||
<pageHeader>
|
||||
<band height="61" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716" x="481" y="20" width="49" height="20"/>
|
||||
<reportElement x="481" y="20" width="49" height="20" uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="647" y="0" width="56" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="647" y="0" width="56" height="20" uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60"/>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f" x="779" y="20" width="22" height="20"/>
|
||||
<reportElement x="779" y="20" width="22" height="20" uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="713" y="20" width="42" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="713" y="20" width="42" height="20" uuid="be1692e9-f130-4d08-9173-6ca3e4699030"/>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50" x="530" y="20" width="182" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="530" y="20" width="182" height="20" uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50"/>
|
||||
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="652312bd-292a-424d-a234-5f157e3699c6" x="0" y="0" width="231" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="0" y="0" width="231" height="20" uuid="652312bd-292a-424d-a234-5f157e3699c6"/>
|
||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="703" y="0" width="98" height="20"/>
|
||||
<reportElement x="703" y="0" width="98" height="20" uuid="6f671365-868e-41a6-81ee-a308d1d91e1d"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a" x="755" y="20" width="24" height="20"/>
|
||||
<reportElement x="755" y="20" width="24" height="20" uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="08817d2b-5f71-4c7a-9880-51c1a791ad04" x="0" y="19" width="49" height="20"/>
|
||||
<reportElement x="0" y="19" width="49" height="20" uuid="08817d2b-5f71-4c7a-9880-51c1a791ad04"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="64d97814-2298-4fd7-bb29-dc868f21c951" x="49" y="19" width="182" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement x="49" y="19" width="182" height="19" isPrintWhenDetailOverflows="true" uuid="64d97814-2298-4fd7-bb29-dc868f21c951"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="10"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="ee05e1fa-6963-4ff9-b3c8-c6cd1bb54e94" x="0" y="39" width="802" height="1"/>
|
||||
<reportElement x="0" y="39" width="802" height="1" uuid="ee05e1fa-6963-4ff9-b3c8-c6cd1bb54e94"/>
|
||||
</line>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="2cbc8ddc-38e5-4914-8189-5761ddeb2ce9" x="25" y="41" width="182" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement x="25" y="41" width="182" height="19" isPrintWhenDetailOverflows="true" uuid="2cbc8ddc-38e5-4914-8189-5761ddeb2ce9"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.agencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="7965e761-2e24-4f17-84eb-9431c98ce72c" x="301" y="41" width="144" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement x="301" y="41" width="144" height="19" isPrintWhenDetailOverflows="true" uuid="7965e761-2e24-4f17-84eb-9431c98ce72c"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.quantidade}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="bbaa5f53-76e0-491e-9145-e522122709e5" x="642" y="41" width="158" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<reportElement x="642" y="41" width="158" height="19" isPrintWhenDetailOverflows="true" uuid="bbaa5f53-76e0-491e-9145-e522122709e5"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -160,220 +152,220 @@
|
|||
<columnHeader>
|
||||
<band height="25" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="0638d013-af03-46b5-850f-8ee3da2bc8b8" x="739" y="4" width="61" height="17"/>
|
||||
<reportElement x="739" y="4" width="61" height="17" uuid="0638d013-af03-46b5-850f-8ee3da2bc8b8"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="dd31dee7-98a4-4b46-a2c4-e79677790bc2" x="691" y="4" width="48" height="17"/>
|
||||
<reportElement x="691" y="4" width="48" height="17" uuid="dd31dee7-98a4-4b46-a2c4-e79677790bc2"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="e294d86e-22eb-48b8-81c3-fb8e1dea9bae" x="642" y="4" width="48" height="17"/>
|
||||
<reportElement x="642" y="4" width="48" height="17" uuid="e294d86e-22eb-48b8-81c3-fb8e1dea9bae"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.receita}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c0bf8f56-20d8-47af-a650-4a6ba4442c8c" x="61" y="4" width="119" height="17"/>
|
||||
<reportElement x="61" y="4" width="119" height="17" uuid="c0bf8f56-20d8-47af-a650-4a6ba4442c8c"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.descricao}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="eb16bd4c-e5d9-423e-a089-a9b2bcbe4189" x="180" y="4" width="45" height="17"/>
|
||||
<reportElement x="180" y="4" width="45" height="17" uuid="eb16bd4c-e5d9-423e-a089-a9b2bcbe4189"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="2c5f4806-65df-48b0-b3d4-d0912d2c5d73" x="225" y="4" width="45" height="17"/>
|
||||
<reportElement x="225" y="4" width="45" height="17" uuid="2c5f4806-65df-48b0-b3d4-d0912d2c5d73"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="9f25b0f2-c5bd-495a-9ef9-0916c7c07fd3" x="270" y="4" width="45" height="17"/>
|
||||
<reportElement x="270" y="4" width="45" height="17" uuid="9f25b0f2-c5bd-495a-9ef9-0916c7c07fd3"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="6555f6ff-ca40-4c88-a4b4-fb47871f6d24" x="315" y="4" width="45" height="17"/>
|
||||
<reportElement x="315" y="4" width="45" height="17" uuid="6555f6ff-ca40-4c88-a4b4-fb47871f6d24"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="6e4f99f7-3a81-4fc4-b647-ab77968fd9c2" x="360" y="4" width="45" height="17"/>
|
||||
<reportElement x="360" y="4" width="45" height="17" uuid="6e4f99f7-3a81-4fc4-b647-ab77968fd9c2"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="73004b45-c340-4f04-9697-24fb33e6e608" x="405" y="4" width="45" height="17"/>
|
||||
<reportElement x="405" y="4" width="45" height="17" uuid="73004b45-c340-4f04-9697-24fb33e6e608"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="30ae2209-0899-4dc0-a4f0-bf8c29d6fd70" x="450" y="4" width="48" height="17"/>
|
||||
<reportElement x="450" y="4" width="48" height="17" uuid="30ae2209-0899-4dc0-a4f0-bf8c29d6fd70"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="bc4ff148-f663-4c3f-95bd-df48630945e5" x="498" y="4" width="48" height="17"/>
|
||||
<reportElement x="498" y="4" width="48" height="17" uuid="bc4ff148-f663-4c3f-95bd-df48630945e5"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="801f59e8-8ff7-4a8c-bd8f-757126d95d14" x="546" y="4" width="48" height="17"/>
|
||||
<reportElement x="546" y="4" width="48" height="17" uuid="801f59e8-8ff7-4a8c-bd8f-757126d95d14"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="84490947-1221-4baa-b514-003634254e5c" x="594" y="4" width="48" height="17"/>
|
||||
<reportElement x="594" y="4" width="48" height="17" uuid="84490947-1221-4baa-b514-003634254e5c"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="890b61c9-2195-455a-9c28-316d48ab5fea" x="0" y="4" width="60" height="17"/>
|
||||
<reportElement x="0" y="4" width="60" height="17" uuid="890b61c9-2195-455a-9c28-316d48ab5fea"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.codigo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="ae94e51c-f84c-405c-a9c3-d8fd0c48f03a" x="0" y="23" width="802" height="1"/>
|
||||
<reportElement x="0" y="23" width="802" height="1" uuid="ae94e51c-f84c-405c-a9c3-d8fd0c48f03a"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="83809dd0-64dc-4779-9552-440eabef278e" x="0" y="0" width="802" height="1"/>
|
||||
<reportElement x="0" y="0" width="802" height="1" uuid="83809dd0-64dc-4779-9552-440eabef278e"/>
|
||||
</line>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="17" splitType="Stretch">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="b2a04e5c-f61e-4380-990e-604417465e9d" x="0" y="0" width="60" height="17"/>
|
||||
<reportElement x="0" y="0" width="60" height="17" uuid="b2a04e5c-f61e-4380-990e-604417465e9d"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{codigo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="5eac8194-63bd-43d7-8da2-8ed75f4f9219" x="180" y="0" width="45" height="17"/>
|
||||
<reportElement x="180" y="0" width="45" height="17" uuid="5eac8194-63bd-43d7-8da2-8ed75f4f9219"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeVendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="a1102ca6-594a-4e66-8c6e-8d17eeb32005" x="225" y="0" width="45" height="17"/>
|
||||
<reportElement x="225" y="0" width="45" height="17" uuid="a1102ca6-594a-4e66-8c6e-8d17eeb32005"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeDigitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="b371369f-84e7-4121-b00d-5d1430da8a68" x="270" y="0" width="45" height="17"/>
|
||||
<reportElement x="270" y="0" width="45" height="17" uuid="b371369f-84e7-4121-b00d-5d1430da8a68"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeAnulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="fcdf6e5b-55b4-4df1-9115-abe42f6a679a" x="360" y="0" width="45" height="17"/>
|
||||
<reportElement x="360" y="0" width="45" height="17" uuid="fcdf6e5b-55b4-4df1-9115-abe42f6a679a"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeDespesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="9840555e-e3b7-4496-a3a2-914f80abe2c8" x="315" y="0" width="45" height="17"/>
|
||||
<reportElement x="315" y="0" width="45" height="17" uuid="9840555e-e3b7-4496-a3a2-914f80abe2c8"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeDevolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="ca7b87f8-538c-44ca-99a9-58df6d377d33" x="405" y="0" width="45" height="17"/>
|
||||
<reportElement x="405" y="0" width="45" height="17" uuid="ca7b87f8-538c-44ca-99a9-58df6d377d33"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="7ac7fbc7-49b0-4205-ad7f-e21ae7b5b860" x="450" y="0" width="48" height="17"/>
|
||||
<reportElement x="450" y="0" width="48" height="17" uuid="7ac7fbc7-49b0-4205-ad7f-e21ae7b5b860"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="a2a6fbc4-5e2c-4183-a638-845493a8e345" x="498" y="0" width="48" height="17"/>
|
||||
<reportElement x="498" y="0" width="48" height="17" uuid="a2a6fbc4-5e2c-4183-a638-845493a8e345"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="37b92899-0cf9-4390-8daa-7f84b884c9af" x="546" y="0" width="48" height="17"/>
|
||||
<reportElement x="546" y="0" width="48" height="17" uuid="37b92899-0cf9-4390-8daa-7f84b884c9af"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="5f34ab58-15a2-4b0c-886e-9e432f24cbb9" x="594" y="0" width="48" height="17"/>
|
||||
<reportElement x="594" y="0" width="48" height="17" uuid="5f34ab58-15a2-4b0c-886e-9e432f24cbb9"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="7f3dee8d-6a9f-4daf-a92a-3cdae3914b24" x="642" y="0" width="48" height="17"/>
|
||||
<reportElement x="642" y="0" width="48" height="17" uuid="7f3dee8d-6a9f-4daf-a92a-3cdae3914b24"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{receita}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="414427e1-2de9-47a6-b35b-0a7d5ea6220c" x="691" y="0" width="48" height="17"/>
|
||||
<reportElement x="691" y="0" width="48" height="17" uuid="414427e1-2de9-47a6-b35b-0a7d5ea6220c"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="4917968a-5153-4c7d-a52f-ea3886ec1751" x="739" y="0" width="61" height="17"/>
|
||||
<reportElement x="739" y="0" width="61" height="17" uuid="4917968a-5153-4c7d-a52f-ea3886ec1751"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="3f2de0d3-e1e1-4c38-abe4-539529605c34" x="61" y="0" width="119" height="17"/>
|
||||
<reportElement x="61" y="0" width="119" height="17" uuid="3f2de0d3-e1e1-4c38-abe4-539529605c34"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
|
@ -384,49 +376,49 @@
|
|||
<columnFooter>
|
||||
<band height="21">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="f9fc3c96-035d-4560-a6b7-4b1694a78d65" x="180" y="3" width="45" height="17"/>
|
||||
<reportElement x="180" y="3" width="45" height="17" uuid="f9fc3c96-035d-4560-a6b7-4b1694a78d65"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeVendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="ce427a1a-d640-4060-85c9-690eacd95175" x="225" y="3" width="45" height="17"/>
|
||||
<reportElement x="225" y="3" width="45" height="17" uuid="ce427a1a-d640-4060-85c9-690eacd95175"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeDigitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="b6810f0c-87c7-42c7-86c7-f011efd30571" x="270" y="3" width="45" height="17"/>
|
||||
<reportElement x="270" y="3" width="45" height="17" uuid="b6810f0c-87c7-42c7-86c7-f011efd30571"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeAnulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="d37852e4-2683-4181-b336-20c1b9e923d7" x="315" y="3" width="45" height="17"/>
|
||||
<reportElement x="315" y="3" width="45" height="17" uuid="d37852e4-2683-4181-b336-20c1b9e923d7"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeDespesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="54b8507c-0d48-4f4c-860b-b1057ebbcc2c" x="360" y="3" width="45" height="17"/>
|
||||
<reportElement x="360" y="3" width="45" height="17" uuid="54b8507c-0d48-4f4c-860b-b1057ebbcc2c"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeDevolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="63cd03cf-dfc9-4f36-a19f-e9dda994881b" x="405" y="3" width="45" height="17"/>
|
||||
<reportElement x="405" y="3" width="45" height="17" uuid="63cd03cf-dfc9-4f36-a19f-e9dda994881b"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="00457524-e86e-4bb3-b1fe-4abe0b17f187" mode="Transparent" x="450" y="3" width="48" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement mode="Transparent" x="450" y="3" width="48" height="17" forecolor="#000000" backcolor="#FFFFFF" uuid="00457524-e86e-4bb3-b1fe-4abe0b17f187"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -434,52 +426,52 @@
|
|||
<textFieldExpression><![CDATA[$V{sum.vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="e923470b-ac0e-43fa-a70b-1d9a98554d60" x="498" y="3" width="48" height="17"/>
|
||||
<reportElement x="498" y="3" width="48" height="17" uuid="e923470b-ac0e-43fa-a70b-1d9a98554d60"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="48f8733b-29be-4a8b-aecf-e064fcbc0a2b" x="546" y="3" width="48" height="17"/>
|
||||
<reportElement x="546" y="3" width="48" height="17" uuid="48f8733b-29be-4a8b-aecf-e064fcbc0a2b"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="0740115f-b366-459a-afd6-a08a277b248e" x="594" y="3" width="48" height="17"/>
|
||||
<reportElement x="594" y="3" width="48" height="17" uuid="0740115f-b366-459a-afd6-a08a277b248e"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="fa77631c-b045-42d8-a192-091dae493739" x="642" y="3" width="48" height="17"/>
|
||||
<reportElement x="642" y="3" width="48" height="17" uuid="fa77631c-b045-42d8-a192-091dae493739"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.receita}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="12b45f25-3417-4b90-95e5-1cbd1435030b" x="691" y="3" width="48" height="17"/>
|
||||
<reportElement x="691" y="3" width="48" height="17" uuid="12b45f25-3417-4b90-95e5-1cbd1435030b"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="60cb5ef9-121c-4fb9-b425-7bc9b301d62d" x="739" y="3" width="61" height="17"/>
|
||||
<reportElement x="739" y="3" width="61" height="17" uuid="60cb5ef9-121c-4fb9-b425-7bc9b301d62d"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="1653e342-87ec-40f2-94ad-5d27b1020c3a" x="0" y="1" width="802" height="1"/>
|
||||
<reportElement x="0" y="1" width="802" height="1" uuid="1653e342-87ec-40f2-94ad-5d27b1020c3a"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="f0f7fc52-26be-4c51-8c78-3c55375be4aa" x="61" y="3" width="119" height="17"/>
|
||||
<reportElement x="3" y="3" width="127" height="17" uuid="f0f7fc52-26be-4c51-8c78-3c55375be4aa"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
|
@ -490,8 +482,7 @@
|
|||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="803" height="20"/>
|
||||
<textElement/>
|
||||
<reportElement x="0" y="0" width="803" height="20" uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620"/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,499 @@
|
|||
<?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="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Empty" uuid="94834362-0ecc-46da-b0a2-5cdee355da3e">
|
||||
<property name="ireport.zoom" value="2.1961500000000007"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" 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">
|
||||
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
|
||||
</parameter>
|
||||
<parameter name="fecFinal" class="java.lang.String"/>
|
||||
<parameter name="TITULO" class="java.lang.String"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
<field name="codigo" class="java.lang.String"/>
|
||||
<field name="empresa" class="java.lang.String"/>
|
||||
<field name="descricao" class="java.lang.String"/>
|
||||
<field name="qtdeVendido" class="java.lang.Integer"/>
|
||||
<field name="qtdeDigitado" class="java.lang.Integer"/>
|
||||
<field name="qtdeAnulado" class="java.lang.Integer"/>
|
||||
<field name="qtdeDevolvido" class="java.lang.Integer"/>
|
||||
<field name="qtdeDespesa" class="java.lang.Integer"/>
|
||||
<field name="vendido" class="java.math.BigDecimal"/>
|
||||
<field name="digitado" class="java.math.BigDecimal"/>
|
||||
<field name="anulado" class="java.math.BigDecimal"/>
|
||||
<field name="devolvido" class="java.math.BigDecimal"/>
|
||||
<field name="receita" class="java.math.BigDecimal"/>
|
||||
<field name="despesa" class="java.math.BigDecimal"/>
|
||||
<field name="total" class="java.math.BigDecimal"/>
|
||||
<field name="qtdeTotal" class="java.lang.Integer"/>
|
||||
<variable name="sum.qtdeVendido" class="java.lang.Integer" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdeVendido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.qtdeDigitado" class="java.lang.Integer" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdeDigitado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.qtdeAnulado" class="java.lang.Integer" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdeAnulado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.qtdeDespesa" class="java.lang.Integer" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdeDespesa}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.qtdeDevolvido" class="java.lang.Integer" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdeDevolvido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.qtdeTotal" class="java.lang.Integer" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdeTotal}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.vendido" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{vendido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.digitado" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{digitado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.anulado" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{anulado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.devolvido" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{devolvido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.receita" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{receita}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.despesa" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{despesa}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="sum.total" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{total}]]></variableExpression>
|
||||
</variable>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="61" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="e5d4714c-07cc-42ff-a7a8-76d6f6d3e716" x="481" y="20" width="49" height="20"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.data}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="66b2d0f6-2bf1-4bc7-9ec0-a34444e04d60" x="647" y="0" width="56" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report">
|
||||
<reportElement uuid="8ca68351-fc00-4f19-b94f-f2fd1f41964f" x="779" y="20" width="22" height="20"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="be1692e9-f130-4d08-9173-6ca3e4699030" x="713" y="20" width="42" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="4914d9e7-6ce8-4512-b1f8-13f3b572ac50" x="530" y="20" width="182" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{fecInicio} + " à " + $P{fecFinal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="652312bd-292a-424d-a234-5f157e3699c6" x="0" y="0" width="231" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="6f671365-868e-41a6-81ee-a308d1d91e1d" x="703" y="0" width="98" height="20"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="7548d623-fb6c-48d4-b8b7-504f5437a79a" x="755" y="20" width="24" height="20"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="08817d2b-5f71-4c7a-9880-51c1a791ad04" x="0" y="19" width="49" height="20"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="64d97814-2298-4fd7-bb29-dc868f21c951" x="49" y="19" width="182" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="10"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="ee05e1fa-6963-4ff9-b3c8-c6cd1bb54e94" x="0" y="39" width="802" height="1"/>
|
||||
</line>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="2cbc8ddc-38e5-4914-8189-5761ddeb2ce9" x="25" y="41" width="182" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.agencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="7965e761-2e24-4f17-84eb-9431c98ce72c" x="301" y="41" width="144" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.quantidade}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="bbaa5f53-76e0-491e-9145-e522122709e5" x="642" y="41" width="158" height="19" isPrintWhenDetailOverflows="true"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="10" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.valor}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="25" splitType="Stretch">
|
||||
<textField>
|
||||
<reportElement uuid="0638d013-af03-46b5-850f-8ee3da2bc8b8" x="739" y="4" width="61" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="dd31dee7-98a4-4b46-a2c4-e79677790bc2" x="691" y="4" width="48" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="e294d86e-22eb-48b8-81c3-fb8e1dea9bae" x="642" y="4" width="48" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.receita}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="c0bf8f56-20d8-47af-a650-4a6ba4442c8c" x="61" y="4" width="119" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.descricao}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="eb16bd4c-e5d9-423e-a089-a9b2bcbe4189" x="180" y="4" width="45" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="2c5f4806-65df-48b0-b3d4-d0912d2c5d73" x="225" y="4" width="45" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="9f25b0f2-c5bd-495a-9ef9-0916c7c07fd3" x="270" y="4" width="45" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="6555f6ff-ca40-4c88-a4b4-fb47871f6d24" x="315" y="4" width="45" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="6e4f99f7-3a81-4fc4-b647-ab77968fd9c2" x="360" y="4" width="45" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="73004b45-c340-4f04-9697-24fb33e6e608" x="405" y="4" width="45" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="30ae2209-0899-4dc0-a4f0-bf8c29d6fd70" x="450" y="4" width="48" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="bc4ff148-f663-4c3f-95bd-df48630945e5" x="498" y="4" width="48" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="801f59e8-8ff7-4a8c-bd8f-757126d95d14" x="546" y="4" width="48" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="84490947-1221-4baa-b514-003634254e5c" x="594" y="4" width="48" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="890b61c9-2195-455a-9c28-316d48ab5fea" x="0" y="4" width="60" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{header.codigo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="ae94e51c-f84c-405c-a9c3-d8fd0c48f03a" x="0" y="23" width="802" height="1"/>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="83809dd0-64dc-4779-9552-440eabef278e" x="0" y="0" width="802" height="1"/>
|
||||
</line>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="17" splitType="Stretch">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="b2a04e5c-f61e-4380-990e-604417465e9d" x="0" y="0" width="60" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{codigo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="5eac8194-63bd-43d7-8da2-8ed75f4f9219" x="180" y="0" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeVendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="a1102ca6-594a-4e66-8c6e-8d17eeb32005" x="225" y="0" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeDigitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="b371369f-84e7-4121-b00d-5d1430da8a68" x="270" y="0" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeAnulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="fcdf6e5b-55b4-4df1-9115-abe42f6a679a" x="360" y="0" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeDespesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="9840555e-e3b7-4496-a3a2-914f80abe2c8" x="315" y="0" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeDevolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="ca7b87f8-538c-44ca-99a9-58df6d377d33" x="405" y="0" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdeTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="7ac7fbc7-49b0-4205-ad7f-e21ae7b5b860" x="450" y="0" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="a2a6fbc4-5e2c-4183-a638-845493a8e345" x="498" y="0" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="37b92899-0cf9-4390-8daa-7f84b884c9af" x="546" y="0" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="5f34ab58-15a2-4b0c-886e-9e432f24cbb9" x="594" y="0" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="7f3dee8d-6a9f-4daf-a92a-3cdae3914b24" x="642" y="0" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{receita}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="414427e1-2de9-47a6-b35b-0a7d5ea6220c" x="691" y="0" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="4917968a-5153-4c7d-a52f-ea3886ec1751" x="739" y="0" width="61" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="3f2de0d3-e1e1-4c38-abe4-539529605c34" x="61" y="0" width="119" height="17"/>
|
||||
<textElement textAlignment="Center" markup="none">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<columnFooter>
|
||||
<band height="21">
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="f9fc3c96-035d-4560-a6b7-4b1694a78d65" x="180" y="3" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeVendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="ce427a1a-d640-4060-85c9-690eacd95175" x="225" y="3" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeDigitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="b6810f0c-87c7-42c7-86c7-f011efd30571" x="270" y="3" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeAnulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="d37852e4-2683-4181-b336-20c1b9e923d7" x="315" y="3" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeDespesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="54b8507c-0d48-4f4c-860b-b1057ebbcc2c" x="360" y="3" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeDevolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField isBlankWhenNull="true">
|
||||
<reportElement uuid="63cd03cf-dfc9-4f36-a19f-e9dda994881b" x="405" y="3" width="45" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.qtdeTotal}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="00457524-e86e-4bb3-b1fe-4abe0b17f187" mode="Transparent" x="450" y="3" width="48" height="17" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.vendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="e923470b-ac0e-43fa-a70b-1d9a98554d60" x="498" y="3" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.digitado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="48f8733b-29be-4a8b-aecf-e064fcbc0a2b" x="546" y="3" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.anulado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="0740115f-b366-459a-afd6-a08a277b248e" x="594" y="3" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.devolvido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="fa77631c-b045-42d8-a192-091dae493739" x="642" y="3" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.receita}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="12b45f25-3417-4b90-95e5-1cbd1435030b" x="691" y="3" width="48" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.despesa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="true">
|
||||
<reportElement uuid="60cb5ef9-121c-4fb9-b425-7bc9b301d62d" x="739" y="3" width="61" height="17"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="8" isBold="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{sum.total}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="1653e342-87ec-40f2-94ad-5d27b1020c3a" x="0" y="1" width="802" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="f0f7fc52-26be-4c51-8c78-3c55375be4aa" x="61" y="3" width="119" height="17"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{detail.totalGeral}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</columnFooter>
|
||||
<noData>
|
||||
<band height="20">
|
||||
<textField>
|
||||
<reportElement uuid="5a6c1b7b-2242-4cf1-b957-723b906ee620" x="0" y="0" width="803" height="20"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
|
@ -26,6 +26,7 @@ import com.rjconsultores.ventaboletos.entidad.Empresa;
|
|||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioAgenciaFechamento;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioAgenciaFechamentoAntigo;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioAgenciaFechamentoResumoDiario;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
|
@ -61,6 +62,7 @@ public class RelatorioAgenciaFechamentoController extends MyGenericForwardCompos
|
|||
|
||||
private Radio radLayoutNovo;
|
||||
private Radio radLayoutAntigo;
|
||||
private Radio radLayoutResumoDiario;
|
||||
|
||||
private List<Empresa> lsEmpresas;
|
||||
|
||||
|
@ -99,17 +101,17 @@ public class RelatorioAgenciaFechamentoController extends MyGenericForwardCompos
|
|||
}
|
||||
Relatorio relatorio;
|
||||
Map<String, Object> args = new HashMap<String, Object>();
|
||||
if (radLayoutNovo.isChecked()) {
|
||||
booleanLayout = true;
|
||||
}
|
||||
if(booleanLayout) {
|
||||
if (radLayoutNovo.isChecked()) {
|
||||
relatorio = new RelatorioAgenciaFechamento(parametros, dataSourceRead.getConnection());
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
}else {
|
||||
}else if (radLayoutAntigo.isChecked()){
|
||||
relatorio = new RelatorioAgenciaFechamentoAntigo(parametros, dataSourceRead.getConnection());
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
} else {
|
||||
relatorio = new RelatorioAgenciaFechamentoResumoDiario(parametros, dataSourceRead.getConnection());
|
||||
args.put("relatorio", relatorio);
|
||||
}
|
||||
|
||||
openWindow("/component/reportView.zul",
|
||||
|
@ -205,5 +207,11 @@ public class RelatorioAgenciaFechamentoController extends MyGenericForwardCompos
|
|||
this.radLayoutAntigo = radLayoutAntigo;
|
||||
}
|
||||
|
||||
|
||||
public Radio getRadLayoutResumoDiario() {
|
||||
return radLayoutResumoDiario;
|
||||
}
|
||||
|
||||
public void setRadLayoutResumoDiario(Radio radLayoutResumoDiario) {
|
||||
this.radLayoutResumoDiario = radLayoutResumoDiario;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -696,6 +696,7 @@ relatorioVendasBilheteiroController.lbBilheteiro.value = Agente de Pasajes
|
|||
relatorioVendasBilheteiroController.lbLayout.value = Layout
|
||||
relatorioVendasBilheteiroController.lbLayoutNovo.value = Novo
|
||||
relatorioVendasBilheteiroController.lbLayoutAntigo.value = Antigo
|
||||
relatorioVendasBilheteiroController.lbLayoutResumoDiario.value = Resumo Diário
|
||||
|
||||
#Relatório de Vendas por bilheteiro Sintético
|
||||
relatorioVendasBilheteiroSinteticoController.window.title = Reporte de ventas por agentes sintético
|
||||
|
|
|
@ -736,6 +736,7 @@ relatorioVendasBilheteiroController.lbBilheteiro.value = Bilheteiro
|
|||
relatorioVendasBilheteiroController.lbLayout.value = Layout
|
||||
relatorioVendasBilheteiroController.lbLayoutNovo.value = Novo
|
||||
relatorioVendasBilheteiroController.lbLayoutAntigo.value = Antigo
|
||||
relatorioVendasBilheteiroController.lbLayoutResumoDiario.value = Resumo Diário
|
||||
|
||||
#Relatório de Vendas por bilheteiro Sintético
|
||||
relatorioVendasBilheteiroSinteticoController.window.title = Relatório de Vendas por Bilheteiro Sintético
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winRelatorioAgenciaFechamento"
|
||||
apply="${relatorioAgenciaFechamentoController}"
|
||||
contentStyle="overflow:auto" height="280px" width="560px"
|
||||
contentStyle="overflow:auto" height="280px" width="760px"
|
||||
border="normal">
|
||||
|
||||
<grid fixedLayout="true">
|
||||
|
@ -82,6 +82,7 @@
|
|||
<radiogroup Id="layout">
|
||||
<radio id="radLayoutNovo" label="${c:l('relatorioVendasBilheteiroController.lbLayoutNovo.value')}" />
|
||||
<radio id="radLayoutAntigo" label="${c:l('relatorioVendasBilheteiroController.lbLayoutAntigo.value')}" />
|
||||
<radio id="radLayoutResumoDiario" label="${c:l('relatorioVendasBilheteiroController.lbLayoutResumoDiario.value')}" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
<row spans="4">
|
||||
|
|
Loading…
Reference in New Issue