fixes bug#22144
qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@106788 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
1d7088499e
commit
4d0cc7e850
|
@ -49,7 +49,7 @@ public class RelatorioTaxasLinha extends Relatorio {
|
|||
String puntosVentaIds = (String) parametros.get("NUMPUNTOVENTA");
|
||||
|
||||
Boolean isTxEmbarque = (Boolean) parametros.get("IS_TX_EMBARQUE");
|
||||
Boolean isPedagio = (Boolean) parametros.get("IS_SEGURO");
|
||||
Boolean isPedagio = (Boolean) parametros.get("IS_PEDAGIO");
|
||||
Boolean isSeguro = (Boolean) parametros.get("IS_SEGURO");
|
||||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioTaxasLinhaBean>();
|
||||
|
@ -113,6 +113,11 @@ public class RelatorioTaxasLinha extends Relatorio {
|
|||
BigDecimal pedagio_vendidos = rset1.getBigDecimal("PEDAGIO_VENDIDOS") == null ? BigDecimal.ZERO : rset1.getBigDecimal("PEDAGIO_VENDIDOS");
|
||||
BigDecimal seguro_vendidos = rset1.getBigDecimal("SEGURO_VENDIDOS") == null ? BigDecimal.ZERO : rset1.getBigDecimal("SEGURO_VENDIDOS");
|
||||
|
||||
BigDecimal qtdSeguroOpcionalCancelado = rset1.getBigDecimal("QTD_SEGUROOPCIONALCANCELADO") == null ? BigDecimal.ZERO : rset1.getBigDecimal("QTD_SEGUROOPCIONALCANCELADO");
|
||||
BigDecimal totalValorSeguroOpcionalCancelado = rset1.getBigDecimal("TOTAL_VALORSEGUROOPCIONALCANCELADO") == null ? BigDecimal.ZERO : rset1.getBigDecimal("TOTAL_VALORSEGUROOPCIONALCANCELADO");
|
||||
BigDecimal qtdSeguroOpcionalVendidos = rset1.getBigDecimal("QTD_SEGUROOPCIONALVENDIDOS") == null ? BigDecimal.ZERO : rset1.getBigDecimal("QTD_SEGUROOPCIONALVENDIDOS");
|
||||
BigDecimal totalValorseguroOpcionalVendido = rset1.getBigDecimal("TOTAL_VALORSEGUROOPCIONALVENDIDO") == null ? BigDecimal.ZERO : rset1.getBigDecimal("TOTAL_VALORSEGUROOPCIONALVENDIDO");
|
||||
|
||||
|
||||
RelatorioTaxasLinhaBean taxasLinha = new RelatorioTaxasLinhaBean();
|
||||
|
||||
|
@ -182,6 +187,11 @@ public class RelatorioTaxasLinha extends Relatorio {
|
|||
taxasLinha.setPEDAGIO_VENDIDOS(pedagio_vendidos);
|
||||
taxasLinha.setSEGURO_VENDIDOS(seguro_vendidos);
|
||||
|
||||
taxasLinha.setQtdSeguroOpcionalCancelado(qtdSeguroOpcionalCancelado);
|
||||
taxasLinha.setTotalValorSeguroOpcionalCancelado(totalValorSeguroOpcionalCancelado);
|
||||
taxasLinha.setQtdSeguroOpcionalVendidos(qtdSeguroOpcionalVendidos);
|
||||
taxasLinha.setTotalValorseguroOpcionalVendido(totalValorseguroOpcionalVendido);
|
||||
|
||||
if( importeTaxaEmbarque.doubleValue() > 0 && isTxEmbarque ) {
|
||||
isValidado = true;
|
||||
}else if( importeSeguro.doubleValue() > 0 && isSeguro ) {
|
||||
|
@ -261,7 +271,11 @@ public class RelatorioTaxasLinha extends Relatorio {
|
|||
sql.append(" SUM( (case when cj.motivocancelacion_id is null then 1 else -1 end) * CJ.IMPORTETAXAEMBARQUE) TOTAL_EMBARQUE, ");
|
||||
sql.append(" SUM( (case when cj.motivocancelacion_id is null then 1 else -1 end) * CJ.IMPORTEPEDAGIO) TOTAL_PEDAGIO, ");
|
||||
sql.append(" SUM( (case when cj.motivocancelacion_id is null then 1 else -1 end) * CJ.IMPORTESEGURO) TOTAL_SEGURO, ");
|
||||
sql.append(" EST.ICMS AS ICMS ");
|
||||
sql.append(" EST.ICMS AS ICMS, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado >0 then 1 else 0.0 end)) QTD_SEGUROOPCIONALCANCELADO, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado >0 then tx.valortaxa else 0.0 end )) TOTAL_VALORSEGUROOPCIONALCANCELADO, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado =0 then 1 else 0.0 end )) QTD_SEGUROOPCIONALVENDIDOS, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado =0 then tx.valortaxa else 0.0 end )) TOTAL_VALORSEGUROOPCIONALVENDIDO ");
|
||||
|
||||
sql.append("FROM CAJA CJ ");
|
||||
sql.append("INNER JOIN PUNTO_VENTA PV ON CJ.PUNTOVENTA_ID = PV.PUNTOVENTA_ID ");
|
||||
|
@ -273,6 +287,7 @@ public class RelatorioTaxasLinha extends Relatorio {
|
|||
sql.append("INNER JOIN CIUDAD CD ON PD.CIUDAD_ID = CD.CIUDAD_ID ");
|
||||
sql.append("LEFT JOIN CORRIDA CR ON (CJ.CORRIDA_ID = CR.CORRIDA_ID AND CJ.FECCORRIDA = CR.FECCORRIDA) ");
|
||||
sql.append("LEFT JOIN RUTA RT ON RT.RUTA_ID = CJ.RUTA_ID ");
|
||||
sql.append("LEFT JOIN TAXPOLV TX ON TX.BOLETO_ID =CJ.TRANSACAO_ID ");
|
||||
|
||||
sql.append("WHERE (CJ.IMPORTETAXAEMBARQUE>0 OR CJ.IMPORTEPEDAGIO>0 OR CJ.IMPORTESEGURO>0) ");
|
||||
sql.append("AND CJ.INDSTATUSOPERACION = 'F' ");
|
||||
|
@ -299,7 +314,7 @@ public class RelatorioTaxasLinha extends Relatorio {
|
|||
sql.append(" CJ.PUNTOVENTA_ID, ");
|
||||
sql.append(" PV.NOMBPUNTOVENTA, ");
|
||||
sql.append(" EST.ICMS ");
|
||||
sql.append(" ORDER BY EM.NOMBEMPRESA, PO.DESCPARADA, PD.DESCPARADA, PV.NOMBPUNTOVENTA ");
|
||||
sql.append(" ORDER BY EM.NOMBEMPRESA,PV.NOMBPUNTOVENTA ,PO.DESCPARADA, PD.DESCPARADA ");
|
||||
|
||||
return sql.toString();
|
||||
}
|
||||
|
|
|
@ -0,0 +1,146 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
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.RelatorioW2IBean;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
||||
public class RelatorioW2IAnalitico extends Relatorio {
|
||||
|
||||
private static Logger log = Logger.getLogger(RelatorioW2IAnalitico.class);
|
||||
private List<RelatorioW2IBean> lsDadosRelatorio;
|
||||
|
||||
public RelatorioW2IAnalitico(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 puntosVentaIds = (String) parametros.get("NUMPUNTOVENTA");
|
||||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioW2IBean>();
|
||||
|
||||
String sql = getSql(puntosVentaIds);
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
|
||||
ResultSet rset = null;
|
||||
|
||||
stmt.setInt("TIPO_DATA", (Integer) parametros.get("TIPO_DATA"));
|
||||
stmt.setTimestamp("DATA_INICIAL", new Timestamp(DateUtil.inicioFecha((Date) parametros.get("DATA_INICIAL")).getTime()));
|
||||
stmt.setTimestamp("DATA_FINAL", new Timestamp(DateUtil.fimFecha((Date) parametros.get("DATA_FINAL")).getTime()));
|
||||
|
||||
if (parametros.get("EMPRESA_ID") != null)
|
||||
stmt.setInt("EMPRESA_ID", (Integer) parametros.get("EMPRESA_ID"));
|
||||
else
|
||||
stmt.setNull("EMPRESA_ID", java.sql.Types.INTEGER);
|
||||
|
||||
if (parametros.get("ORIGEN_ID") != null && parametros.get("ORIGEN_ID") != "" && ((Integer) parametros.get("ORIGEN_ID") != -1))
|
||||
stmt.setInt("ORIGEN_ID", (Integer) parametros.get("ORIGEN_ID"));
|
||||
else
|
||||
stmt.setNull("ORIGEN_ID", java.sql.Types.INTEGER);
|
||||
|
||||
if (parametros.get("DESTINO_ID") != null && parametros.get("DESTINO_ID") != "" && ((Integer) parametros.get("DESTINO_ID") != -1))
|
||||
stmt.setInt("DESTINO_ID", (Integer) parametros.get("DESTINO_ID"));
|
||||
else
|
||||
stmt.setNull("DESTINO_ID", java.sql.Types.INTEGER);
|
||||
|
||||
rset = stmt.executeQuery();
|
||||
|
||||
RelatorioW2IBean relatorioW2IBean = null;
|
||||
while (rset.next()) {
|
||||
relatorioW2IBean = new RelatorioW2IBean();
|
||||
relatorioW2IBean.setEmpresaId(rset.getInt("empresaId"));
|
||||
relatorioW2IBean.setEmpresa(rset.getString("empresa"));
|
||||
relatorioW2IBean.setPuntoVentaId(rset.getInt("puntoVentaId"));
|
||||
relatorioW2IBean.setAgencia(rset.getString("agencia"));
|
||||
relatorioW2IBean.setNumBilhete(rset.getLong("numBilhete"));
|
||||
relatorioW2IBean.setOrigem(rset.getString("origem"));
|
||||
relatorioW2IBean.setDestino(rset.getString("destino"));
|
||||
relatorioW2IBean.setDataVenda(rset.getDate("dataVenda"));
|
||||
relatorioW2IBean.setDataViaje(rset.getDate("dataViaje"));
|
||||
relatorioW2IBean.setPoltrona(rset.getString("poltrona"));
|
||||
relatorioW2IBean.setStatus(rset.getString("status"));
|
||||
relatorioW2IBean.setValorTaxa(rset.getBigDecimal("valorTaxa") == null ? BigDecimal.ZERO : rset.getBigDecimal("valorTaxa"));
|
||||
|
||||
lsDadosRelatorio.add(relatorioW2IBean);
|
||||
}
|
||||
|
||||
if (lsDadosRelatorio.size() > 0) {
|
||||
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
public void setLsDadosRelatorio(List<RelatorioW2IBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
private String getSql(String puntosVentaIds) {
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append("SELECT DISTINCT ");
|
||||
sql.append("em.empresa_id AS empresaId, ");
|
||||
sql.append("em.nombempresa AS empresa, ");
|
||||
sql.append("pv.puntoventa_id AS puntoVentaId, ");
|
||||
sql.append("pv.nombpuntoventa As agencia, ");
|
||||
sql.append("tx.boleto_id AS numBilhete, ");
|
||||
sql.append("po.descparada AS origem, ");
|
||||
sql.append("pd.descparada AS destino, ");
|
||||
sql.append("b.fechorviaje dataViaje, ");
|
||||
sql.append("b.fechorventa dataVenda, ");
|
||||
sql.append("b.numasiento AS poltrona, ");
|
||||
sql.append("tx.valortaxa AS valorTaxa, ");
|
||||
sql.append("CASE WHEN tx.indcancelado=0 THEN 'V' ELSE 'C' END status ");
|
||||
|
||||
sql.append("FROM taxpolv tx ");
|
||||
|
||||
sql.append("INNER JOIN boleto b on b.boleto_id=tx.boleto_id ");
|
||||
sql.append("INNER JOIN punto_venta pv ON pv.PUNTOVENTA_ID = b.PUNTOVENTA_ID ");
|
||||
sql.append("INNER JOIN empresa em ON em.empresa_id=b.empresacorrida_id ");
|
||||
sql.append("INNER JOIN parada po ON po.parada_id=b.origen_id ");
|
||||
sql.append("INNER JOIN parada pd ON pd.parada_id=b.destino_id ");
|
||||
sql.append("INNER JOIN CIUDAD co ON co.ciudad_id=po.ciudad_id ");
|
||||
sql.append("INNER JOIN CIUDAD cd ON cd.ciudad_id=pd.ciudad_id ");
|
||||
|
||||
sql.append("WHERE DECODE(:TIPO_DATA, 1, b.FECHORVENTA, 2, b.FECCORRIDA) BETWEEN :DATA_INICIAL AND :DATA_FINAL ");
|
||||
sql.append("AND em.empresa_id = COALESCE(:EMPRESA_ID, em.empresa_id) ");
|
||||
sql.append("AND po.parada_id = COALESCE(:ORIGEN_ID, po.parada_id) ");
|
||||
sql.append("AND pd.parada_id = COALESCE(:DESTINO_ID, pd.parada_id) ");
|
||||
|
||||
if (!puntosVentaIds.equals("Todas")) {
|
||||
sql.append(" AND pv.puntoventa_id IN (").append(puntosVentaIds).append(") ");
|
||||
}
|
||||
|
||||
sql.append("ORDER BY b.fechorventa ASC ");
|
||||
|
||||
return sql.toString();
|
||||
};
|
||||
|
||||
}
|
|
@ -0,0 +1,134 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.impl;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Connection;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
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.RelatorioW2ISinteticoBean;
|
||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||
|
||||
public class RelatorioW2ISintetico extends Relatorio {
|
||||
|
||||
private static Logger log = Logger.getLogger(RelatorioW2ISintetico.class);
|
||||
private List<RelatorioW2ISinteticoBean> lsDadosRelatorio;
|
||||
|
||||
public RelatorioW2ISintetico(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();
|
||||
|
||||
lsDadosRelatorio = new ArrayList<RelatorioW2ISinteticoBean>();
|
||||
|
||||
String sql = getSql(parametros);
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
ResultSet rset = null;
|
||||
|
||||
stmt.setInt("TIPO_DATA", (Integer) parametros.get("TIPO_DATA"));
|
||||
stmt.setTimestamp("DATA_INICIAL", new Timestamp(DateUtil.inicioFecha((Date) parametros.get("DATA_INICIAL")).getTime()));
|
||||
stmt.setTimestamp("DATA_FINAL", new Timestamp(DateUtil.fimFecha((Date) parametros.get("DATA_FINAL")).getTime()));
|
||||
|
||||
if (parametros.get("EMPRESA_ID") != null)
|
||||
stmt.setInt("EMPRESA_ID", (Integer) parametros.get("EMPRESA_ID"));
|
||||
|
||||
if (parametros.get("ORIGEN_ID") != null && parametros.get("ORIGEN_ID") != "" && ((Integer) parametros.get("ORIGEN_ID") != -1))
|
||||
stmt.setInt("ORIGEN_ID", (Integer) parametros.get("ORIGEN_ID"));
|
||||
|
||||
if (parametros.get("DESTINO_ID") != null && parametros.get("DESTINO_ID") != "" && ((Integer) parametros.get("DESTINO_ID") != -1))
|
||||
stmt.setInt("DESTINO_ID", (Integer) parametros.get("DESTINO_ID"));
|
||||
|
||||
rset = stmt.executeQuery();
|
||||
|
||||
RelatorioW2ISinteticoBean relatorioW2ISinteticoBean = null;
|
||||
while (rset.next()) {
|
||||
relatorioW2ISinteticoBean = new RelatorioW2ISinteticoBean();
|
||||
relatorioW2ISinteticoBean.setEmpresaId(rset.getInt("empresaId"));
|
||||
relatorioW2ISinteticoBean.setEmpresa(rset.getString("empresa"));
|
||||
relatorioW2ISinteticoBean.setPuntoVentaId(rset.getInt("puntoVentaId"));
|
||||
relatorioW2ISinteticoBean.setAgencia(rset.getString("agencia"));
|
||||
relatorioW2ISinteticoBean.setQtdSeguroOpcionalCancelado(rset.getBigDecimal("qtdSeguroOpcionalCancelado") == null ? BigDecimal.ZERO : rset.getBigDecimal("qtdSeguroOpcionalCancelado"));
|
||||
relatorioW2ISinteticoBean.setTotalValorSeguroOpcionalCancelado(rset.getBigDecimal("totalValorSeguroOpcionalCancelado") == null ? BigDecimal.ZERO : rset.getBigDecimal("totalValorSeguroOpcionalCancelado"));
|
||||
relatorioW2ISinteticoBean.setQtdSeguroOpcionalVendidos(rset.getBigDecimal("qtdSeguroOpcionalVendidos") == null ? BigDecimal.ZERO : rset.getBigDecimal("qtdSeguroOpcionalVendidos"));
|
||||
relatorioW2ISinteticoBean.setTotalValorseguroOpcionalVendido(rset.getBigDecimal("totalValorSeguroOpcionalVendido") == null ? BigDecimal.ZERO : rset.getBigDecimal("totalValorSeguroOpcionalVendido"));
|
||||
lsDadosRelatorio.add(relatorioW2ISinteticoBean);
|
||||
|
||||
}
|
||||
|
||||
if (lsDadosRelatorio.size() > 0) {
|
||||
|
||||
setLsDadosRelatorio(lsDadosRelatorio);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
public void setLsDadosRelatorio(List<RelatorioW2ISinteticoBean> lsDadosRelatorio) {
|
||||
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||
this.lsDadosRelatorio = lsDadosRelatorio;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void processaParametros() throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
private String getSql(Map<String, Object> parametros) {
|
||||
String puntosVentaIds = (String) parametros.get("NUMPUNTOVENTA");
|
||||
|
||||
StringBuilder sql = new StringBuilder();
|
||||
sql.append("SELECT DISTINCT ");
|
||||
sql.append("em.empresa_id AS empresaId, ");
|
||||
sql.append("em.nombempresa AS empresa, ");
|
||||
sql.append("pv.puntoventa_id AS puntoVentaId, ");
|
||||
sql.append("pv.nombpuntoventa As agencia, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado >0 then 1 else 0.0 end)) qtdSeguroOpcionalCancelado, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado >0 then tx.valortaxa else 0.0 end )) totalValorSeguroOpcionalCancelado, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado =0 then 1 else 0.0 end )) qtdSeguroOpcionalVendidos, ");
|
||||
sql.append(" SUM( (case when tx.indcancelado =0 then tx.valortaxa else 0.0 end )) totalValorSeguroOpcionalVendido ");
|
||||
sql.append("FROM taxpolv tx ");
|
||||
|
||||
sql.append("INNER JOIN boleto b on b.boleto_id=tx.boleto_id ");
|
||||
sql.append("INNER JOIN punto_venta pv ON pv.PUNTOVENTA_ID = b.PUNTOVENTA_ID ");
|
||||
sql.append("INNER JOIN empresa em ON em.empresa_id=b.empresacorrida_id ");
|
||||
sql.append("INNER JOIN parada po ON po.parada_id=b.origen_id ");
|
||||
sql.append("INNER JOIN parada pd ON pd.parada_id=b.destino_id ");
|
||||
sql.append("INNER JOIN CIUDAD co ON co.ciudad_id=po.ciudad_id ");
|
||||
sql.append("INNER JOIN CIUDAD cd ON cd.ciudad_id=pd.ciudad_id ");
|
||||
|
||||
sql.append("WHERE DECODE(:TIPO_DATA, 1, b.FECHORVENTA, 2, b.FECCORRIDA) BETWEEN :DATA_INICIAL AND :DATA_FINAL ");
|
||||
if (parametros.get("EMPRESA_ID") != null) {
|
||||
sql.append("AND em.empresa_id = COALESCE(:EMPRESA_ID, em.empresa_id) ");
|
||||
}
|
||||
if (parametros.get("ORIGEN_ID") != null && parametros.get("ORIGEN_ID") != "" && ((Integer) parametros.get("ORIGEN_ID") != -1)) {
|
||||
sql.append("AND po.parada_id = COALESCE(:ORIGEN_ID, po.parada_id) ");
|
||||
}
|
||||
if (parametros.get("DESTINO_ID") != null && parametros.get("DESTINO_ID") != "" && ((Integer) parametros.get("DESTINO_ID") != -1)) {
|
||||
sql.append("AND pd.parada_id = COALESCE(:DESTINO_ID, pd.parada_id) ");
|
||||
}
|
||||
if (!puntosVentaIds.equals("Todas")) {
|
||||
sql.append(" AND pv.puntoventa_id IN (").append(puntosVentaIds).append(") ");
|
||||
}
|
||||
sql.append("GROUP BY em.empresa_id, em.nombempresa,pv.puntoventa_id,pv.nombpuntoventa ");
|
||||
|
||||
return sql.toString();
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
|
||||
|
||||
#Labels cabeçalho
|
||||
cabecalho.relatorio=Relatório:
|
||||
cabecalho.periodo=Período:
|
||||
cabecalho.periodoA=à
|
||||
cabecalho.dataHora=Data/Hora:
|
||||
cabecalho.impressorPor=Impressor por:
|
||||
cabecalho.pagina=Página
|
||||
cabecalho.de=de
|
||||
cabecalho.filtros=Filtros:
|
|
@ -0,0 +1,13 @@
|
|||
#geral
|
||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||
|
||||
|
||||
#Labels cabeçalho
|
||||
cabecalho.relatorio=Relatório:
|
||||
cabecalho.periodo=Período:
|
||||
cabecalho.periodoA=à
|
||||
cabecalho.dataHora=Data/Hora:
|
||||
cabecalho.impressorPor=Impressor por:
|
||||
cabecalho.pagina=Página
|
||||
cabecalho.de=de
|
||||
cabecalho.filtros=Filtros:
|
Binary file not shown.
|
@ -1,8 +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="RelatorioTaxasLinha" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="0"/>
|
||||
<property name="ireport.y" value="63"/>
|
||||
<property name="ireport.x" value="8"/>
|
||||
<property name="ireport.y" value="94"/>
|
||||
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
<style name="table">
|
||||
<box>
|
||||
|
@ -35,6 +35,7 @@
|
|||
<parameter name="IS_TX_EMBARQUE" class="java.lang.Boolean"/>
|
||||
<parameter name="IS_PEDAGIO" class="java.lang.Boolean"/>
|
||||
<parameter name="IS_SEGURO" class="java.lang.Boolean"/>
|
||||
<parameter name="IS_SEGUROOPCIONAL" class="java.lang.Boolean"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
|
@ -52,6 +53,10 @@
|
|||
<field name="EMBARQUE_VENDIDOS" class="java.math.BigDecimal"/>
|
||||
<field name="PEDAGIO_VENDIDOS" class="java.math.BigDecimal"/>
|
||||
<field name="SEGURO_VENDIDOS" class="java.math.BigDecimal"/>
|
||||
<field name="qtdSeguroOpcionalCancelado" class="java.math.BigDecimal"/>
|
||||
<field name="totalValorSeguroOpcionalCancelado" class="java.math.BigDecimal"/>
|
||||
<field name="qtdSeguroOpcionalVendidos" class="java.math.BigDecimal"/>
|
||||
<field name="totalValorseguroOpcionalVendido" class="java.math.BigDecimal"/>
|
||||
<variable name="TOTAL_EMBARQUE_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{TOTAL_EMBARQUE}]]></variableExpression>
|
||||
</variable>
|
||||
|
@ -88,89 +93,170 @@
|
|||
<variable name="SEGURO_VENDIDOS_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{SEGURO_VENDIDOS}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalCancelado_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorSeguroOpcionalCancelado_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalVendidos_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorseguroOpcionalVendido_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalCancelado_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorSeguroOpcionalCancelado_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalVendidos_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorseguroOpcionalVendido_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></variableExpression>
|
||||
</variable>
|
||||
<group name="grpEmpresa">
|
||||
<groupExpression><![CDATA[$F{NOMBEMPRESA}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="14">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="187" height="14" uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb"/>
|
||||
<reportElement uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb" x="0" y="0" width="187" height="14"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Empresa: "+$F{NOMBEMPRESA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773" x="0" y="0" width="552" height="1"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="11">
|
||||
<band height="12">
|
||||
<staticText>
|
||||
<reportElement x="0" y="0" width="51" height="11" uuid="2a963103-78f6-46c6-ac37-29ed4654df56"/>
|
||||
<reportElement uuid="2a963103-78f6-46c6-ac37-29ed4654df56" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Total Empresa: ]]></text>
|
||||
</staticText>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="443" y="0" width="37" height="11" uuid="0617c1e5-cd2f-4b67-ba79-d68c6604275e">
|
||||
<reportElement uuid="0617c1e5-cd2f-4b67-ba79-d68c6604275e" x="331" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_EMBARQUE_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="480" y="0" width="37" height="11" uuid="64e6d5bd-b475-479b-a12b-c4c28025fd57">
|
||||
<reportElement uuid="64e6d5bd-b475-479b-a12b-c4c28025fd57" x="361" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="517" y="0" width="37" height="11" uuid="2cf7fe63-7c91-47d0-9ccb-71e1f669579f">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_SEGURO_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="0" y="10" width="554" height="1" forecolor="#666666" uuid="7fc66df3-edd7-4149-847e-1375a3621e80"/>
|
||||
<reportElement uuid="7fc66df3-edd7-4149-847e-1375a3621e80" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="0" y="0" width="554" height="1" forecolor="#666666" uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51"/>
|
||||
<reportElement uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51" x="0" y="0" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement x="331" y="0" width="38" height="10" uuid="95408a88-e07a-409a-a11d-5061362a9521">
|
||||
<reportElement uuid="95408a88-e07a-409a-a11d-5061362a9521" x="241" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{EMBARQUE_VENDIDOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="369" y="0" width="38" height="11" uuid="e6546467-4251-4025-a0b8-e6502bc5b141">
|
||||
<reportElement uuid="e6546467-4251-4025-a0b8-e6502bc5b141" x="271" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PEDAGIO_VENDIDOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="407" y="0" width="36" height="11" uuid="d3f05b2b-2c01-4b3b-a471-e79b0e5bbd75">
|
||||
<reportElement uuid="d3f05b2b-2c01-4b3b-a471-e79b0e5bbd75" x="301" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{SEGURO_VENDIDOS_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="aae4ca90-ecdd-4f3b-9199-20a7bd86ae56" x="421" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalCancelado_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="1e9dd609-759a-47ba-abe8-16186f491d24" x="451" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorSeguroOpcionalCancelado_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="b60d9e41-0cee-4745-b7de-e8893a5730f3" x="481" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalVendidos_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="6f182823-9822-49ec-a0e1-76cca114addc" x="511" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorseguroOpcionalVendido_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="5162f048-897c-495a-9033-20c188c17d4e" x="391" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_SEGURO_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<group name="AgenciaGroup">
|
||||
<groupExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="11">
|
||||
<staticText>
|
||||
<reportElement uuid="32c20a27-414c-41be-86b2-0d23645acd18" x="0" y="0" width="88" height="11"/>
|
||||
<box leftPadding="10"/>
|
||||
<textElement>
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement uuid="b2a45c9f-3da0-4273-9941-c9e31ee61723" x="88" y="0" width="88" height="11"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="59" splitType="Stretch">
|
||||
<band height="58" splitType="Stretch">
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="1" y="1" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc"/>
|
||||
<reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Transparent" x="1" y="1" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -178,7 +264,7 @@
|
|||
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="1" y="16" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920"/>
|
||||
<reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Transparent" x="1" y="16" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -186,7 +272,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="46" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb"/>
|
||||
<reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Transparent" x="46" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -194,7 +280,7 @@
|
|||
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="123" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25"/>
|
||||
<reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Transparent" x="123" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -202,7 +288,7 @@
|
|||
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="113" y="16" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="def1b81c-a286-4749-9ef7-f90984a3a5eb"/>
|
||||
<reportElement uuid="def1b81c-a286-4749-9ef7-f90984a3a5eb" mode="Transparent" x="113" y="16" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -210,7 +296,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="461" y="0" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744"/>
|
||||
<reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Transparent" x="461" y="0" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -218,17 +304,17 @@
|
|||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement x="-4" y="43" width="554" height="1" uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9"/>
|
||||
<reportElement uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9" x="-4" y="43" width="554" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement x="379" y="0" width="80" height="15" uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd"/>
|
||||
<reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" x="379" y="0" width="80" height="15"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="450" y="31" width="100" height="12" forecolor="#000000" backcolor="#FFFFFF" uuid="623b5d82-e7b3-4439-96c5-f44833fb8864"/>
|
||||
<reportElement uuid="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Transparent" x="450" y="31" width="100" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -236,7 +322,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF" uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce"/>
|
||||
<reportElement uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -244,14 +330,14 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="47" y="44" width="717" height="14" uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f"/>
|
||||
<reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" x="47" y="44" width="717" height="14"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="430" y="16" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263"/>
|
||||
<reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Transparent" x="430" y="16" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -259,7 +345,7 @@
|
|||
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement mode="Transparent" x="535" y="16" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a"/>
|
||||
<reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Transparent" x="535" y="16" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
|
@ -269,42 +355,36 @@
|
|||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="13">
|
||||
<band height="12">
|
||||
<line>
|
||||
<reportElement x="0" y="0" width="554" height="1" uuid="04a75f17-3686-484b-be43-7b7e22e9def7"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement x="0" y="12" width="554" height="1" uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773"/>
|
||||
<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="0" width="554" height="1"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement x="0" y="1" width="34" height="11" uuid="9c579f27-ee14-4804-b73d-64994a6e41ec"/>
|
||||
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="0" y="1" width="34" height="11"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Prefixo]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="37" y="1" width="55" height="11" uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f"/>
|
||||
<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="37" y="1" width="55" height="11"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="92" y="1" width="55" height="11" uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526"/>
|
||||
<reportElement uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526" x="92" y="1" width="55" height="11"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Destino]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="235" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="7b817589-f754-49f1-bf53-856be52946fb">
|
||||
<reportElement uuid="7b817589-f754-49f1-bf53-856be52946fb" mode="Transparent" x="151" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -314,7 +394,7 @@
|
|||
<text><![CDATA[Emb.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="267" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="93a5880a-7547-4e53-85f4-09a6c22d5699">
|
||||
<reportElement uuid="93a5880a-7547-4e53-85f4-09a6c22d5699" mode="Transparent" x="181" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -324,7 +404,7 @@
|
|||
<text><![CDATA[Ped.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="299" y="1" width="32" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="1d4f5650-a014-468d-a9b2-c58887492ace">
|
||||
<reportElement uuid="1d4f5650-a014-468d-a9b2-c58887492ace" mode="Transparent" x="211" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -334,7 +414,7 @@
|
|||
<text><![CDATA[Seg.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="443" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="9b724ccc-0e90-4271-9e51-54128161d074">
|
||||
<reportElement uuid="9b724ccc-0e90-4271-9e51-54128161d074" mode="Transparent" x="331" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -344,7 +424,7 @@
|
|||
<text><![CDATA[T. Emb.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="480" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="88be8133-60fd-45a5-9c81-363647bb3002">
|
||||
<reportElement uuid="88be8133-60fd-45a5-9c81-363647bb3002" mode="Transparent" x="361" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -354,7 +434,7 @@
|
|||
<text><![CDATA[T. Ped.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="517" y="1" width="37" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="bb5f610e-adc6-4f73-ba16-11ce1ec169a3">
|
||||
<reportElement uuid="bb5f610e-adc6-4f73-ba16-11ce1ec169a3" mode="Transparent" x="391" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -364,7 +444,7 @@
|
|||
<text><![CDATA[T. Seg.]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="331" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="c41834a6-5ca0-4bba-a5ac-0cc2dd7a35b5">
|
||||
<reportElement uuid="c41834a6-5ca0-4bba-a5ac-0cc2dd7a35b5" mode="Transparent" x="241" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -374,14 +454,7 @@
|
|||
<text><![CDATA[Q. Emb]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement x="147" y="1" width="88" height="11" uuid="32c20a27-414c-41be-86b2-0d23645acd18"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="369" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="88257609-1874-4558-b57a-bc6f811f7896">
|
||||
<reportElement uuid="88257609-1874-4558-b57a-bc6f811f7896" mode="Transparent" x="271" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -391,7 +464,7 @@
|
|||
<text><![CDATA[Q. Ped]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement mode="Transparent" x="407" y="1" width="38" height="11" forecolor="#000000" backcolor="#FFFFFF" uuid="276a9b95-f7ce-44e7-a3a9-65f7fd6944fd">
|
||||
<reportElement uuid="276a9b95-f7ce-44e7-a3a9-65f7fd6944fd" mode="Transparent" x="301" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
|
@ -400,151 +473,263 @@
|
|||
</textElement>
|
||||
<text><![CDATA[Q. Seg]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="b5fde6f7-0dce-4379-bd51-9ca891f2ee64" mode="Transparent" x="421" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Q. SO.C]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="8234630e-a75c-41eb-8bdf-5f4741e30a18" mode="Transparent" x="451" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[T. SO.C]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="8ec41c30-637d-47bf-9034-7bf2325a340c" mode="Transparent" x="481" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Q. SO]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="24525295-120f-4704-bc9a-ea2fdd548246" mode="Transparent" x="511" y="1" width="30" height="11" forecolor="#000000" backcolor="#FFFFFF">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[T. SO]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="11">
|
||||
<band height="12">
|
||||
<textField>
|
||||
<reportElement x="0" y="0" width="34" height="11" uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2"/>
|
||||
<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="1" width="34" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{PREFIXO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="37" y="0" width="55" height="11" uuid="d19cff45-ad13-4a6b-b6f3-3e871a6d8d58"/>
|
||||
<reportElement uuid="d19cff45-ad13-4a6b-b6f3-3e871a6d8d58" x="37" y="1" width="55" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{CIDADE_ORIGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="92" y="0" width="55" height="11" uuid="f868a599-c0bb-4187-97b6-7681b753abbf"/>
|
||||
<reportElement uuid="f868a599-c0bb-4187-97b6-7681b753abbf" x="92" y="1" width="55" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{CIDADE_DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="235" y="0" width="32" height="11" uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba">
|
||||
<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="181" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right" markup="none"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTETAXAEMBARQUE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="267" y="0" width="32" height="11" uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e">
|
||||
<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="151" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTEPEDAGIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="299" y="0" width="32" height="11" uuid="2184d556-1501-4525-8d09-510f9d798b86">
|
||||
<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="211" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{IMPORTESEGURO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="443" y="0" width="37" height="11" uuid="58c1e14e-9c44-4e34-8b57-fbb6af384ce3">
|
||||
<reportElement uuid="58c1e14e-9c44-4e34-8b57-fbb6af384ce3" x="331" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_EMBARQUE}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="480" y="0" width="37" height="11" uuid="05426ccc-ff54-4381-8406-ae0c4290a54b">
|
||||
<reportElement uuid="05426ccc-ff54-4381-8406-ae0c4290a54b" x="361" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_PEDAGIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement x="517" y="0" width="37" height="11" uuid="8a365def-0ad3-48e8-b942-5d00f5d74a21">
|
||||
<reportElement uuid="8a365def-0ad3-48e8-b942-5d00f5d74a21" x="391" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{TOTAL_SEGURO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="147" y="0" width="88" height="11" uuid="b2a45c9f-3da0-4273-9941-c9e31ee61723"/>
|
||||
<textFieldExpression><![CDATA[$F{NOMBPUNTOVENTA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="331" y="0" width="38" height="11" uuid="7059069b-3c22-416a-afc1-d05473a3d429">
|
||||
<reportElement uuid="7059069b-3c22-416a-afc1-d05473a3d429" x="241" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{EMBARQUE_VENDIDOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="369" y="0" width="38" height="11" uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125">
|
||||
<reportElement uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125" x="271" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{PEDAGIO_VENDIDOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="407" y="0" width="36" height="11" uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4">
|
||||
<reportElement uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4" x="301" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{SEGURO_VENDIDOS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="14366362-112f-4407-af42-1d4bb373340a" x="451" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="9921ad8d-d1bd-4789-becc-583210c0b4e9" x="421" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="1d0ddaa7-506e-4e81-b798-d6832489da83" x="481" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="fb64c49c-1370-47fd-a0b0-e4d5f24d02d9" x="511" y="1" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<lastPageFooter>
|
||||
<band height="11">
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement x="443" y="-1" width="37" height="12" uuid="1d265368-d216-4cec-a824-a0c0b5536a43">
|
||||
<reportElement uuid="1d265368-d216-4cec-a824-a0c0b5536a43" x="331" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_EMBARQUE_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement x="480" y="-1" width="37" height="12" uuid="adfa3eb3-6ab0-4141-aced-e3d231e4f433">
|
||||
<reportElement uuid="adfa3eb3-6ab0-4141-aced-e3d231e4f433" x="361" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_PEDAGIO_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<staticText>
|
||||
<reportElement x="0" y="0" width="51" height="11" uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0"/>
|
||||
<reportElement uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Total Geral: ]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement x="0" y="10" width="554" height="1" forecolor="#666666" uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939"/>
|
||||
<reportElement uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement x="517" y="0" width="37" height="10" uuid="a4f4cff0-6b6e-42f0-9f07-7cbd06f5a545">
|
||||
<reportElement uuid="a4f4cff0-6b6e-42f0-9f07-7cbd06f5a545" x="391" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{TOTAL_SEGURO_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="331" y="0" width="38" height="11" uuid="58961ea4-a59e-4a77-b898-b2df93fc43cb">
|
||||
<reportElement uuid="58961ea4-a59e-4a77-b898-b2df93fc43cb" x="241" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_TX_EMBARQUE}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{EMBARQUE_VENDIDOS_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="369" y="0" width="38" height="11" uuid="96bd08a5-5321-4938-8d4b-5260faa9a283">
|
||||
<reportElement uuid="96bd08a5-5321-4938-8d4b-5260faa9a283" x="271" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_PEDAGIO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{PEDAGIO_VENDIDOS_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement x="407" y="0" width="36" height="11" uuid="c090f6cf-7340-4990-92d0-101fbf056cb7">
|
||||
<reportElement uuid="c090f6cf-7340-4990-92d0-101fbf056cb7" x="301" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGURO}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{SEGURO_VENDIDOS_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement uuid="8e2ee368-5832-4f62-875e-0267b5759e18" x="421" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalCancelado_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement uuid="20bce09a-9883-41fc-ad0c-8759f8cad519" x="451" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorSeguroOpcionalCancelado_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Auto" pattern="">
|
||||
<reportElement uuid="c3ab4658-281d-4d4b-ab42-0119e259812e" x="481" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalVendidos_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Auto" pattern="#,##0.00">
|
||||
<reportElement uuid="e550f9d5-3815-4158-9162-2366889d1963" x="511" y="0" width="30" height="11">
|
||||
<printWhenExpression><![CDATA[$P{IS_SEGUROOPCIONAL}]]></printWhenExpression>
|
||||
</reportElement>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorseguroOpcionalVendido_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</lastPageFooter>
|
||||
<noData>
|
||||
<band height="39">
|
||||
<textField>
|
||||
<reportElement x="148" y="8" width="530" height="20" uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d"/>
|
||||
<reportElement uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d" x="198" y="8" width="530" height="20"/>
|
||||
<textElement markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,388 @@
|
|||
<?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="RelatorioTaxasLinha" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="335"/>
|
||||
<property name="ireport.y" value="172"/>
|
||||
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
<style name="table">
|
||||
<box>
|
||||
<pen lineWidth="1.0" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
|
||||
<parameter name="USUARIO" class="java.lang.String"/>
|
||||
<parameter name="FILTROS" class="java.lang.String"/>
|
||||
<parameter name="TIPO_DATA" class="java.lang.Integer"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
<field name="dataVenda" class="java.util.Date"/>
|
||||
<field name="origem" class="java.lang.String"/>
|
||||
<field name="destino" class="java.lang.String"/>
|
||||
<field name="valorTaxa" class="java.math.BigDecimal"/>
|
||||
<field name="empresa" class="java.lang.String"/>
|
||||
<field name="agencia" class="java.lang.String"/>
|
||||
<field name="poltrona" class="java.lang.String"/>
|
||||
<field name="numBilhete" class="java.lang.Long"/>
|
||||
<field name="dataViaje" class="java.util.Date"/>
|
||||
<field name="status" class="java.lang.String"/>
|
||||
<variable name="valorTaxa_1" class="java.math.BigDecimal" resetType="Group" resetGroup="AgenciaGroup" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{valorTaxa}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="valorTaxa_2" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{valorTaxa}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="valorTaxa_3" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{valorTaxa}]]></variableExpression>
|
||||
</variable>
|
||||
<group name="grpEmpresa">
|
||||
<groupExpression><![CDATA[$F{empresa}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="14">
|
||||
<textField>
|
||||
<reportElement uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb" x="0" y="0" width="187" height="14"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Empresa: "+$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773" x="0" y="0" width="552" height="1"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="12">
|
||||
<staticText>
|
||||
<reportElement uuid="2a963103-78f6-46c6-ac37-29ed4654df56" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Total Empresa: ]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="7fc66df3-edd7-4149-847e-1375a3621e80" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51" x="0" y="0" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="6f182823-9822-49ec-a0e1-76cca114addc" x="425" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{valorTaxa_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<group name="AgenciaGroup">
|
||||
<groupExpression><![CDATA[$F{agencia}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="11">
|
||||
<staticText>
|
||||
<reportElement uuid="32c20a27-414c-41be-86b2-0d23645acd18" x="0" y="0" width="88" height="11"/>
|
||||
<box leftPadding="10"/>
|
||||
<textElement>
|
||||
<font size="7" isBold="true"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência]]></text>
|
||||
</staticText>
|
||||
<textField>
|
||||
<reportElement uuid="b2a45c9f-3da0-4273-9941-c9e31ee61723" x="88" y="0" width="88" height="11"/>
|
||||
<textElement>
|
||||
<font isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupHeader>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="58" splitType="Stretch">
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Transparent" x="1" y="1" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Transparent" x="1" y="16" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Transparent" x="46" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Transparent" x="123" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="def1b81c-a286-4749-9ef7-f90984a3a5eb" mode="Transparent" x="113" y="16" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Transparent" x="461" y="0" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9" x="-4" y="43" width="554" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" x="379" y="0" width="80" height="15"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Transparent" x="450" y="31" width="100" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" x="47" y="44" width="717" height="14"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Transparent" x="430" y="16" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Transparent" x="535" y="16" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="12">
|
||||
<line>
|
||||
<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="0" width="554" height="1"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="140" y="1" width="40" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Poltrona]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="0" y="1" width="70" height="11"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="4c091486-f854-428c-8123-185e03cdfcdd" x="70" y="1" width="70" height="11"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Destino]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="2c9f7206-dbc2-4d83-a9d9-66848c0014d9" x="180" y="1" width="60" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Numero Bilhete]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="d124642f-8c19-4b83-9c96-548cfceb83cf" x="240" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data Venda]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="4ea45d92-24ea-4336-b4f1-7465ebda8c0f" x="310" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data Viaje]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="442552d1-bdb7-44e3-a456-3578f64334ce" x="425" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Valor Taxa]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="dbd45011-81da-45b3-95bf-8cef85f0d0a4" x="380" y="1" width="45" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Status]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="12">
|
||||
<textField>
|
||||
<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="1" width="70" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="f868a599-c0bb-4187-97b6-7681b753abbf" x="70" y="1" width="70" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="180" y="1" width="60" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{numBilhete}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="140" y="1" width="40" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{poltrona}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="240" y="1" width="70" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm">
|
||||
<reportElement uuid="7059069b-3c22-416a-afc1-d05473a3d429" x="310" y="1" width="70" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{dataViaje}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="049ba79a-5ee9-4ee2-80d7-d498ad7d7125" x="380" y="1" width="45" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="c15ba1bc-2040-4a73-a221-52d574fbedb4" x="425" y="1" width="70" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{valorTaxa}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<lastPageFooter>
|
||||
<band height="11">
|
||||
<staticText>
|
||||
<reportElement uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Total Geral: ]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="58961ea4-a59e-4a77-b898-b2df93fc43cb" x="425" y="1" width="70" height="10"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{valorTaxa_3}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</lastPageFooter>
|
||||
<noData>
|
||||
<band height="39">
|
||||
<textField>
|
||||
<reportElement uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d" x="198" y="8" width="530" height="20"/>
|
||||
<textElement markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
Binary file not shown.
|
@ -0,0 +1,365 @@
|
|||
<?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="RelatorioW2ISintetico" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
|
||||
<property name="ireport.zoom" value="2.0"/>
|
||||
<property name="ireport.x" value="252"/>
|
||||
<property name="ireport.y" value="0"/>
|
||||
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
<style name="table">
|
||||
<box>
|
||||
<pen lineWidth="1.0" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
|
||||
<box>
|
||||
<pen lineWidth="0.5" lineColor="#000000"/>
|
||||
</box>
|
||||
</style>
|
||||
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||
<parameter name="EMPRESA" class="java.lang.String"/>
|
||||
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
|
||||
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
|
||||
<parameter name="USUARIO" class="java.lang.String"/>
|
||||
<parameter name="FILTROS" class="java.lang.String"/>
|
||||
<parameter name="TIPO_DATA" class="java.lang.Integer"/>
|
||||
<queryString>
|
||||
<![CDATA[]]>
|
||||
</queryString>
|
||||
<field name="empresa" class="java.lang.String"/>
|
||||
<field name="agencia" class="java.lang.String"/>
|
||||
<field name="qtdSeguroOpcionalCancelado" class="java.math.BigDecimal"/>
|
||||
<field name="totalValorSeguroOpcionalCancelado" class="java.math.BigDecimal"/>
|
||||
<field name="qtdSeguroOpcionalVendidos" class="java.math.BigDecimal"/>
|
||||
<field name="totalValorseguroOpcionalVendido" class="java.math.BigDecimal"/>
|
||||
<variable name="qtdSeguroOpcionalVendidos_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalVendidos_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorseguroOpcionalVendido_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorseguroOpcionalVendido_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalCancelado_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="qtdSeguroOpcionalCancelado_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorSeguroOpcionalCancelado_1" class="java.math.BigDecimal" resetType="Group" resetGroup="grpEmpresa" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<variable name="totalValorSeguroOpcionalCancelado_2" class="java.math.BigDecimal" calculation="Sum">
|
||||
<variableExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></variableExpression>
|
||||
</variable>
|
||||
<group name="grpEmpresa">
|
||||
<groupExpression><![CDATA[$F{empresa}]]></groupExpression>
|
||||
<groupHeader>
|
||||
<band height="14">
|
||||
<textField>
|
||||
<reportElement uuid="95e0028f-60d8-4bbf-afea-a2f3d40b2deb" x="0" y="0" width="187" height="14"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA["Empresa: "+$F{empresa}]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="d9f712d0-01a8-4241-a1e6-dc096b4ee773" x="0" y="0" width="552" height="1"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
</band>
|
||||
</groupHeader>
|
||||
<groupFooter>
|
||||
<band height="12">
|
||||
<staticText>
|
||||
<reportElement uuid="2a963103-78f6-46c6-ac37-29ed4654df56" x="0" y="0" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Total Empresa: ]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="7fc66df3-edd7-4149-847e-1375a3621e80" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<line>
|
||||
<reportElement uuid="c4a77336-68c6-4e8e-8cd0-ee9c5cdcea51" x="0" y="0" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="6f182823-9822-49ec-a0e1-76cca114addc" x="380" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorseguroOpcionalVendido_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="49d0253a-e0f4-4f0f-973a-75fc106aa8b5" x="310" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalVendidos_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="f21d6ef0-dc7d-4f6c-b7f7-235b62c1f9b6" x="230" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorSeguroOpcionalCancelado_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="ec0a7a02-f0f5-4fe9-a009-4e6fb25c3353" x="150" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalCancelado_1}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</groupFooter>
|
||||
</group>
|
||||
<group name="AgenciaGroup">
|
||||
<groupExpression><![CDATA[$F{agencia}]]></groupExpression>
|
||||
</group>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
<pageHeader>
|
||||
<band height="58" splitType="Stretch">
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Transparent" x="1" y="1" width="257" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Transparent" x="1" y="16" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Transparent" x="46" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
|
||||
<reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Transparent" x="123" y="16" width="67" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="def1b81c-a286-4749-9ef7-f90984a3a5eb" mode="Transparent" x="113" y="16" width="10" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||
<reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Transparent" x="461" y="0" width="89" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||
</textField>
|
||||
<line>
|
||||
<reportElement uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9" x="-4" y="43" width="554" height="1"/>
|
||||
</line>
|
||||
<textField>
|
||||
<reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" x="379" y="0" width="80" height="15"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="9" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Transparent" x="450" y="31" width="100" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Transparent" x="1" y="44" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField>
|
||||
<reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" x="47" y="44" width="717" height="14"/>
|
||||
<textElement verticalAlignment="Middle">
|
||||
<font size="8"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Transparent" x="430" y="16" width="105" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
|
||||
<reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Transparent" x="535" y="16" width="15" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</pageHeader>
|
||||
<columnHeader>
|
||||
<band height="12">
|
||||
<line>
|
||||
<reportElement uuid="04a75f17-3686-484b-be43-7b7e22e9def7" x="0" y="0" width="554" height="1"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<staticText>
|
||||
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="150" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Q. W2I CACNELADOS]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="4c091486-f854-428c-8123-185e03cdfcdd" x="0" y="1" width="150" height="11"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="2c9f7206-dbc2-4d83-a9d9-66848c0014d9" x="230" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[T. W2I CANCELADOS]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="d124642f-8c19-4b83-9c96-548cfceb83cf" x="310" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Q. W2I VENDIDO ]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="4ea45d92-24ea-4336-b4f1-7465ebda8c0f" x="380" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[T. W2I VENDIDO]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
<band height="12">
|
||||
<textField>
|
||||
<reportElement uuid="b12cbc2b-3eac-4c2c-b94c-cac2e746b2c2" x="0" y="1" width="150" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement/>
|
||||
<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="6454beed-fb72-4aa5-8bff-7eb4ea6c26ba" x="310" y="1" width="70" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right" markup="none">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalVendidos}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="1242bccb-ce44-47d6-ac13-6f4df97f707e" x="230" y="1" width="80" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{totalValorSeguroOpcionalCancelado}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00" isBlankWhenNull="false">
|
||||
<reportElement uuid="2184d556-1501-4525-8d09-510f9d798b86" x="380" y="1" width="80" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right">
|
||||
<font isStrikeThrough="false"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$F{totalValorseguroOpcionalVendido}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="824ec618-40e0-4c6c-a104-83940ed8e8b7" x="150" y="1" width="80" height="11"/>
|
||||
<box rightPadding="5"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$F{qtdSeguroOpcionalCancelado}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<lastPageFooter>
|
||||
<band height="12">
|
||||
<staticText>
|
||||
<reportElement uuid="f7ac3bf7-ac60-405e-b2a3-60c9150421a0" x="0" y="1" width="51" height="11"/>
|
||||
<textElement/>
|
||||
<text><![CDATA[Total Geral: ]]></text>
|
||||
</staticText>
|
||||
<line>
|
||||
<reportElement uuid="06fb8df2-dbea-44e7-9e45-21f8aa82f939" x="0" y="10" width="554" height="1" forecolor="#666666"/>
|
||||
<graphicElement>
|
||||
<pen lineWidth="0.5"/>
|
||||
</graphicElement>
|
||||
</line>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="da610db6-146d-487f-8727-b1364bff1669" x="380" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{totalValorseguroOpcionalVendido_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="65171ca8-41db-4cc3-8686-6676d6bb7382" x="310" y="1" width="70" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalVendidos_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="#,##0.00">
|
||||
<reportElement uuid="c7f9a540-9a62-4398-81b4-f0ce642f9777" x="230" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalVendidos_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="">
|
||||
<reportElement uuid="800939ea-b20d-4150-a8ab-6a091ac4f74b" x="150" y="1" width="80" height="11"/>
|
||||
<textElement textAlignment="Right"/>
|
||||
<textFieldExpression><![CDATA[$V{qtdSeguroOpcionalVendidos_2}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</lastPageFooter>
|
||||
<noData>
|
||||
<band height="39">
|
||||
<textField>
|
||||
<reportElement uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d" x="187" y="0" width="530" height="20"/>
|
||||
<textElement markup="none">
|
||||
<font size="11" isBold="true"/>
|
||||
</textElement>
|
||||
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</noData>
|
||||
</jasperReport>
|
|
@ -37,6 +37,14 @@ public class RelatorioTaxasLinhaBean {
|
|||
protected BigDecimal EMBARQUE_VENDIDOS;
|
||||
protected BigDecimal PEDAGIO_VENDIDOS;
|
||||
protected BigDecimal SEGURO_VENDIDOS;
|
||||
|
||||
protected BigDecimal qtdSeguroOpcionalCancelado;
|
||||
protected BigDecimal totalValorSeguroOpcionalCancelado;
|
||||
protected BigDecimal qtdSeguroOpcionalVendidos;
|
||||
protected BigDecimal totalValorseguroOpcionalVendido;
|
||||
|
||||
|
||||
|
||||
public BigDecimal getIMPORTETAXAEMBARQUE() {
|
||||
return IMPORTETAXAEMBARQUE;
|
||||
}
|
||||
|
@ -205,4 +213,32 @@ public class RelatorioTaxasLinhaBean {
|
|||
public void setNumfoliopreimpreso(Integer numfoliopreimpreso) {
|
||||
this.numfoliopreimpreso = numfoliopreimpreso;
|
||||
}
|
||||
public BigDecimal getQtdSeguroOpcionalCancelado() {
|
||||
return qtdSeguroOpcionalCancelado;
|
||||
}
|
||||
public void setQtdSeguroOpcionalCancelado(BigDecimal qtdSeguroOpcionalCancelado) {
|
||||
this.qtdSeguroOpcionalCancelado = qtdSeguroOpcionalCancelado;
|
||||
}
|
||||
public BigDecimal getTotalValorSeguroOpcionalCancelado() {
|
||||
return totalValorSeguroOpcionalCancelado;
|
||||
}
|
||||
public void setTotalValorSeguroOpcionalCancelado(BigDecimal totalValorSeguroOpcionalCancelado) {
|
||||
this.totalValorSeguroOpcionalCancelado = totalValorSeguroOpcionalCancelado;
|
||||
}
|
||||
public BigDecimal getQtdSeguroOpcionalVendidos() {
|
||||
return qtdSeguroOpcionalVendidos;
|
||||
}
|
||||
public void setQtdSeguroOpcionalVendidos(BigDecimal qtdSeguroOpcionalVendidos) {
|
||||
this.qtdSeguroOpcionalVendidos = qtdSeguroOpcionalVendidos;
|
||||
}
|
||||
public BigDecimal getTotalValorseguroOpcionalVendido() {
|
||||
return totalValorseguroOpcionalVendido;
|
||||
}
|
||||
public void setTotalValorseguroOpcionalVendido(BigDecimal totalValorseguroOpcionalVendido) {
|
||||
this.totalValorseguroOpcionalVendido = totalValorseguroOpcionalVendido;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,96 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Date;
|
||||
|
||||
public class RelatorioW2IBean {
|
||||
private Integer empresaId;
|
||||
private String empresa;
|
||||
private Integer puntoVentaId;
|
||||
private String agencia;
|
||||
private Date dataVenda;
|
||||
private Long numBilhete;
|
||||
private String origem;
|
||||
private String destino;
|
||||
private Date dataViaje;
|
||||
private String poltrona;
|
||||
private BigDecimal valorTaxa;
|
||||
private String status;
|
||||
|
||||
public Integer getEmpresaId() {
|
||||
return empresaId;
|
||||
}
|
||||
public void setEmpresaId(Integer empresaId) {
|
||||
this.empresaId = empresaId;
|
||||
}
|
||||
public String getEmpresa() {
|
||||
return empresa;
|
||||
}
|
||||
public void setEmpresa(String empresa) {
|
||||
this.empresa = empresa;
|
||||
}
|
||||
public Integer getPuntoVentaId() {
|
||||
return puntoVentaId;
|
||||
}
|
||||
public void setPuntoVentaId(Integer puntoVentaId) {
|
||||
this.puntoVentaId = puntoVentaId;
|
||||
}
|
||||
public String getAgencia() {
|
||||
return agencia;
|
||||
}
|
||||
public void setAgencia(String agencia) {
|
||||
this.agencia = agencia;
|
||||
}
|
||||
public Date getDataVenda() {
|
||||
return dataVenda;
|
||||
}
|
||||
public void setDataVenda(Date dataVenda) {
|
||||
this.dataVenda = dataVenda;
|
||||
}
|
||||
public Long getNumBilhete() {
|
||||
return numBilhete;
|
||||
}
|
||||
public void setNumBilhete(Long numBilhete) {
|
||||
this.numBilhete = numBilhete;
|
||||
}
|
||||
public String getOrigem() {
|
||||
return origem;
|
||||
}
|
||||
public void setOrigem(String origem) {
|
||||
this.origem = origem;
|
||||
}
|
||||
public String getDestino() {
|
||||
return destino;
|
||||
}
|
||||
public void setDestino(String destino) {
|
||||
this.destino = destino;
|
||||
}
|
||||
public Date getDataViaje() {
|
||||
return dataViaje;
|
||||
}
|
||||
public void setDataViaje(Date dataViaje) {
|
||||
this.dataViaje = dataViaje;
|
||||
}
|
||||
public BigDecimal getValorTaxa() {
|
||||
return valorTaxa;
|
||||
}
|
||||
|
||||
|
||||
public String getPoltrona() {
|
||||
return poltrona;
|
||||
}
|
||||
public void setPoltrona(String poltrona) {
|
||||
this.poltrona = poltrona;
|
||||
}
|
||||
public void setValorTaxa(BigDecimal valorTaxa) {
|
||||
this.valorTaxa = valorTaxa;
|
||||
}
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,65 @@
|
|||
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class RelatorioW2ISinteticoBean {
|
||||
private Integer empresaId;
|
||||
private String empresa;
|
||||
private Integer puntoVentaId;
|
||||
private String agencia;
|
||||
private BigDecimal qtdSeguroOpcionalCancelado;
|
||||
private BigDecimal totalValorSeguroOpcionalCancelado;
|
||||
private BigDecimal qtdSeguroOpcionalVendidos;
|
||||
private BigDecimal totalValorseguroOpcionalVendido;
|
||||
public Integer getEmpresaId() {
|
||||
return empresaId;
|
||||
}
|
||||
public void setEmpresaId(Integer empresaId) {
|
||||
this.empresaId = empresaId;
|
||||
}
|
||||
public String getEmpresa() {
|
||||
return empresa;
|
||||
}
|
||||
public void setEmpresa(String empresa) {
|
||||
this.empresa = empresa;
|
||||
}
|
||||
public Integer getPuntoVentaId() {
|
||||
return puntoVentaId;
|
||||
}
|
||||
public void setPuntoVentaId(Integer puntoVentaId) {
|
||||
this.puntoVentaId = puntoVentaId;
|
||||
}
|
||||
public String getAgencia() {
|
||||
return agencia;
|
||||
}
|
||||
public void setAgencia(String agencia) {
|
||||
this.agencia = agencia;
|
||||
}
|
||||
public BigDecimal getQtdSeguroOpcionalCancelado() {
|
||||
return qtdSeguroOpcionalCancelado;
|
||||
}
|
||||
public void setQtdSeguroOpcionalCancelado(BigDecimal qtdSeguroOpcionalCancelado) {
|
||||
this.qtdSeguroOpcionalCancelado = qtdSeguroOpcionalCancelado;
|
||||
}
|
||||
public BigDecimal getTotalValorSeguroOpcionalCancelado() {
|
||||
return totalValorSeguroOpcionalCancelado;
|
||||
}
|
||||
public void setTotalValorSeguroOpcionalCancelado(BigDecimal totalValorSeguroOpcionalCancelado) {
|
||||
this.totalValorSeguroOpcionalCancelado = totalValorSeguroOpcionalCancelado;
|
||||
}
|
||||
public BigDecimal getQtdSeguroOpcionalVendidos() {
|
||||
return qtdSeguroOpcionalVendidos;
|
||||
}
|
||||
public void setQtdSeguroOpcionalVendidos(BigDecimal qtdSeguroOpcionalVendidos) {
|
||||
this.qtdSeguroOpcionalVendidos = qtdSeguroOpcionalVendidos;
|
||||
}
|
||||
public BigDecimal getTotalValorseguroOpcionalVendido() {
|
||||
return totalValorseguroOpcionalVendido;
|
||||
}
|
||||
public void setTotalValorseguroOpcionalVendido(BigDecimal totalValorseguroOpcionalVendido) {
|
||||
this.totalValorseguroOpcionalVendido = totalValorseguroOpcionalVendido;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -98,6 +98,7 @@ public class RelatorioTaxasLinhaController extends MyGenericForwardComposer {
|
|||
private Checkbox chkTaxaEmbarque;
|
||||
private Checkbox chkTaxaPedagio;
|
||||
private Checkbox chkTaxaSeguro;
|
||||
private Checkbox chkTaxaSeguroOpcional;
|
||||
|
||||
@Autowired
|
||||
private ParadaService paradaService;
|
||||
|
@ -221,6 +222,7 @@ public class RelatorioTaxasLinhaController extends MyGenericForwardComposer {
|
|||
parametros.put("IS_TX_EMBARQUE", ((Boolean) (chkTaxaEmbarque.isChecked())));
|
||||
parametros.put("IS_PEDAGIO", (Boolean) chkTaxaPedagio.isChecked());
|
||||
parametros.put("IS_SEGURO", chkTaxaSeguro.isChecked());
|
||||
parametros.put("IS_SEGUROOPCIONAL", chkTaxaSeguroOpcional.isChecked());
|
||||
filtro.append(" Tipo de Data: " + (rdGroupTipoData.getSelectedItem().getValue().equals(1) ? " Origem;" : "Destino;"));
|
||||
filtro.append(" Subtrair ICMS: " + (chkSubtrairIcms.isChecked() ? " Sim;" : "Não;"));
|
||||
filtro.append(" Empresa: ");
|
||||
|
|
|
@ -0,0 +1,278 @@
|
|||
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.zkoss.util.resource.Labels;
|
||||
import org.zkoss.zhtml.Messagebox;
|
||||
import org.zkoss.zk.ui.Component;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zul.Bandbox;
|
||||
import org.zkoss.zul.Comboitem;
|
||||
import org.zkoss.zul.ComboitemRenderer;
|
||||
import org.zkoss.zul.Paging;
|
||||
import org.zkoss.zul.Radiogroup;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioW2IAnalitico;
|
||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioW2ISintetico;
|
||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyDatebox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioTaxasLinhaPuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioTaxasLinhaPuntoVentaSelecionados;
|
||||
|
||||
@Controller("relatorioW2IController")
|
||||
@Scope("prototype")
|
||||
public class RelatorioW2IController extends MyGenericForwardComposer {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Autowired
|
||||
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
|
||||
@Autowired
|
||||
private DataSource dataSourceRead;
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
private List<Empresa> lsEmpresa;
|
||||
private MyComboboxParada cmbParadaOrigem;
|
||||
private MyComboboxParadaCve cmbParadaOrigemCve;
|
||||
private MyComboboxParada cmbParadaDestino;
|
||||
private MyComboboxParadaCve cmbParadaDestinoCve;
|
||||
private MyDatebox datInicial;
|
||||
private MyDatebox datFinal;
|
||||
private MyTextbox txtNombrePuntoVenta;
|
||||
private Radiogroup rdGroupTipoData;
|
||||
private Radiogroup rdGroupTipoRelatorio;
|
||||
private MyComboboxEstandar cmbEmpresa;
|
||||
private Bandbox bbPesquisaPuntoVenta;
|
||||
private MyListbox puntoVentaList;
|
||||
private MyListbox puntoVentaSelList;
|
||||
private Paging pagingPuntoVenta;
|
||||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
lsEmpresa = empresaService.obtenerTodos();
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
cmbParadaOrigemCve.setItemRenderer(new ComboitemRenderer() {
|
||||
@Override
|
||||
public void render(Comboitem cmbtm, Object o) throws Exception {
|
||||
Parada parada = (Parada) o;
|
||||
|
||||
cmbtm.setLabel(parada.getCveparada());
|
||||
cmbtm.setValue(parada);
|
||||
}
|
||||
});
|
||||
|
||||
cmbParadaDestinoCve.setItemRenderer(new ComboitemRenderer() {
|
||||
@Override
|
||||
public void render(Comboitem cmbtm, Object o) throws Exception {
|
||||
Parada parada = (Parada) o;
|
||||
|
||||
cmbtm.setLabel(parada.getCveparada());
|
||||
cmbtm.setValue(parada);
|
||||
}
|
||||
});
|
||||
|
||||
puntoVentaList.setItemRenderer(new RenderRelatorioTaxasLinhaPuntoVenta());
|
||||
puntoVentaSelList.setItemRenderer(new RenderRelatorioTaxasLinhaPuntoVentaSelecionados());
|
||||
}
|
||||
|
||||
private void executarPesquisa() {
|
||||
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda = new HibernateSearchObject<PuntoVenta>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
|
||||
|
||||
puntoVentaBusqueda.addFilterILike("nombpuntoventa", "%" + txtNombrePuntoVenta.getValue() + "%");
|
||||
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||
|
||||
puntoVentaBusqueda.addSortAsc("nombpuntoventa");
|
||||
|
||||
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||
|
||||
plwPuntoVenta.init(puntoVentaBusqueda, puntoVentaList, pagingPuntoVenta);
|
||||
|
||||
if (puntoVentaList.getData().length == 0) {
|
||||
try {
|
||||
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||
Labels.getLabel("relatorioW2IController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
} catch (InterruptedException ex) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onClick$btnPesquisa(Event ev) {
|
||||
executarPesquisa();
|
||||
}
|
||||
|
||||
public void onDoubleClick$puntoVentaSelList(Event ev) {
|
||||
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaSelList.getSelected();
|
||||
puntoVentaSelList.removeItem(puntoVenta);
|
||||
}
|
||||
|
||||
public void onDoubleClick$puntoVentaList(Event ev) {
|
||||
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaList.getSelected();
|
||||
puntoVentaSelList.addItemNovo(puntoVenta);
|
||||
}
|
||||
|
||||
public void onClick$btnLimpar(Event ev) {
|
||||
puntoVentaList.setData(new ArrayList<PuntoVenta>());
|
||||
|
||||
bbPesquisaPuntoVenta.setText("");
|
||||
}
|
||||
|
||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||
executarRelatorio();
|
||||
}
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
private void executarRelatorio() throws Exception {
|
||||
Relatorio relatorio;
|
||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||
StringBuilder filtro = new StringBuilder();
|
||||
|
||||
filtro.append("Agência: ");
|
||||
String puntoVentaIds = "";
|
||||
String puntoVentas = "";
|
||||
List<PuntoVenta> lsPuntoVentaSelecionados = new ArrayList(Arrays.asList(puntoVentaSelList.getData()));
|
||||
if (lsPuntoVentaSelecionados.isEmpty()) {
|
||||
puntoVentas = "Todas";
|
||||
puntoVentaIds = "Todas";
|
||||
} else {
|
||||
for (int i = 0; i < lsPuntoVentaSelecionados.size(); i++) {
|
||||
PuntoVenta puntoVenta = lsPuntoVentaSelecionados.get(i);
|
||||
puntoVentas = puntoVentas + puntoVenta.getNombpuntoventa() + ",";
|
||||
|
||||
puntoVentaIds = puntoVentaIds + puntoVenta.getPuntoventaId() + ",";
|
||||
}
|
||||
|
||||
// removendo ultima virgula
|
||||
puntoVentaIds = puntoVentaIds.substring(0, puntoVentaIds.length() - 1);
|
||||
puntoVentas = puntoVentas.substring(0, puntoVentas.length() - 1);
|
||||
}
|
||||
filtro.append(puntoVentas).append(";");
|
||||
|
||||
parametros.put("DATA_INICIAL", (java.util.Date) this.datInicial.getValue());
|
||||
parametros.put("DATA_FINAL", (java.util.Date) this.datFinal.getValue());
|
||||
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioW2IController.window.title"));
|
||||
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getUsuarioId().toString());
|
||||
parametros.put("TIPO_DATA", Integer.parseInt(rdGroupTipoData.getSelectedItem().getValue()));
|
||||
parametros.put("NUMPUNTOVENTA", puntoVentaIds);
|
||||
filtro.append(" Tipo de Data: " + (rdGroupTipoData.getSelectedItem().getValue().equals(1) ? " Origem;" : "Destino;"));
|
||||
filtro.append(" Empresa: ");
|
||||
|
||||
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
||||
if (itemEmpresa != null) {
|
||||
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
||||
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
|
||||
parametros.put("EMPRESA", empresa.getNombempresa());
|
||||
filtro.append(empresa.getNombempresa() + ";");
|
||||
} else {
|
||||
filtro.append("Todas;");
|
||||
}
|
||||
|
||||
filtro.append(" Origem: ");
|
||||
Comboitem cbiOrigem = cmbParadaOrigem.getSelectedItem();
|
||||
if (cbiOrigem != null) {
|
||||
Parada origem = (Parada) cbiOrigem.getValue();
|
||||
parametros.put("ORIGEN_ID", origem.getParadaId());
|
||||
filtro.append(origem.getCveparada() + ";");
|
||||
} else {
|
||||
filtro.append("Todas;");
|
||||
}
|
||||
|
||||
filtro.append(" Destino: ");
|
||||
Comboitem cbiDestino = cmbParadaDestino.getSelectedItem();
|
||||
if (cbiDestino != null) {
|
||||
Parada destino = (Parada) cbiDestino.getValue();
|
||||
parametros.put("DESTINO_ID", destino.getParadaId());
|
||||
filtro.append(destino.getCveparada() + ";");
|
||||
} else {
|
||||
filtro.append("Todos;");
|
||||
}
|
||||
|
||||
Connection connection = dataSourceRead.getConnection();
|
||||
try {
|
||||
|
||||
parametros.put("FILTROS", filtro.toString());
|
||||
if (Integer.parseInt(rdGroupTipoRelatorio.getSelectedItem().getValue()) == 1) {
|
||||
relatorio = new RelatorioW2IAnalitico(parametros, connection);
|
||||
} else {
|
||||
relatorio = new RelatorioW2ISintetico(parametros, connection);
|
||||
}
|
||||
|
||||
Map args = new HashMap();
|
||||
args.put("relatorio", relatorio);
|
||||
|
||||
openWindow("/component/reportView.zul",
|
||||
Labels.getLabel("relatorioW2IController.window.title"), args, MODAL);
|
||||
} finally {
|
||||
if ((connection != null) && !connection.isClosed()) {
|
||||
connection.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaOrigemCve(Event ev) {
|
||||
if (cmbParadaOrigemCve.getSelectedItem() != null) {
|
||||
cmbParadaOrigem.setComboItemByParada((Parada) cmbParadaOrigemCve.getSelectedItem().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaOrigem(Event ev) {
|
||||
if (cmbParadaOrigem.getSelectedItem() != null)
|
||||
cmbParadaOrigemCve.setComboItemByParada((Parada) cmbParadaOrigem.getSelectedItem().getValue());
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaDestinoCve(Event ev) {
|
||||
if (cmbParadaDestinoCve.getSelectedItem() != null) {
|
||||
cmbParadaDestino.setComboItemByParada((Parada) cmbParadaDestinoCve.getSelectedItem().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaDestino(Event ev) {
|
||||
if (cmbParadaDestino.getSelectedItem() != null) {
|
||||
cmbParadaDestinoCve.setComboItemByParada((Parada) cmbParadaDestino.getSelectedItem().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public List<Empresa> getLsEmpresa() {
|
||||
return lsEmpresa;
|
||||
}
|
||||
|
||||
public void setLsEmpresa(List<Empresa> lsEmpresa) {
|
||||
this.lsEmpresa = lsEmpresa;
|
||||
}
|
||||
|
||||
public Radiogroup getRdGroupTipoRelatorio() {
|
||||
return rdGroupTipoRelatorio;
|
||||
}
|
||||
|
||||
public void setRdGroupTipoRelatorio(Radiogroup rdGroupTipoRelatorio) {
|
||||
this.rdGroupTipoRelatorio = rdGroupTipoRelatorio;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
|
||||
|
||||
|
||||
import org.zkoss.util.resource.Labels;
|
||||
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
|
||||
|
||||
public class ItemMenuRelatorioFinanceiroW2I extends DefaultItemMenuSistema {
|
||||
|
||||
public ItemMenuRelatorioFinanceiroW2I() {
|
||||
super("indexController.mniRelatorioW2I.label");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClaveMenu() {
|
||||
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOW2I";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void ejecutar() {
|
||||
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioW2I.zul",
|
||||
Labels.getLabel("relatorioW2IController.window.title"), getArgs() ,desktop);
|
||||
}
|
||||
}
|
|
@ -226,6 +226,7 @@ analitico.gerenciais.financeiro.vendasRequisicao=com.rjconsultores.ventaboletos.
|
|||
analitico.gerenciais.financeiro.aproveitamentoFinanceiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAproveitamentoFinanceiro
|
||||
analitico.gerenciais.financeiro.relatorioOperacionalFinanceiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioCaixaOrgaoConcedente
|
||||
analitico.gerenciais.financeiro.relatorioResumoVendaOrgaoConcedente=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioResumoVendaOrgaoConcedente
|
||||
analitico.gerenciais.financeiro.relatorioW2I=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioFinanceiroW2I
|
||||
analitico.gerenciais.financeiro.relatorioVendasConexaoRuta=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioVendasConexaoRuta
|
||||
analitico.gerenciais.pacote=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.pacote.SubMenuRelatorioPacote
|
||||
analitico.gerenciais.pacote.boletos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioVendasPacotesBoletos
|
||||
|
|
|
@ -365,6 +365,7 @@ indexController.mniRelatorioHistoricoCompras.label=Relatório Histórico de
|
|||
indexController.mniRelatorioPosicaoVendaBilheteIdoso.label=Relatório Posição de Venda do Bilhete Idoso
|
||||
indexController.mniRelatorioVendaEmbarcada.label=Onboard Sales
|
||||
indexController.mniRelatorioCaixaOrgaoConcedente.label = Relatório Caixa por Órgão Concedente
|
||||
indexController.mniRelatorioW2I.label = Relatório W2I
|
||||
|
||||
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
||||
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Importação Fiscal
|
||||
|
@ -783,6 +784,24 @@ relatorioTaxasLinhaController.lbChkTaxaEmbarque.value=Taxa de Embarque
|
|||
relatorioTaxasLinhaController.lbChkTaxaPedagio.value=Pedagio
|
||||
relatorioTaxasLinhaController.lbChkTaxaSeguro.value=Seguro
|
||||
relatorioTaxasLinhaController.lbChkDownloadTxt.value=Exportar .txt
|
||||
relatorioTaxasLinhaController.lbChkTaxaSeguroOpcional.value= Seguro Opcional
|
||||
|
||||
#Relatório W2I
|
||||
relatorioW2IController.window.title = Relatório W2I
|
||||
relatorioW2IController.lbEmpresa.value = Empresa
|
||||
relatorioW2IController.lbNumero.value = Número Agência
|
||||
relatorioW2IController.lbAte.value = até
|
||||
relatorioW2IController.lbDatInicial.value = Data Inicial
|
||||
relatorioW2IController.lbDatFinal.value = Data Final
|
||||
relatorioW2IController.lbTipoData.value = Tipo de Data
|
||||
relatorioW2IController.lbTipoData.venda.value = Data Venda
|
||||
relatorioW2IController.lbTipoData.servico.value = Data Serviço
|
||||
relatorioW2IController.lbPuntoVenta.value = N. Agência
|
||||
relatorioW2IController.lbCidadaOrigem.value = Localidade Origem
|
||||
relatorioW2IController.lbCidadeDestino.value = Localidade Destino
|
||||
relatorioW2IController.lbPuntoVenta.value = Agência
|
||||
relatorioW2IController.lbTipoRelatorio.analitico.value=Analitico
|
||||
relatorioW2IController.lbTipoRelatorio.sintetico.value=Sintético
|
||||
|
||||
#Relatorio de Receita por servico
|
||||
relatorioReceitaServicoController.window.title=Relatório de Receita por Serviço
|
||||
|
|
|
@ -357,6 +357,7 @@ indexController.mniRelatorioVendaEmbarcada.label = Venda Embarcada
|
|||
indexController.mniRelatorioRemessaCNAB.label = Remessa de Lote (CNAB 400)
|
||||
indexController.mniRelatorioCaixaOrgaoConcedente.label = Relatório Caixa por Órgão Concedente
|
||||
indexController.mniRelatorioVendaConexaoLinha.label = Relatório Vendas de Conexão por Linha
|
||||
indexController.mniRelatorioW2I.label = Relatório W2I
|
||||
|
||||
indexController.mnSubMenuImpressaoFiscal.label=Impresión fiscal
|
||||
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Importación fiscal
|
||||
|
@ -750,6 +751,26 @@ relatorioTaxasLinhaController.lbCidadaOrigem.value = Parada origen
|
|||
relatorioTaxasLinhaController.lbCidadeDestino.value = Parada destino
|
||||
relatorioTaxasLinhaController.lbPuntoVenta.value = Punto de venta
|
||||
relatorioTaxasLinhaController.lbChkDownloadTxt.value = Exportar .txt
|
||||
relatorioTaxasLinhaController.lbChkTaxaSeguroOpcional.value= Seguro Opcional
|
||||
|
||||
|
||||
#Relatório W2I
|
||||
relatorioW2IController.window.title = Relatório W2I
|
||||
relatorioW2IController.lbEmpresa.value = Empresa
|
||||
relatorioW2IController.lbNumero.value = Número Agência
|
||||
relatorioW2IController.lbAte.value = até
|
||||
relatorioW2IController.lbDatInicial.value = Data Inicial
|
||||
relatorioW2IController.lbDatFinal.value = Data Final
|
||||
relatorioW2IController.lbTipoData.value = Tipo de Data
|
||||
relatorioW2IController.lbTipoData.venda.value = Data Venda
|
||||
relatorioW2IController.lbTipoData.servico.value = Data Serviço
|
||||
relatorioW2IController.lbPuntoVenta.value = N. Agência
|
||||
relatorioW2IController.lbCidadaOrigem.value = Localidade Origem
|
||||
relatorioW2IController.lbCidadeDestino.value = Localidade Destino
|
||||
relatorioW2IController.lbPuntoVenta.value = Agência
|
||||
relatorioW2IController.lbTipoRelatorio.analitico.value=Analitico
|
||||
relatorioW2IController.lbTipoRelatorio.sintetico.value=Sintético
|
||||
|
||||
|
||||
#Relatorio de Receita por servico
|
||||
relatorioReceitaServicoController.window.title = Reporte de ingreso por servicio
|
||||
|
|
|
@ -376,6 +376,7 @@ indexController.mniRelatorioHistoricoCompras.label = Relatório Histórico de Co
|
|||
indexController.mniRelatorioPosicaoVendaBilheteIdoso.label = Relatório Posição de Venda do Bilhete Idoso
|
||||
indexController.mniRelatorioVendaEmbarcada.label = Venda Embarcada
|
||||
indexController.mniRelatorioCaixaOrgaoConcedente.label = Relatório Caixa por Órgão Concedente
|
||||
indexController.mniRelatorioW2I.label = Relatório W2I
|
||||
|
||||
indexController.mnSubMenuImpressaoFiscal.label=Impressão Fiscal
|
||||
indexController.mnSubMenuRelatorioImpressaoFiscal.label=Importação Fiscal
|
||||
|
@ -829,8 +830,28 @@ relatorioTaxasLinhaController.lbPuntoVenta.value = Agência
|
|||
relatorioTaxasLinhaController.lbChkTaxaEmbarque.value = Taxa de Embarque
|
||||
relatorioTaxasLinhaController.lbChkTaxaPedagio.value = Pedagio
|
||||
relatorioTaxasLinhaController.lbChkTaxaSeguro.value = Seguro
|
||||
relatorioTaxasLinhaController.lbChkTaxaSeguroOpcional.value= Seguro Opcional
|
||||
relatorioTaxasLinhaController.lbChkDownloadTxt.value = Exportar .txt
|
||||
|
||||
|
||||
|
||||
#Relatório W2I
|
||||
relatorioW2IController.window.title = Relatório W2I
|
||||
relatorioW2IController.lbEmpresa.value = Empresa
|
||||
relatorioW2IController.lbNumero.value = Número Agência
|
||||
relatorioW2IController.lbAte.value = até
|
||||
relatorioW2IController.lbDatInicial.value = Data Inicial
|
||||
relatorioW2IController.lbDatFinal.value = Data Final
|
||||
relatorioW2IController.lbTipoData.value = Tipo de Data
|
||||
relatorioW2IController.lbTipoData.venda.value = Data Venda
|
||||
relatorioW2IController.lbTipoData.servico.value = Data Serviço
|
||||
relatorioW2IController.lbPuntoVenta.value = N. Agência
|
||||
relatorioW2IController.lbCidadaOrigem.value = Localidade Origem
|
||||
relatorioW2IController.lbCidadeDestino.value = Localidade Destino
|
||||
relatorioW2IController.lbPuntoVenta.value = Agência
|
||||
relatorioW2IController.lbTipoRelatorio.analitico.value=Analitico
|
||||
relatorioW2IController.lbTipoRelatorio.sintetico.value=Sintético
|
||||
|
||||
#Relatorio de Receita por servico
|
||||
relatorioReceitaServicoController.window.title = Relatório de Receita por Serviço
|
||||
relatorioReceitaServicoController.lbDePeriodoViagem.value = Período de Viagem
|
||||
|
|
|
@ -77,12 +77,14 @@
|
|||
<cell colspan="2" align="center" >
|
||||
<label value="" />
|
||||
<hbox width="100%">
|
||||
<checkbox id="chkTaxaEmbarque" checked="true" hflex="15"
|
||||
<checkbox id="chkTaxaEmbarque" checked="true" hflex="12"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbChkTaxaEmbarque.value')}" />
|
||||
<checkbox id="chkTaxaPedagio" checked="true" hflex="10"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbChkTaxaPedagio.value')}" />
|
||||
<checkbox id="chkTaxaSeguro" checked="true" hflex="10"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbChkTaxaSeguro.value')}" />
|
||||
<checkbox id="chkTaxaSeguroOpcional" checked="true" hflex="15"
|
||||
label="${c:l('relatorioTaxasLinhaController.lbChkTaxaSeguroOpcional.value')}" />
|
||||
</hbox>
|
||||
</cell>
|
||||
</row>
|
||||
|
|
|
@ -0,0 +1,156 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?page contentType="text/html;charset=UTF-8"?>
|
||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioW2I"?>
|
||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winFiltroRelatorioW2I" apply="${relatorioW2IController}"
|
||||
contentStyle="overflow:auto" width="800px" border="normal">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="15%" />
|
||||
<column width="35%" />
|
||||
<column width="15%" />
|
||||
<column width="35%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbDatInicial.value')}" />
|
||||
<datebox id="datInicial" width="95%"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
|
||||
mold="rounded" lenient="true" constraint="no empty" />
|
||||
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbDatFinal.value')}" />
|
||||
<datebox id="datFinal" width="95%"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyDatebox"
|
||||
mold="rounded" lenient="true" constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbCidadaOrigem.value')}" />
|
||||
<cell>
|
||||
<combobox id="cmbParadaOrigemCve"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve"
|
||||
mold="rounded" buttonVisible="true" width="30%" />
|
||||
<combobox id="cmbParadaOrigem"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded" buttonVisible="true" width="65%" />
|
||||
</cell>
|
||||
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbCidadeDestino.value')}" />
|
||||
<cell>
|
||||
<combobox id="cmbParadaDestinoCve"
|
||||
autodrop="false"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParadaCve"
|
||||
mold="rounded" buttonVisible="true" width="30%" />
|
||||
<combobox id="cmbParadaDestino" autodrop="false"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded" buttonVisible="true" width="65%" />
|
||||
</cell>
|
||||
</row>
|
||||
<row spans="1,1,2">
|
||||
<cell rowspan="2" align="left">
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbEmpresa.value')}" />
|
||||
</cell>
|
||||
<cell rowspan="2" align="left">
|
||||
<combobox id="cmbEmpresa" mold="rounded"
|
||||
buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winFiltroRelatorioW2I$composer.lsEmpresa}" width="95%" />
|
||||
</cell>
|
||||
<hbox>
|
||||
<radiogroup id="rdGroupTipoData">
|
||||
<radio radiogroup="rdGroupTipoData"
|
||||
value="1" checked="true"
|
||||
label="${c:l('relatorioW2IController.lbTipoData.venda.value')}" />
|
||||
<radio radiogroup="rdGroupTipoData"
|
||||
value="2"
|
||||
label="${c:l('relatorioW2IController.lbTipoData.servico.value')}" />
|
||||
</radiogroup>
|
||||
</hbox>
|
||||
</row>
|
||||
<row spans="1,1,2">
|
||||
<cell colspan="2" align="center">
|
||||
<label value="" />
|
||||
<hbox width="100%">
|
||||
<radiogroup id="rdGroupTipoRelatorio">
|
||||
<radio radiogroup="rdGroupTipoRelatorio"
|
||||
value="1" checked="true"
|
||||
label="${c:l('relatorioW2IController.lbTipoRelatorio.analitico.value')}" />
|
||||
<radio radiogroup="rdGroupTipoRelatorio"
|
||||
value="2"
|
||||
label="${c:l('relatorioW2IController.lbTipoRelatorio.sintetico.value')}" />
|
||||
</radiogroup>
|
||||
</hbox>
|
||||
</cell>
|
||||
</row>
|
||||
<row spans="1,3">
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbPuntoVenta.value')}" />
|
||||
<bandbox id="bbPesquisaPuntoVenta" width="100%"
|
||||
mold="rounded" readonly="true">
|
||||
<bandpopup>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<label
|
||||
value="${c:l('relatorioW2IController.lbPuntoVenta.value')}" />
|
||||
<textbox id="txtNombrePuntoVenta"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||
width="300px" mold="rounded" />
|
||||
<button id="btnPesquisa"
|
||||
image="/gui/img/find.png"
|
||||
label="${c:l('relatorioW2IController.btnPesquisa.label')}" />
|
||||
<button id="btnLimpar"
|
||||
image="/gui/img/eraser.png"
|
||||
label="${c:l('relatorioW2IController.btnLimpar.label')}" />
|
||||
</hbox>
|
||||
<paging id="pagingPuntoVenta"
|
||||
pageSize="10" />
|
||||
<listbox id="puntoVentaList"
|
||||
mold="paging"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" height="100%" width="700px">
|
||||
<listhead>
|
||||
<listheader
|
||||
label="${c:l('relatorioW2IController.lbPuntoVenta.value')}" />
|
||||
<listheader width="35%"
|
||||
label="${c:l('relatorioW2IController.lbEmpresa.value')}" />
|
||||
<listheader width="20%"
|
||||
label="${c:l('relatorioW2IController.lbNumero.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</vbox>
|
||||
</bandpopup>
|
||||
</bandbox>
|
||||
</row>
|
||||
|
||||
|
||||
<row spans="5">
|
||||
<listbox id="puntoVentaSelList" mold="paging"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" height="100px" width="100%">
|
||||
<listhead>
|
||||
<listheader
|
||||
label="${c:l('relatorioW2IController.lbPuntoVenta.value')}" />
|
||||
<listheader width="35%"
|
||||
label="${c:l('relatorioW2IController.lbEmpresa.value')}" />
|
||||
<listheader width="20%"
|
||||
label="${c:l('relatorioW2IController.lbNumero.value')}" />
|
||||
<listheader width="5%" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
<paging id="pagingSelPuntoVenta" pageSize="10" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
|
||||
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
||||
</toolbar>
|
||||
|
||||
</window>
|
||||
</zk>
|
Loading…
Reference in New Issue