fixes bug#22386
qua:juliane dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@106920 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9b5e1bb20e
commit
7a6dc96348
|
@ -15,6 +15,7 @@ import org.apache.log4j.Logger;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioVendasConexaoRutaBean;
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioVendasConexaoRutaBean;
|
||||||
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||||
|
|
||||||
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
|
||||||
|
@ -27,8 +28,8 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
|
|
||||||
private Timestamp fecInicio;
|
private Timestamp fecInicio;
|
||||||
private Timestamp fecFinal;
|
private Timestamp fecFinal;
|
||||||
private Integer empresaId;
|
|
||||||
private Integer puntoventaId;
|
private static final String FILTRO_POR_TODOS = "-1";
|
||||||
|
|
||||||
public RelatorioVendasConexaoRuta(Map<String, Object> parametros, Connection conexao) throws Exception {
|
public RelatorioVendasConexaoRuta(Map<String, Object> parametros, Connection conexao) throws Exception {
|
||||||
super(parametros, conexao);
|
super(parametros, conexao);
|
||||||
|
@ -38,17 +39,14 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
@Override
|
@Override
|
||||||
public void initDados() throws Exception {
|
public void initDados() throws Exception {
|
||||||
Map<String, Object> parametros = this.relatorio.getParametros();
|
Map<String, Object> parametros = this.relatorio.getParametros();
|
||||||
fecInicio = (Timestamp) parametros.get("dataFiltroInicial");
|
fecInicio = new Timestamp(DateUtil.inicioFecha((Date) parametros.get("DATA_INICIAL")).getTime());
|
||||||
fecFinal = (Timestamp) parametros.get("dataFiltroFinal");
|
fecFinal = new Timestamp(DateUtil.inicioFecha((Date) parametros.get("DATA_FINAL")).getTime());
|
||||||
if(parametros.get("EMPRESA_ID")!=null){
|
|
||||||
empresaId = Integer.valueOf(parametros.get("EMPRESA_ID").toString());
|
// fecInicio = (Timestamp) parametros.get("DATA_INICIAL");
|
||||||
}
|
// fecFinal = (Timestamp) parametros.get("DATA_INICIAL");
|
||||||
if(parametros.get("PUNTOVENTA_ID")!=null){
|
|
||||||
puntoventaId = Integer.valueOf(parametros.get("PUNTOVENTA_ID").toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
Connection conexao = this.relatorio.getConexao();
|
Connection conexao = this.relatorio.getConexao();
|
||||||
processarVendasConexao(conexao);
|
processarVendasConexao(conexao, parametros);
|
||||||
|
|
||||||
setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
|
||||||
}
|
}
|
||||||
|
@ -56,13 +54,13 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processarVendasConexao(Connection conexao) {
|
private void processarVendasConexao(Connection conexao, Map<String, Object> parametros) {
|
||||||
ResultSet rset = null;
|
ResultSet rset = null;
|
||||||
NamedParameterStatement stmt = null;
|
NamedParameterStatement stmt = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
stmt = carregarNamedParameterStatement(conexao);
|
stmt = carregarNamedParameterStatement(conexao, parametros);
|
||||||
rset = stmt.executeQuery();
|
rset = stmt.executeQuery();
|
||||||
processarResultado(rset);
|
processarResultado(rset);
|
||||||
fecharConexaoBanco(conexao, stmt, rset);
|
fecharConexaoBanco(conexao, stmt, rset);
|
||||||
|
@ -100,7 +98,7 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
|
|
||||||
RelatorioVendasConexaoRutaBean bean = new RelatorioVendasConexaoRutaBean();
|
RelatorioVendasConexaoRutaBean bean = new RelatorioVendasConexaoRutaBean();
|
||||||
|
|
||||||
bean.setServico((Integer) rset.getInt("numBPE"));
|
bean.setNumBpe((Integer) rset.getInt("numBPE"));
|
||||||
bean.setPreco((BigDecimal) rset.getObject("preco"));
|
bean.setPreco((BigDecimal) rset.getObject("preco"));
|
||||||
bean.setTaxaEmbarque((BigDecimal) rset.getObject("taxaEmbarque"));
|
bean.setTaxaEmbarque((BigDecimal) rset.getObject("taxaEmbarque"));
|
||||||
bean.setPedagio((BigDecimal) rset.getBigDecimal("pedagio"));
|
bean.setPedagio((BigDecimal) rset.getBigDecimal("pedagio"));
|
||||||
|
@ -121,10 +119,14 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
bean.setCveusuario((String) rset.getObject("cveusuario"));
|
bean.setCveusuario((String) rset.getObject("cveusuario"));
|
||||||
bean.setNumoperacion((String) rset.getObject("numoperacion"));
|
bean.setNumoperacion((String) rset.getObject("numoperacion"));
|
||||||
bean.setClasseServico((String) rset.getObject("classeServico"));
|
bean.setClasseServico((String) rset.getObject("classeServico"));
|
||||||
|
bean.setSubSerie((String) rset.getObject("subSerie"));
|
||||||
total = total.add(bean.getPreco() != null ? bean.getPreco() : BigDecimal.ZERO);
|
bean.setDescricaoConexao((String) rset.getObject("descricaoConexao"));
|
||||||
|
bean.setIdCadastroConexao((Integer) rset.getInt("IdCadastroConexao"));
|
||||||
|
bean.setDescuento((String) rset.getObject("descuento"));
|
||||||
|
total = total.add(bean.getPreco() != null ? bean.getPreco() : BigDecimal.ZERO);
|
||||||
|
total = total.add(bean.getTaxaEmbarque() != null ? bean.getTaxaEmbarque() : BigDecimal.ZERO);
|
||||||
|
total = total.add(bean.getPedagio() != null ? bean.getPedagio() : BigDecimal.ZERO);
|
||||||
|
total = total.add(bean.getSeguro() != null ? bean.getSeguro() : BigDecimal.ZERO);
|
||||||
lsDadosRelatorio.add(bean);
|
lsDadosRelatorio.add(bean);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,8 +137,8 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private NamedParameterStatement carregarNamedParameterStatement(Connection conexao) throws SQLException {
|
private NamedParameterStatement carregarNamedParameterStatement(Connection conexao, Map<String, Object> parametros) throws SQLException {
|
||||||
String sql = getSql();
|
String sql = getSql(parametros);
|
||||||
log.info(sql);
|
log.info(sql);
|
||||||
|
|
||||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||||
|
@ -147,27 +149,21 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
if(fecFinal != null) {
|
if(fecFinal != null) {
|
||||||
stmt.setTimestamp("fecFinal", fecFinal);
|
stmt.setTimestamp("fecFinal", fecFinal);
|
||||||
}
|
}
|
||||||
if(empresaId != null) {
|
|
||||||
stmt.setInt("EMPRESA_ID", empresaId);
|
|
||||||
}
|
|
||||||
if(puntoventaId != null && puntoventaId > -1) {
|
|
||||||
stmt.setInt("PUNTOVENTA_ID", puntoventaId);
|
|
||||||
}
|
|
||||||
|
|
||||||
return stmt;
|
return stmt;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String getSql() {
|
protected String getSql(Map<String, Object> parametros) {
|
||||||
|
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
sb.append("SELECT c.numfoliosistema as bilhete,");
|
sb.append("SELECT c.numfoliosistema as bilhete,");
|
||||||
sb.append(" b.num_bpe as numBpe,");
|
sb.append(" b.num_bpe as numBpe,");
|
||||||
sb.append(" c.origen_id as codOrigem,");
|
sb.append(" origen.cveparada as codOrigem,");
|
||||||
sb.append(" origen.descparada as descricaoOrigem,");
|
sb.append(" origen.descparada as descricaoOrigem,");
|
||||||
sb.append(" destino.descparada as descricaoDestino ,");
|
sb.append(" destino.descparada as descricaoDestino ,");
|
||||||
sb.append(" c.destino_id as codDestino,");
|
sb.append(" destino.cveparada as codDestino,");
|
||||||
sb.append(" r.numruta as numLinha, ");
|
sb.append(" r.numruta as numLinha, ");
|
||||||
sb.append(" r.descruta as descricaoLinha, ");
|
sb.append(" r.descruta as descricaoLinha, ");
|
||||||
sb.append(" c.corrida_id as servico,");
|
sb.append(" c.corrida_id as servico,");
|
||||||
|
@ -175,14 +171,18 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
sb.append(" c.fechorviaje as dataEmbarque,");
|
sb.append(" c.fechorviaje as dataEmbarque,");
|
||||||
sb.append(" c.fechorventa dataVenda,");
|
sb.append(" c.fechorventa dataVenda,");
|
||||||
sb.append(" c.numasiento as poltrona,");
|
sb.append(" c.numasiento as poltrona,");
|
||||||
sb.append(" tar.precio AS preco,");
|
sb.append(" c.preciopagado AS preco,");
|
||||||
sb.append(" c.importetaxaembarque as taxaEmbarque,");
|
sb.append(" c.importetaxaembarque as taxaEmbarque,");
|
||||||
sb.append(" c.importeseguro as seguro,");
|
sb.append(" c.importeseguro as seguro,");
|
||||||
sb.append(" c.importepedagio as pedagio,");
|
sb.append(" c.importepedagio as pedagio,");
|
||||||
sb.append(" pv.numpuntoventa as numeroAgencia, ");
|
sb.append(" pv.numpuntoventa as numeroAgencia, ");
|
||||||
sb.append(" pv.nombpuntoventa as nomeAgencia, ");
|
sb.append(" pv.nombpuntoventa as nomeAgencia, ");
|
||||||
sb.append(" u.cveusuario as cveusuario, ");
|
sb.append(" u.cveusuario as cveusuario, ");
|
||||||
sb.append(" c.numoperacion as numoperacion ");
|
sb.append(" c.numoperacion as numoperacion, ");
|
||||||
|
sb.append(" 'BPe' as subSerie, ");
|
||||||
|
sb.append(" conf.descricao descricaoConexao, ");
|
||||||
|
sb.append(" conf.conexionrutaconf_id IdCadastroConexao, ");
|
||||||
|
sb.append(" CONV.descconvenio as descuento ");
|
||||||
sb.append("FROM caja c ");
|
sb.append("FROM caja c ");
|
||||||
sb.append("JOIN boleto b on (c.transacao_id = b.boleto_id) ");
|
sb.append("JOIN boleto b on (c.transacao_id = b.boleto_id) ");
|
||||||
sb.append("JOIN caja_formapago cfp ON cfp.caja_id = c.caja_id ");
|
sb.append("JOIN caja_formapago cfp ON cfp.caja_id = c.caja_id ");
|
||||||
|
@ -197,15 +197,14 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
sb.append("JOIN ruta r ON (r.ruta_id = c.ruta_id) ");
|
sb.append("JOIN ruta r ON (r.ruta_id = c.ruta_id) ");
|
||||||
sb.append("JOIN clase_servicio cs ON (c.claseservicio_id = cs.claseservicio_id) ");
|
sb.append("JOIN clase_servicio cs ON (c.claseservicio_id = cs.claseservicio_id) ");
|
||||||
sb.append("INNER JOIN vigencia_tarifa vt ON c.fechorventa BETWEEN vt.feciniciovigencia AND vt.fecfinvigencia ");
|
sb.append("INNER JOIN vigencia_tarifa vt ON c.fechorventa BETWEEN vt.feciniciovigencia AND vt.fecfinvigencia ");
|
||||||
sb.append("AND vt.activo = 1");
|
sb.append("AND vt.activo = 1 ");
|
||||||
sb.append("INNER JOIN tarifa tar ON (tar.ruta_id = c.ruta_id");
|
|
||||||
sb.append(" AND tar.marca_id = m.marca_id");
|
|
||||||
sb.append(" AND tar.claseservicio_id = c.claseservicio_id ");
|
|
||||||
sb.append(" AND tar.vigenciatarifa_id = vt.vigenciatarifa_id ");
|
|
||||||
sb.append(" AND tar.origen_id = c.origen_id ");
|
|
||||||
sb.append(" AND tar.destino_id = c.destino_id ");
|
|
||||||
sb.append(" AND tar.activo = 1)");
|
|
||||||
sb.append("INNER JOIN usuario u ON (c.usuario_id = u.usuario_id) ");
|
sb.append("INNER JOIN usuario u ON (c.usuario_id = u.usuario_id) ");
|
||||||
|
sb.append("join conexion cc on cc.conexionctrl_id = c.conexionctrl_id and cc.activo =1 ");
|
||||||
|
sb.append("join conexion_ruta_tramo_ctrl ctr on ctr.conexionrutatramoctrl_id = cc.conexionrutatramoctrl_id and ctr.activo = 1 ");
|
||||||
|
sb.append("join conexion_ruta_ctrl ctrl on ctrl.conexionrutactrl_id = ctr.conexionrutactrl_id and ctrl.activo =1 ");
|
||||||
|
sb.append("join conexion_ruta_conf conf on conf.conexionrutaconf_id = ctrl.conexionrutaconf_id and conf.activo =1 ");
|
||||||
|
sb.append("left JOIN CONVENIO_DET CONV_D ON CONV_D.CONVENIODET_ID = c.CONVENIODET_ID ");
|
||||||
|
sb.append(" left join CONVENIO CONV ON CONV.CONVENIO_ID = CONV_D.CONVENIO_ID ");
|
||||||
sb.append("WHERE c.indconexion = 1");
|
sb.append("WHERE c.indconexion = 1");
|
||||||
sb.append(" AND c.indreimpresion = 0");
|
sb.append(" AND c.indreimpresion = 0");
|
||||||
sb.append(" AND c.tipoventa_id <> 6");
|
sb.append(" AND c.tipoventa_id <> 6");
|
||||||
|
@ -218,25 +217,64 @@ public class RelatorioVendasConexaoRuta extends Relatorio {
|
||||||
sb.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id");
|
sb.append(" JOIN punto_venta pv ON pv.puntoventa_id = c.puntoventa_id");
|
||||||
sb.append(" WHERE c.indconexion = 1");
|
sb.append(" WHERE c.indconexion = 1");
|
||||||
sb.append(" AND c.indreimpresion = 0 and (c.indstatusboleto = 'V' or c.indstatusboleto = 'T' ) and c.motivocancelacion_id is null ");
|
sb.append(" AND c.indreimpresion = 0 and (c.indstatusboleto = 'V' or c.indstatusboleto = 'T' ) and c.motivocancelacion_id is null ");
|
||||||
sb.append(" AND c.tipoventa_id <> 6");
|
sb.append(" AND c.tipoventa_id <> 6 ");
|
||||||
|
|
||||||
if(fecInicio != null) {
|
if(fecInicio != null) {
|
||||||
sb.append("AND COALESCE(C.FECHORVENTA_H,C.FECHORVENTA) >= :fecInicio ");
|
sb.append("AND COALESCE(C.FECHORVENTA_H,C.FECHORVENTA) >= :fecInicio ");
|
||||||
}
|
}
|
||||||
if(fecFinal != null) {
|
if(fecFinal != null) {
|
||||||
sb.append("AND COALESCE(C.FECHORVENTA_H,C.FECHORVENTA) <= :fecFinal ");
|
sb.append("AND COALESCE(C.FECHORVENTA_H,C.FECHORVENTA) <= :fecFinal ");
|
||||||
}
|
}
|
||||||
if(empresaId != null) {
|
if ((String)parametros.get("EMPRESA_ID") != null && !filtrarTodos("EMPRESA_ID")) {
|
||||||
sb.append("AND E.EMPRESA_ID = :EMPRESA_ID ");
|
sb.append(" AND e.empresa_id IN ("+parametros.get("EMPRESA_ID")+")");
|
||||||
}
|
}
|
||||||
if(puntoventaId != null && puntoventaId > -1) {
|
if ((String)parametros.get("PUNTOVENTA_ID") != null && !filtrarTodos("PUNTOVENTA_ID")) {
|
||||||
sb.append("AND C.PUNTOVENTA_ID = :PUNTOVENTA_ID ");
|
sb.append(" AND b.puntoventa_id IN ("+parametros.get("PUNTOVENTA_ID")+")");
|
||||||
}
|
}
|
||||||
|
|
||||||
sb.append(") ");
|
sb.append(") ");
|
||||||
|
sb.append(" group by ");
|
||||||
|
sb.append(" c.numfoliosistema ,");
|
||||||
|
sb.append(" b.num_bpe ,");
|
||||||
|
sb.append(" origen.cveparada ,");
|
||||||
|
sb.append(" origen.descparada,");
|
||||||
|
sb.append(" destino.descparada ,");
|
||||||
|
sb.append(" destino.cveparada ,");
|
||||||
|
sb.append(" r.numruta ,");
|
||||||
|
sb.append(" r.descruta ,");
|
||||||
|
sb.append(" c.corrida_id ,");
|
||||||
|
sb.append(" cs.descclase ,");
|
||||||
|
sb.append(" c.fechorviaje, ");
|
||||||
|
sb.append(" c.fechorventa , ");
|
||||||
|
sb.append(" c.numasiento , ");
|
||||||
|
sb.append(" c.preciopagado ,");
|
||||||
|
sb.append(" c.importetaxaembarque ,");
|
||||||
|
sb.append(" c.importeseguro, ");
|
||||||
|
sb.append(" c.importepedagio ,");
|
||||||
|
sb.append(" pv.numpuntoventa ,");
|
||||||
|
sb.append(" pv.nombpuntoventa ,");
|
||||||
|
sb.append(" u.cveusuario ,");
|
||||||
|
sb.append(" c.numoperacion ,");
|
||||||
|
sb.append(" conf.descricao ,");
|
||||||
|
sb.append(" conf.conexionrutaconf_id, CONV.descconvenio ");
|
||||||
|
sb.append(" order by c.fechorventa, c.numoperacion ");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private boolean filtrarTodos(String parametro) {
|
||||||
|
String ids = (String)parametros.get(parametro);
|
||||||
|
for (int i = 0; i < ids.split(", ").length; i++) {
|
||||||
|
if (FILTRO_POR_TODOS.equals(ids.split(", ")[i])) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void processaParametros() throws Exception {
|
protected void processaParametros() throws Exception {
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
msg.noData=Não foi possivel obter dados com os parâmetros informados.
|
||||||
|
|
||||||
#Labels cabeçalho
|
#Labels cabeçalho
|
||||||
cabecalho.nome=Relatório Vendas Conexão por Linha
|
cabecalho.nome=Repoert Vendas Conexion por Ruta
|
||||||
cabecalho.relatorio=Relatório:
|
cabecalho.relatorio=Report:
|
||||||
cabecalho.periodo=Período:
|
cabecalho.periodo=Período:
|
||||||
cabecalho.periodoA=à
|
cabecalho.periodoA=à
|
||||||
cabecalho.dataHora=Data/Hora:
|
cabecalho.dataHora=Data/Hora:
|
||||||
|
@ -11,31 +11,35 @@ cabecalho.impressorPor=Impressor por:
|
||||||
cabecalho.pagina=Página
|
cabecalho.pagina=Página
|
||||||
cabecalho.de=de
|
cabecalho.de=de
|
||||||
cabecalho.filtros=Filtros:
|
cabecalho.filtros=Filtros:
|
||||||
cabecalho.puntoventa=Agência:
|
cabecalho.puntoventa=Punto Venta:
|
||||||
cabecalho.usuario=Usuário:
|
cabecalho.usuario=Usuário:
|
||||||
|
|
||||||
|
|
||||||
label.bpe=Nº BPE
|
label.bpe=BPE
|
||||||
label.nomeAgencia=Pnuto Venta
|
label.subSerie=SubSerie
|
||||||
|
label.nomeAgencia=Punto Venta
|
||||||
label.numeroAgencia=Nº Punto Venta
|
label.numeroAgencia=Nº Punto Venta
|
||||||
label.dataVenda=Fechor Venta
|
label.dataVenda=Dt.Venda
|
||||||
label.dataEmbarque=Fechor Embarque
|
label.dataEmbarque=Dt.Embarque
|
||||||
label.bilhete=Folio
|
label.bilhete=Bilhete
|
||||||
label.dataEmissao=Fechor Emissão
|
label.dataEmissao=Dt.Emissão
|
||||||
label.preco=Preço
|
label.preco=Tarifa
|
||||||
label.taxaEmbarque=Taxa Emb.
|
label.taxaEmbarque=Taxa Emb.
|
||||||
label.seguro=Seguro
|
label.seguro=Seguro
|
||||||
label.pedagio=Pedágio
|
label.pedagio=Pedágio
|
||||||
label.origem= Origem
|
label.origem= Origem
|
||||||
label.destino=Destino
|
label.destino=Destino
|
||||||
label.numLinha=Nº Linha
|
label.numLinha=Nº Ruta
|
||||||
label.descricaoLinha=Linha
|
label.descricaoLinha=Ruta
|
||||||
label.servico=Servicio
|
label.servico=Corrida
|
||||||
label.classeServico=Clase
|
label.classeServico=Clase
|
||||||
label.poltrona= Asiento
|
label.poltrona= Asiento
|
||||||
label.dataInicial=Fechor Inicial:
|
label.dataInicial=Fechor Inicial:
|
||||||
label.dataFinal=Fechor Final:
|
label.dataFinal=Fechor Final:
|
||||||
label.cveusuario=Usuário
|
label.cveusuario=Usuário
|
||||||
label.empresa=Empresa:
|
label.empresa=Empresa:
|
||||||
|
label.IDCesta=ID Cesta:
|
||||||
|
label.IDCadastroConexao=ID Conex.
|
||||||
|
label.descricaoDesconto=Desconto.
|
||||||
|
label.descricaoConexao=Nombre Conexion
|
||||||
label.total=Total R$:
|
label.total=Total R$:
|
|
@ -15,14 +15,15 @@ cabecalho.puntoventa=Ag
|
||||||
cabecalho.usuario=Usuário:
|
cabecalho.usuario=Usuário:
|
||||||
|
|
||||||
|
|
||||||
label.bpe=Nº BPE
|
label.bpe=BPE
|
||||||
|
label.subSerie=SubSerie
|
||||||
label.nomeAgencia=Agência
|
label.nomeAgencia=Agência
|
||||||
label.numeroAgencia=Nº Agência
|
label.numeroAgencia=Nº Agência
|
||||||
label.dataVenda=Data Venda
|
label.dataVenda=Dt.Venda
|
||||||
label.dataEmbarque=Data Embarque
|
label.dataEmbarque=Dt.Embarque
|
||||||
label.bilhete=Bilhete
|
label.bilhete=Bilhete
|
||||||
label.dataEmissao=Data Emissão
|
label.dataEmissao=Dt.Emissão
|
||||||
label.preco=Preço
|
label.preco=Tarifa
|
||||||
label.taxaEmbarque=Taxa Emb.
|
label.taxaEmbarque=Taxa Emb.
|
||||||
label.seguro=Seguro
|
label.seguro=Seguro
|
||||||
label.pedagio=Pedágio
|
label.pedagio=Pedágio
|
||||||
|
@ -37,5 +38,8 @@ label.dataInicial=Data Inicial:
|
||||||
label.dataFinal=Data Final:
|
label.dataFinal=Data Final:
|
||||||
label.cveusuario=Usuário
|
label.cveusuario=Usuário
|
||||||
label.empresa=Empresa:
|
label.empresa=Empresa:
|
||||||
|
label.IDCesta=ID Cesta:
|
||||||
|
label.IDCadastroConexao=ID Conex.
|
||||||
|
label.descricaoDesconto=Desconto
|
||||||
|
label.descricaoConexao=Conexão
|
||||||
label.total=Total R$:
|
label.total=Total R$:
|
Binary file not shown.
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Relatorio Vendas PTA" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
|
<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="Relatório Vendas Conexão por Linha" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
|
||||||
<property name="ireport.zoom" value="5.696247503748661"/>
|
<property name="ireport.zoom" value="5.696247503748697"/>
|
||||||
<property name="ireport.x" value="0"/>
|
<property name="ireport.x" value="3886"/>
|
||||||
<property name="ireport.y" value="450"/>
|
<property name="ireport.y" value="615"/>
|
||||||
<parameter name="fecInicio" class="java.lang.String"/>
|
<parameter name="DATA_INICIAL" class="java.util.Date"/>
|
||||||
<parameter name="fecFinal" class="java.lang.String"/>
|
<parameter name="DATA_FINAL" class="java.util.Date"/>
|
||||||
<parameter name="codconvenio" class="java.lang.String"/>
|
<parameter name="codconvenio" class="java.lang.String"/>
|
||||||
<parameter name="usuario" class="java.lang.String"/>
|
<parameter name="usuario" class="java.lang.String"/>
|
||||||
<parameter name="nomeRelatorio" class="java.lang.String"/>
|
<parameter name="nomeRelatorio" class="java.lang.String"/>
|
||||||
|
@ -34,145 +34,10 @@
|
||||||
<field name="cveusuario" class="java.lang.String"/>
|
<field name="cveusuario" class="java.lang.String"/>
|
||||||
<field name="pedagio" class="java.math.BigDecimal"/>
|
<field name="pedagio" class="java.math.BigDecimal"/>
|
||||||
<field name="seguro" class="java.math.BigDecimal"/>
|
<field name="seguro" class="java.math.BigDecimal"/>
|
||||||
<group name="numoperacion" isReprintHeaderOnEachPage="true">
|
<field name="subSerie" class="java.lang.String"/>
|
||||||
<groupExpression><![CDATA[$F{numoperacion}]]></groupExpression>
|
<field name="idCadastroConexao" class="java.lang.Integer"/>
|
||||||
<groupHeader>
|
<field name="descricaoConexao" class="java.lang.String"/>
|
||||||
<band height="21">
|
<field name="descuento" class="java.lang.String"/>
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="422" y="4" width="50" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dataEmbarque}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="0" y="3" width="35" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.bilhete}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="554" y="4" width="30" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.preco}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="584" y="4" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.taxaEmbarque}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="253" y="4" width="63" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descricaoLinha}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="70" y="4" width="72" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.origem}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="142" y="4" width="70" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.destino}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="514" y="4" width="40" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.poltrona}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<line>
|
|
||||||
<reportElement x="0" y="19" width="802" height="1"/>
|
|
||||||
</line>
|
|
||||||
<line>
|
|
||||||
<reportElement x="0" y="3" width="802" height="1"/>
|
|
||||||
</line>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="35" y="4" width="35" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.bpe}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="212" y="4" width="41" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.numLinha}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="316" y="4" width="43" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.servico}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="359" y="4" width="63" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.classeServico}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="472" y="4" width="42" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dataVenda}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="613" y="4" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.pedagio}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="642" y="4" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.seguro}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="671" y="4" width="40" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.numeroAgencia}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="711" y="4" width="40" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.nomeAgencia}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField pattern="" isBlankWhenNull="true">
|
|
||||||
<reportElement mode="Transparent" x="751" y="4" width="40" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
|
||||||
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
|
||||||
<font fontName="SansSerif" size="7" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
|
||||||
</textElement>
|
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.cveusuario}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
</band>
|
|
||||||
</groupHeader>
|
|
||||||
</group>
|
|
||||||
<background>
|
<background>
|
||||||
<band splitType="Stretch"/>
|
<band splitType="Stretch"/>
|
||||||
</background>
|
</background>
|
||||||
|
@ -188,9 +53,9 @@
|
||||||
</band>
|
</band>
|
||||||
</title>
|
</title>
|
||||||
<pageHeader>
|
<pageHeader>
|
||||||
<band height="49">
|
<band height="78">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="212" y="27" width="104" height="22"/>
|
<reportElement x="212" y="27" width="91" height="22"/>
|
||||||
<textElement lineSpacing="Single">
|
<textElement lineSpacing="Single">
|
||||||
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
|
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
|
@ -204,208 +69,411 @@
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dataInicial}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dataInicial}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy">
|
<textField pattern="dd/MM/yyyy">
|
||||||
<reportElement x="316" y="27" width="126" height="22" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="303" y="27" width="163" height="22" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement lineSpacing="Single">
|
<textElement lineSpacing="Single">
|
||||||
<font size="10" isBold="false"/>
|
<font size="10" isBold="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$P{fecFinal}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy">
|
<textField pattern="dd/MM/yyyy">
|
||||||
<reportElement x="70" y="27" width="72" height="22" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="70" y="27" width="72" height="22" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement lineSpacing="Single">
|
<textElement lineSpacing="Single">
|
||||||
<font size="10" isBold="false"/>
|
<font size="10" isBold="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$P{fecInicio}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="" isBlankWhenNull="false">
|
<textField pattern="" isBlankWhenNull="false">
|
||||||
<reportElement mode="Transparent" x="387" y="4" width="207" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
<reportElement mode="Transparent" x="303" y="4" width="269" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="594" y="4" width="99" height="15"/>
|
<reportElement x="572" y="4" width="98" height="15"/>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">
|
<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">
|
||||||
<font size="10" isBold="true"/>
|
<font size="10" isBold="true"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
|
||||||
<reportElement mode="Transparent" x="693" y="4" width="109" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
<reportElement mode="Transparent" x="670" y="4" width="132" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" lineSpacing="Single" markup="none">
|
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" lineSpacing="Single" markup="none">
|
||||||
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[new java.util.Date()]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[new java.util.Date()]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="378" y="60" width="36" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="5" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dataEmbarque}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="0" y="60" width="25" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.bilhete}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="466" y="60" width="19" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.preco}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="485" y="60" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.taxaEmbarque}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="240" y="60" width="63" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descricaoLinha}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="70" y="60" width="72" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.origem}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="142" y="60" width="70" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.destino}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="444" y="60" width="22" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="5" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.poltrona}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="50" y="60" width="20" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.bpe}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="212" y="60" width="28" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.numLinha}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="303" y="60" width="32" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.servico}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="335" y="60" width="43" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.classeServico}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="414" y="60" width="30" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dataVenda}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="514" y="60" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.pedagio}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="543" y="60" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.seguro}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="601" y="60" width="26" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="5" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.numeroAgencia}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="627" y="60" width="43" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.nomeAgencia}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="670" y="60" width="26" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.cveusuario}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="25" y="60" width="25" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="5" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.subSerie}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="696" y="60" width="38" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.IDCesta}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="734" y="60" width="32" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.IDCadastroConexao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="766" y="60" width="36" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descricaoConexao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement mode="Transparent" x="572" y="60" width="29" height="14" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||||
|
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" lineSpacing="Single" markup="none">
|
||||||
|
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descricaoDesconto}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="58" width="802" height="1"/>
|
||||||
|
</line>
|
||||||
</band>
|
</band>
|
||||||
</pageHeader>
|
</pageHeader>
|
||||||
<columnHeader>
|
<columnHeader>
|
||||||
<band/>
|
<band height="8"/>
|
||||||
</columnHeader>
|
</columnHeader>
|
||||||
<detail>
|
<detail>
|
||||||
<band height="14" splitType="Stretch">
|
<band height="18">
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement x="253" y="1" width="63" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="240" y="0" width="63" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoLinha}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoLinha}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
<reportElement x="422" y="1" width="50" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="378" y="0" width="36" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{dataEmbarque}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{dataEmbarque}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
<reportElement x="0" y="1" width="35" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="0" y="0" width="25" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{bilhete}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{bilhete}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="554" y="1" width="30" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="466" y="0" width="19" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{preco}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{preco}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="584" y="1" width="29" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="485" y="0" width="29" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{taxaEmbarque}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{taxaEmbarque}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="514" y="1" width="40" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="444" y="0" width="22" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{poltrona}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{poltrona}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">
|
||||||
<reportElement x="35" y="1" width="35" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="50" y="0" width="20" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{numBpe}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{numBpe}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">
|
||||||
<reportElement x="70" y="1" width="35" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="70" y="0" width="17" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{codOrigem}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{codOrigem}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="105" y="1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="87" y="0" width="55" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoOrigem}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoOrigem}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">
|
||||||
<reportElement x="142" y="1" width="33" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="142" y="0" width="19" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{codDestino}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{codDestino}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="175" y="1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="161" y="0" width="51" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoDestino}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoDestino}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">
|
||||||
<reportElement x="212" y="1" width="41" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="212" y="0" width="28" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{numLinha}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{numLinha}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement x="316" y="1" width="43" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="303" y="0" width="32" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{servico}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{servico}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement x="359" y="1" width="63" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="335" y="0" width="43" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{classeServico}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{classeServico}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
|
||||||
<reportElement x="472" y="1" width="42" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="414" y="0" width="30" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="5"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{dataVenda}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{dataVenda}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="613" y="1" width="29" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="514" y="0" width="29" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{pedagio}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{pedagio}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="642" y="1" width="29" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="543" y="0" width="29" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{seguro}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{seguro}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">
|
||||||
<reportElement x="671" y="1" width="40" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="601" y="0" width="26" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{numeroAgencia}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{numeroAgencia}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
|
||||||
<reportElement x="711" y="1" width="40" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="627" y="0" width="43" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{nomeAgencia}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{nomeAgencia}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
<reportElement x="751" y="1" width="40" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
<reportElement x="670" y="0" width="26" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="7"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$F{cveusuario}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{cveusuario}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement x="25" y="0" width="25" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
|
<font size="6"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{subSerie}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement x="696" y="0" width="38" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
|
<font size="5"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{numoperacion}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="###0" isBlankWhenNull="true">
|
||||||
|
<reportElement x="734" y="0" width="32" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
|
<font size="6"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{idCadastroConexao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement x="766" y="0" width="36" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
|
<font size="6"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descricaoConexao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
|
||||||
|
<reportElement x="572" y="0" width="29" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"/>
|
||||||
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
|
<font size="6"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descuento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</detail>
|
</detail>
|
||||||
<columnFooter>
|
<columnFooter>
|
||||||
<band splitType="Stretch"/>
|
<band splitType="Stretch"/>
|
||||||
</columnFooter>
|
</columnFooter>
|
||||||
<pageFooter>
|
<pageFooter>
|
||||||
<band height="6" splitType="Stretch"/>
|
<band height="6" splitType="Stretch">
|
||||||
|
<line>
|
||||||
|
<reportElement x="0" y="0" width="802" height="1"/>
|
||||||
|
</line>
|
||||||
|
</band>
|
||||||
</pageFooter>
|
</pageFooter>
|
||||||
<summary>
|
<summary>
|
||||||
<band height="43" splitType="Stretch">
|
<band height="44" splitType="Stretch">
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="0" y="11" width="35" height="14"/>
|
<reportElement x="0" y="11" width="50" height="14"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8" isBold="false" pdfFontName="Helvetica-Bold"/>
|
<font size="6" isBold="false" pdfFontName="Helvetica-Bold"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.total}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.total}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField>
|
<textField>
|
||||||
<reportElement x="35" y="11" width="35" height="14"/>
|
<reportElement x="50" y="11" width="55" height="14"/>
|
||||||
<textElement textAlignment="Center" lineSpacing="Single">
|
<textElement textAlignment="Center" lineSpacing="Single">
|
||||||
<font size="8"/>
|
<font size="6"/>
|
||||||
</textElement>
|
</textElement>
|
||||||
<textFieldExpression class="java.lang.String"><![CDATA[$P{TOTAL}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$P{TOTAL}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
|
|
|
@ -29,6 +29,10 @@ public class RelatorioVendasConexaoRutaBean {
|
||||||
private String classeServico;
|
private String classeServico;
|
||||||
private String numoperacion;
|
private String numoperacion;
|
||||||
private String cveusuario;
|
private String cveusuario;
|
||||||
|
private String subSerie;
|
||||||
|
private String descricaoConexao;
|
||||||
|
private Integer idCadastroConexao;
|
||||||
|
private String descuento;
|
||||||
|
|
||||||
public BigDecimal getPreco() {
|
public BigDecimal getPreco() {
|
||||||
return preco;
|
return preco;
|
||||||
|
@ -222,4 +226,36 @@ public class RelatorioVendasConexaoRutaBean {
|
||||||
this.numoperacion = numoperacion;
|
this.numoperacion = numoperacion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getSubSerie() {
|
||||||
|
return subSerie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubSerie(String subSerie) {
|
||||||
|
this.subSerie = subSerie;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDescricaoConexao() {
|
||||||
|
return descricaoConexao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDescricaoConexao(String descricaoConexao) {
|
||||||
|
this.descricaoConexao = descricaoConexao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getIdCadastroConexao() {
|
||||||
|
return idCadastroConexao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIdCadastroConexao(Integer idCadastroConexao) {
|
||||||
|
this.idCadastroConexao = idCadastroConexao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDescuento() {
|
||||||
|
return descuento;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDescuento(String descuento) {
|
||||||
|
this.descuento = descuento;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -14,14 +16,17 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.context.annotation.Scope;
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.zkoss.util.resource.Labels;
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
import org.zkoss.zk.ui.Component;
|
import org.zkoss.zk.ui.Component;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Comboitem;
|
||||||
import org.zkoss.zul.Datebox;
|
import org.zkoss.zul.Datebox;
|
||||||
|
import org.zkoss.zul.Paging;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasConexao;
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioDiferencasTransferencias;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasConexaoRuta;
|
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioVendasConexaoRuta;
|
||||||
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
|
||||||
|
@ -29,6 +34,12 @@ import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPuntoVentaSimple;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioGenericoEmpresasSel;
|
||||||
|
import com.trg.search.Filter;
|
||||||
|
|
||||||
@Controller("relatorioVendasConexaoRutaController")
|
@Controller("relatorioVendasConexaoRutaController")
|
||||||
@Scope("prototype")
|
@Scope("prototype")
|
||||||
|
@ -44,67 +55,203 @@ public class RelatorioVendasConexaoRutaController extends MyGenericForwardCompos
|
||||||
|
|
||||||
private Datebox dataInicial;
|
private Datebox dataInicial;
|
||||||
private Datebox dataFinal;
|
private Datebox dataFinal;
|
||||||
|
private Textbox txtNombreEmpresa;
|
||||||
|
private Paging pagingEmpresa;
|
||||||
|
private Paging pagingEmpresaSel;
|
||||||
|
private MyListbox empresaList;
|
||||||
|
private MyListbox empresaSelList;
|
||||||
|
private MyListbox puntoVentaList;
|
||||||
|
private MyListbox puntoVentaSelectedList;
|
||||||
|
private Textbox txtNomeAgencia;
|
||||||
|
private Paging pagingPuntoVenta;
|
||||||
|
private static final String LIKE = "%";
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private transient PagedListWrapper<Empresa> plwEmpresa;
|
||||||
|
|
||||||
private MyComboboxPuntoVenta cmbPuntoVenta;
|
@Autowired
|
||||||
|
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doAfterCompose(Component comp) throws Exception {
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
this.lsEmpresa = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
empresaList.setItemRenderer(new RenderRelatorioGenericoEmpresasSel());
|
||||||
|
empresaSelList.setItemRenderer(new RenderRelatorioGenericoEmpresasSel());
|
||||||
|
puntoVentaList.setItemRenderer(new RenderPuntoVentaSimple());
|
||||||
|
puntoVentaSelectedList.setItemRenderer(new RenderPuntoVentaSimple());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
|
||||||
excutarRelatorios();
|
excutarRelatorios();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings({ "unchecked" })
|
||||||
public void excutarRelatorios() throws SQLException, Exception {
|
public void excutarRelatorios() throws SQLException, Exception {
|
||||||
|
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
|
if (!isPeriodoValido()) {
|
||||||
Date dataDe = dataInicial.getValue();
|
try {
|
||||||
Date dataAte = dataFinal.getValue();
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("relatorioVendaConexaoRuta.window.title"),
|
||||||
Timestamp fecVentaInicial = new Timestamp(DateUtil.inicioFecha(dataDe).getTime());
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
Timestamp fecVentaFinal = new Timestamp(DateUtil.fimFecha(dataAte).getTime());
|
} catch (InterruptedException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
Map<String, Object> parametros = new HashMap<String, Object>();
|
|
||||||
parametros.put("fecInicio", sdf.format(dataDe));
|
|
||||||
parametros.put("fecFinal", sdf.format(dataAte));
|
|
||||||
|
|
||||||
parametros.put("dataFiltroInicial", fecVentaInicial);
|
|
||||||
parametros.put("dataFiltroFinal", fecVentaFinal);
|
|
||||||
|
|
||||||
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
|
|
||||||
if (itemEmpresa != null) {
|
|
||||||
Empresa empresa = (Empresa) itemEmpresa.getValue();
|
|
||||||
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
|
|
||||||
parametros.put("empresa", empresa.getNombempresa());
|
|
||||||
} else {
|
|
||||||
parametros.put("empresa", "Todas;");
|
|
||||||
}
|
|
||||||
|
|
||||||
Comboitem itemPuntoventa = cmbPuntoVenta.getSelectedItem();
|
|
||||||
if(itemPuntoventa != null) {
|
|
||||||
PuntoVenta puntoVenta = (PuntoVenta) itemPuntoventa.getValue();
|
|
||||||
if(puntoVenta.getPuntoventaId() > -1) {
|
|
||||||
parametros.put("PUNTOVENTA_ID", puntoVenta.getPuntoventaId());
|
|
||||||
parametros.put("puntoventa", puntoVenta.getNombpuntoventa());
|
|
||||||
} else {
|
|
||||||
parametros.put("puntoventa", "Todas;");
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
parametros.put("puntoventa", "Todas;");
|
Relatorio relatorio;
|
||||||
|
|
||||||
|
Map<String, Object> parametros = new HashMap<String, Object>();
|
||||||
|
StringBuilder filtro = new StringBuilder();
|
||||||
|
|
||||||
|
parametros.put("DATA_INICIAL", (java.util.Date) dataInicial.getValue());
|
||||||
|
parametros.put("DATA_FINAL", (java.util.Date) dataFinal.getValue());
|
||||||
|
|
||||||
|
List<Empresa> listaEmpresa = (List<Empresa>)(Object)Arrays.asList(empresaSelList.getData());
|
||||||
|
if (!listaEmpresa.isEmpty()) {
|
||||||
|
parametros.put("EMPRESA_ID", getIdsEmpresa(listaEmpresa));
|
||||||
|
}
|
||||||
|
|
||||||
|
List<PuntoVenta> listaPontosVenda = (List<PuntoVenta>)(Object)Arrays.asList(puntoVentaSelectedList.getData());
|
||||||
|
if (!listaPontosVenda.isEmpty()) {
|
||||||
|
parametros.put("PUNTOVENTA_ID", getIdsPontoVenda(listaPontosVenda));
|
||||||
|
configuraFiltroAgencia(filtro, listaPontosVenda);
|
||||||
|
} else {
|
||||||
|
filtro.append(" Agências: TODAS");
|
||||||
|
}
|
||||||
|
|
||||||
|
parametros.put("FILTROS", filtro.toString());
|
||||||
|
|
||||||
|
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioVendaConexaoRuta.window.title"));
|
||||||
|
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getNombusuario());
|
||||||
|
|
||||||
|
relatorio = new RelatorioDiferencasTransferencias(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
relatorio = new RelatorioVendasConexaoRuta(parametros, dataSourceRead.getConnection());
|
||||||
|
args.put("relatorio", relatorio);
|
||||||
|
|
||||||
|
openWindow("/component/reportView.zul",
|
||||||
|
Labels.getLabel("indexController.mniRelatorioVendasConexao.label"), args, MODAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, Object> args = new HashMap<String, Object>();
|
|
||||||
Relatorio relatorio = new RelatorioVendasConexaoRuta(parametros, dataSourceRead.getConnection());
|
|
||||||
args.put("relatorio", relatorio);
|
|
||||||
|
|
||||||
openWindow("/component/reportView.zul",
|
|
||||||
Labels.getLabel("indexController.mniRelatorioVendasConexao.label"), args, MODAL);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisaEmpresa(Event ev) {
|
||||||
|
HibernateSearchObject<Empresa> empresaBusqueda =
|
||||||
|
new HibernateSearchObject<Empresa>(Empresa.class, pagingEmpresa.getPageSize());
|
||||||
|
|
||||||
|
empresaBusqueda.addFilterILike("nombempresa", obtemFiltroLike(txtNombreEmpresa));
|
||||||
|
empresaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
|
||||||
|
empresaBusqueda.addSortAsc("nombempresa");
|
||||||
|
|
||||||
|
plwEmpresa.init(empresaBusqueda, empresaList, pagingEmpresa);
|
||||||
|
|
||||||
|
validaPesquisaSemRegistro(empresaList);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLimparEmpresa(Event ev) {
|
||||||
|
empresaList.setData(new ArrayList<Empresa>());
|
||||||
|
txtNombreEmpresa.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$empresaList(Event ev) {
|
||||||
|
Empresa empresa = (Empresa) empresaList.getSelected();
|
||||||
|
if (empresa!= null &&
|
||||||
|
!Arrays.asList(empresaSelList.getData()).contains(empresa)) {
|
||||||
|
empresaSelList.addItemNovo(empresa);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$empresaSelList(Event ev) {
|
||||||
|
Empresa empresa = (Empresa) empresaSelList.getSelected();
|
||||||
|
empresaSelList.removeItem(empresa);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnPesquisaAgencia(Event ev) {
|
||||||
|
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda =
|
||||||
|
new HibernateSearchObject<PuntoVenta>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
|
||||||
|
|
||||||
|
puntoVentaBusqueda.addFilterOr(Filter.like("nombpuntoventa", obtemFiltroLike(txtNomeAgencia)),
|
||||||
|
Filter.like("numPuntoVenta", obtemFiltroLike(txtNomeAgencia)));
|
||||||
|
puntoVentaBusqueda.addSortAsc("nombpuntoventa");
|
||||||
|
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
|
||||||
|
plwPuntoVenta.init(puntoVentaBusqueda, puntoVentaList, pagingPuntoVenta);
|
||||||
|
|
||||||
|
validaPesquisaSemRegistro(puntoVentaList);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnLimparAgencia(Event ev) {
|
||||||
|
puntoVentaList.setData(new ArrayList<Empresa>());
|
||||||
|
txtNomeAgencia.setText("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$puntoVentaList(Event ev) {
|
||||||
|
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaList.getSelected();
|
||||||
|
if (puntoVenta != null
|
||||||
|
&& !Arrays.asList(puntoVentaSelectedList.getData()).contains(puntoVenta)) {
|
||||||
|
puntoVentaSelectedList.addItemNovo(puntoVenta);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onDoubleClick$puntoVentaSelectedList(Event ev) {
|
||||||
|
PuntoVenta puntoVentaSel = (PuntoVenta) puntoVentaSelectedList.getSelected();
|
||||||
|
puntoVentaSelectedList.removeItem(puntoVentaSel);
|
||||||
|
}
|
||||||
|
private void configuraFiltroAgencia(StringBuilder filtro, List<PuntoVenta> lista) {
|
||||||
|
filtro.append(" Agências: ");
|
||||||
|
for (PuntoVenta pontoVenda : lista) {
|
||||||
|
filtro.append(pontoVenda.getNombpuntoventa());
|
||||||
|
filtro.append(", ");
|
||||||
|
}
|
||||||
|
filtro.delete(filtro.length()-2, filtro.length());
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getIdsEmpresa(List<Empresa> lista) {
|
||||||
|
String ids = "";
|
||||||
|
for (Empresa empresa : lista) {
|
||||||
|
ids += empresa.getEmpresaId() +", ";
|
||||||
|
}
|
||||||
|
return ids.substring(0, ids.length()-2);
|
||||||
|
}
|
||||||
|
|
||||||
|
private String getIdsPontoVenda(List<PuntoVenta> lista) {
|
||||||
|
StringBuilder ids = new StringBuilder();
|
||||||
|
for (PuntoVenta pontoVenda : lista) {
|
||||||
|
ids.append(pontoVenda.getPuntoventaId());
|
||||||
|
ids.append(", ");
|
||||||
|
}
|
||||||
|
return ids.substring(0, ids.length()-2);
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean isPeriodoValido() {
|
||||||
|
return dataFinal.getValue().compareTo(dataInicial.getValue()) >= 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void validaPesquisaSemRegistro(MyListbox listBox) {
|
||||||
|
if (listBox.getData().length == 0) {
|
||||||
|
try {
|
||||||
|
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
|
||||||
|
Labels.getLabel("relatorioVendaConexaoRuta.window.title"),
|
||||||
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
} catch (InterruptedException ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private String obtemFiltroLike(Textbox filtro) {
|
||||||
|
return LIKE.concat(filtro.getText().trim().toUpperCase().concat(LIKE)) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Paging getPagingEmpresaSel() {
|
||||||
|
return pagingEmpresaSel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPagingEmpresaSel(Paging pagingEmpresaSel) {
|
||||||
|
this.pagingEmpresaSel = pagingEmpresaSel;
|
||||||
|
}
|
||||||
public List<Empresa> getLsEmpresa() {
|
public List<Empresa> getLsEmpresa() {
|
||||||
return lsEmpresa;
|
return lsEmpresa;
|
||||||
}
|
}
|
||||||
|
|
|
@ -874,6 +874,19 @@ relatorioDiferencasTransferenciasController.puntoVentaSelectedList.codigo = Cód
|
||||||
relatorioDiferencasTransferenciasController.puntoVentaSelectedList.nome = Nome
|
relatorioDiferencasTransferenciasController.puntoVentaSelectedList.nome = Nome
|
||||||
relatorioDiferencasTransferenciasController.lbAgencia.value = Agência
|
relatorioDiferencasTransferenciasController.lbAgencia.value = Agência
|
||||||
|
|
||||||
|
#Relatorio de Vendas conexao por Linha
|
||||||
|
|
||||||
|
relatorioVendaConexaoRuta.window.title = Relatório Vendas Conexão Por Linha
|
||||||
|
relatorioVendaConexaoRuta.lbDePeriodoTransferencia.value = Data inicial
|
||||||
|
relatorioVendaConexaoRuta.lbAtePeriodoTransferencia.value = Data final
|
||||||
|
relatorioVendaConexaoRuta.lbEmpresa.value = Empresa
|
||||||
|
relatorioVendaConexaoRuta.btnPesquisa.label = Buscar
|
||||||
|
relatorioVendaConexaoRuta.btnLimpar.label = Limpar
|
||||||
|
relatorioVendaConexaoRuta.lbIdEmpresa.value = Id
|
||||||
|
relatorioVendaConexaoRuta.puntoVentaSelectedList.codigo = Código
|
||||||
|
relatorioVendaConexaoRuta.puntoVentaSelectedList.nome = Nome
|
||||||
|
relatorioVendaConexaoRuta.lbAgencia.value = Agência
|
||||||
|
|
||||||
# Relatorio Sisdap
|
# Relatorio Sisdap
|
||||||
relatorioSisdapController.window.title=Relatório SISDAP
|
relatorioSisdapController.window.title=Relatório SISDAP
|
||||||
relatorioSisdapController.lbDatInicio.value=Data Inicio
|
relatorioSisdapController.lbDatInicio.value=Data Inicio
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<?page contentType="text/html;charset=UTF-8"?>
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioVendasConexao"?>
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioVendasConexaoRuta"?>
|
||||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winFiltroRelatorioVendasConexao"
|
<window id="winFiltroRelatorioVendasConexaoRuta"
|
||||||
apply="${relatorioVendasConexaoController}"
|
apply="${relatorioVendasConexaoController}"
|
||||||
contentStyle="overflow:auto" width="700px" border="normal">
|
contentStyle="overflow:auto" width="700px" border="normal">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<combobox id="cmbEmpresa"
|
<combobox id="cmbEmpresa"
|
||||||
buttonVisible="true"
|
buttonVisible="true"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
model="@{winFiltroRelatorioVendasConexao$composer.lsEmpresa}"
|
model="@{winFiltroRelatorioVendasConexaoRuta$composer.lsEmpresa}"
|
||||||
width="95%"
|
width="95%"
|
||||||
mold="rounded"
|
mold="rounded"
|
||||||
constraint="no empty" />
|
constraint="no empty" />
|
||||||
|
|
|
@ -10,47 +10,125 @@
|
||||||
contentStyle="overflow:auto" width="700px" border="normal">
|
contentStyle="overflow:auto" width="700px" border="normal">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="15%" />
|
<column width="30%" />
|
||||||
<column width="35%" />
|
<column width="70%" />
|
||||||
<column width="15%" />
|
|
||||||
<column width="35%" />
|
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label value="${c:l('lb.dataIni.value')}" />
|
||||||
value="${c:l('lb.empresa')}" />
|
<datebox id="dataInicial" width="50%"
|
||||||
<combobox id="cmbEmpresa"
|
mold="rounded" format="dd/MM/yyyy" constraint="no empty"
|
||||||
buttonVisible="true"
|
maxlength="10" />
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
</row>
|
||||||
model="@{winFiltroRelatorioVendasConexao$composer.lsEmpresa}"
|
<row>
|
||||||
width="95%"
|
<label value="${c:l('lb.dataFin.value')}" />
|
||||||
mold="rounded"
|
<datebox id="dataFinal" width="50%" mold="rounded"
|
||||||
constraint="no empty" />
|
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
|
||||||
|
|
||||||
<label
|
|
||||||
value="${c:l('lb.puntoventa')}" />
|
|
||||||
<combobox id="cmbPuntoVenta"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
|
||||||
mold="rounded" buttonVisible="true" width="90%"
|
|
||||||
constraint="no empty" />
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('lb.dataIni.value')}" />
|
value="${c:l('relatorioVendaConexaoRuta.lbEmpresa.value')}" />
|
||||||
<datebox id="dataInicial" width="100%" mold="rounded"
|
<bandbox id="bbPesquisaEmpresa" width="100%"
|
||||||
format="dd/MM/yyyy" constraint="no empty"
|
mold="rounded" readonly="true">
|
||||||
maxlength="10" />
|
<bandpopup>
|
||||||
|
<vbox>
|
||||||
|
<hbox>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaConexaoRuta.lbEmpresa.value')}" />
|
||||||
|
<textbox id="txtNombreEmpresa"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
width="300px" mold="rounded" />
|
||||||
|
<button id="btnPesquisaEmpresa"
|
||||||
|
image="/gui/img/find.png"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.btnPesquisa.label')}" />
|
||||||
|
<button id="btnLimparEmpresa"
|
||||||
|
image="/gui/img/eraser.png"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.btnLimpar.label')}" />
|
||||||
|
</hbox>
|
||||||
|
<paging id="pagingEmpresa"
|
||||||
|
pageSize="10" />
|
||||||
|
<listbox id="empresaList" mold="paging"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
vflex="true" height="100%" width="700px">
|
||||||
|
<listhead>
|
||||||
|
<listheader width="10%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.lbIdEmpresa.value')}" />
|
||||||
|
<listheader width="90%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.lbEmpresa.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</vbox>
|
||||||
|
</bandpopup>
|
||||||
|
</bandbox>
|
||||||
|
</row>
|
||||||
|
<row spans="2">
|
||||||
|
<listbox id="empresaSelList" mold="paging"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
vflex="true" height="100px" width="100%">
|
||||||
|
<listhead>
|
||||||
|
<listheader width="10%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.lbIdEmpresa.value')}" />
|
||||||
|
<listheader width="90%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.lbEmpresa.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
<paging id="pagingEmpresaSel" pageSize="10" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('lb.dataFin.value')}" />
|
value="${c:l('relatorioFinanceiroReceitasDespesasController.lbAgencia.value')}" />
|
||||||
<datebox id="dataFinal" width="100%" mold="rounded"
|
<bandbox id="bbPesquisaPuntoVenta" width="100%"
|
||||||
format="dd/MM/yyyy" constraint="no empty"
|
mold="rounded" readonly="true">
|
||||||
maxlength="10" />
|
<bandpopup>
|
||||||
</row>
|
<vbox>
|
||||||
|
<hbox>
|
||||||
|
<label
|
||||||
|
value="${c:l('relatorioVendaConexaoRuta.lbAgencia.value')}" />
|
||||||
|
<textbox id="txtNomeAgencia"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
|
width="300px" mold="rounded" />
|
||||||
|
<button id="btnPesquisaAgencia"
|
||||||
|
image="/gui/img/find.png"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.btnPesquisa.label')}" />
|
||||||
|
<button id="btnLimparAgencia"
|
||||||
|
image="/gui/img/eraser.png"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.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 width="15%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.puntoVentaSelectedList.codigo')}" />
|
||||||
|
<listheader width="85%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.puntoVentaSelectedList.nome')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</vbox>
|
||||||
|
</bandpopup>
|
||||||
|
</bandbox>
|
||||||
|
</row>
|
||||||
|
<row spans="2">
|
||||||
|
<listbox id="puntoVentaSelectedList" mold="paging"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
|
vflex="true" height="100px" width="100%">
|
||||||
|
<listhead>
|
||||||
|
<listheader width="15%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.puntoVentaSelectedList.codigo')}" />
|
||||||
|
<listheader width="85%"
|
||||||
|
label="${c:l('relatorioVendaConexaoRuta.puntoVentaSelectedList.nome')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
<paging id="pagingPuntoVentaSel" pageSize="10" />
|
||||||
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnExecutarRelatorio" image="/gui/img/enginer.png"
|
<button id="btnExecutarRelatorio"
|
||||||
|
image="/gui/img/enginer.png"
|
||||||
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
||||||
</toolbar>
|
</toolbar>
|
||||||
</window>
|
</window>
|
||||||
|
|
Loading…
Reference in New Issue