fixes bug#AL-4653

master
Gleison da Cruz 2024-09-18 11:48:12 -03:00
parent efc1db2e07
commit 323ebcdb63
13 changed files with 17088 additions and 18282 deletions

View File

@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.142.1</version>
<version>1.143.0</version>
<packaging>war</packaging>
<properties>
<modelWeb.version>1.108.1</modelWeb.version>
<flyway.version>1.93.1</flyway.version>
<flyway.version>1.94.0</flyway.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

View File

@ -0,0 +1,213 @@
/**
*
*/
package com.rjconsultores.ventaboletos.relatorios.impl;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.IndStatusBoleto;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
/**
* @author Thiago
*
*/
public class RelatorioBilhetesCancelados extends Relatorio {
private static final String DATA_VENDA = "DATA_VENDA";
private static final String DATA_FINAL = "DATA_FINAL";
private static final String DATA_INICIAL = "DATA_INICIAL";
private static final String TIPO_DATA = "TIPO_DATA";
public RelatorioBilhetesCancelados(Map<String, Object> parametros, Connection conexao) throws Exception {
super(parametros, conexao);
this.setCustomDataSource(new ArrayDataSource(this) {
@Override
public void initDados() throws Exception {
Connection conexao = this.relatorio.getConexao();
Map<String, Object> parametros = this.relatorio.getParametros();
StringBuilder sql = new StringBuilder();
sql.append(" select ");
sql.append(" u.CVEUSUARIO CVEBILHETEIRO, ");
sql.append(" uc.CVEUSUARIO CVEBILHETEIRO_CANCELADO, ");
sql.append(" B.indstatusboleto IMPRESSAO_POSTERIOR, ");
sql.append(" B.NUMFOLIOSISTEMA NUMERO_PASSAGEM, ");
sql.append(" B.NUMSERIEPREIMPRESA SERIE, ");
sql.append(" B.NUMSERIEPREIMPRESA SUB_SERIE, ");
sql.append(" B.NUMFOLIOPREIMPRESO PRE_IMPRESSO, ");
sql.append(" p_origen.PARADA_ID COD_ORIGEM, ");
sql.append(" p_origen.DESCPARADA ORIGEM, ");
sql.append(" p_destino.PARADA_ID COD_DESTINO, ");
sql.append(" p_destino.DESCPARADA DESTINO, ");
sql.append(" pv.NUMPUNTOVENTA COD_AGENCIA, ");
sql.append(" pv.NOMBPUNTOVENTA NOME_AGENCIA, ");
sql.append(" CASE WHEN B.indstatusboleto = 'E' THEN utilizado.fechorventa_h ELSE B.fechorventa_h END DATA_VENDA, ");
sql.append(" CASE WHEN b.fechorventa is null THEN utilizado.fechorventa ELSE b.fechorventa_h END DATA_EMISSAO, ");
sql.append(" B.fechorviaje DATA_VIAGEM, ");
sql.append(" B.CORRIDA_ID SERVICO, ");
sql.append(" to_char(B.fechorviaje, 'hh24:mi:ss') HORA, ");
sql.append(" B.NUMASIENTO NUMASIENTO, ");
sql.append(" ct.DESCCATEGORIA CATEGORIA, ");
sql.append(" R.INDSENTIDOIDA SENTIDO, ");
sql.append(" R.NUMRUTA COD_LINHA, ");
sql.append(" R.DESCRUTA DESC_LINHA, ");
sql.append(" 'C' as STATUS_PASSAGEM, ");
sql.append(" B.PRECIOPAGADO TARIFA, ");
sql.append(" B.IMPORTETAXAEMBARQUE TX_EMBARQUE, ");
sql.append(" B.IMPORTEPEDAGIO PEDAGIO, ");
sql.append(" B.IMPORTESEGURO SEGURO, ");
sql.append(" u.NOMBUSUARIO BILHETEIRO, ");
sql.append(" uc.NOMBUSUARIO BILHETEIRO_CANCELAMENTO, ");
sql.append(" B.NOMBPASAJERO AS PASSAGEIRO, ");
sql.append(" B.DESCNUMDOC AS DOC, ");
sql.append(" COALESCE(b.NUMOPERACION, bo.NUMOPERACION) AS LOCALIZADOR ");
sql.append(" FROM caja B ");
sql.append(" LEFT JOIN boleto bo ON (bo.boleto_id = b.transacaooriginal_id AND b.indstatusboleto = 'C') ");
sql.append(" JOIN RUTA R ON R.RUTA_ID = B.RUTA_ID ");
sql.append(" JOIN PUNTO_VENTA pv on B.PUNTOVENTA_ID = pv.PUNTOVENTA_ID ");
sql.append(" JOIN USUARIO u on u.USUARIO_ID = B.USUARIO_ID ");
sql.append(" LEFT JOIN USUARIO uc ON uc.USUARIO_ID = bo.USUARIO_ID ");
sql.append(" JOIN PARADA p_origen on p_origen.PARADA_ID = B.ORIGEN_ID ");
sql.append(" JOIN PARADA p_destino on p_destino.PARADA_ID = B.DESTINO_ID ");
sql.append(" JOIN CATEGORIA ct on ct.CATEGORIA_ID = B.CATEGORIA_ID ");
sql.append(" JOIN CLASE_SERVICIO cs on cs.CLASESERVICIO_ID = B.CLASESERVICIO_ID ");
sql.append(" JOIN MARCA m on m.marca_id = b.marca_id ");
sql.append(" left join ciudad co ON co.ciudad_id = p_origen.ciudad_id ");
sql.append(" left join estado est ON est.estado_id = co.estado_id ");
sql.append(" LEFT JOIN boleto utilizado ON (utilizado.boleto_id = b.transacaooriginal_id AND b.INDSTATUSBOLETO = 'E') ");
sql.append(" WHERE ");
sql.append(" (b.indreimpresion = 0 OR b.INDSTATUSBOLETO = 'E') ");
sql.append(" and m.EMPRESA_ID = :EMPRESA_ID ");
if (parametros.get(DATA_INICIAL) != null && parametros.get(DATA_FINAL) != null) {
if (parametros.get(TIPO_DATA) != null) {
if ((parametros.get(TIPO_DATA).toString().equals(DATA_VENDA))) {
sql.append(" and b.FECHORVENTA_H >= :DATA_INICIAL ");
sql.append(" and b.FECHORVENTA_H <= :DATA_FINAL ");
}
if ((parametros.get(TIPO_DATA).toString().equals("DATA_EMISSAO"))) {
sql.append(" and utilizado.FECHORVENTA >= :DATA_INICIAL ");
sql.append(" and utilizado.FECHORVENTA <= :DATA_FINAL ");
}
if ((parametros.get(TIPO_DATA).toString().equals("DATA_VIAGEM"))) {
sql.append(" and b.FECCORRIDA >= :DATA_INICIAL ");
sql.append(" and b.FECCORRIDA <= :DATA_FINAL ");
}
}
}
if (parametros.get("NUMPUNTOVENTA") != null && !parametros.get("NUMPUNTOVENTA").equals("-1")) {
sql.append(" and pv.PUNTOVENTA_ID IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
}
if (parametros.get("MOEDA_ID") != null) {
sql.append(" and NVL(B.MONEDA_ID, 1) = "+parametros.get("MOEDA_ID") );
}
if (parametros.get("ESTADO_ID") != null && !parametros.get("ESTADO_ID").equals("-1")) {
sql.append(" and est.estado_id = " + parametros.get("ESTADO_ID").toString() + "");
}
sql.append(" AND b.motivocancelacion_id in (" + parametros.get("MOTIVOSCANCELACION").toString() + ")");
sql.append(" and B.ACTIVO = 1 ");
sql.append(" order by ");
sql.append(" DATA_EMISSAO, ");
sql.append(" BILHETEIRO, ");
sql.append(" COD_AGENCIA, ");
sql.append(" NOME_AGENCIA, ");
sql.append(" NUMERO_PASSAGEM, ");
sql.append(" ORIGEM, ");
sql.append(" DESTINO, ");
sql.append(" CATEGORIA, ");
sql.append(" IMPRESSAO_POSTERIOR, ");
sql.append(" SERVICO ");
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());
stmt.setInt("EMPRESA_ID", Integer.valueOf(parametros.get("EMPRESA_ID").toString()));
if (parametros.get(DATA_INICIAL) != null && parametros.get(DATA_FINAL) != null){
stmt.setTimestamp(DATA_INICIAL, new Timestamp(DateUtil.inicioFecha((Date) parametros.get(DATA_INICIAL)).getTime()));
stmt.setTimestamp(DATA_FINAL, new Timestamp(DateUtil.fimFecha((Date) parametros.get(DATA_FINAL)).getTime()));
}
ResultSet rset = stmt.executeQuery();
while (rset.next()) {
Map<String, Object> dataResult = new HashMap<String, Object>();
dataResult.put("NUMERO_PASSAGEM", rset.getString("NUMERO_PASSAGEM"));
if (rset.getString("SERIE") != null) {
if (rset.getString("SERIE").split("-").length == 1) {
dataResult.put("SERIE", rset.getString("SERIE"));
} else {
dataResult.put("SERIE", rset.getString("SERIE").split("-")[0]);
dataResult.put("SUB_SERIE", rset.getString("SERIE").split("-")[1]);
}
}
dataResult.put("CVEBILHETEIRO", rset.getString("CVEBILHETEIRO"));
dataResult.put("CVEBILHETEIRO_CANCELADO", rset.getString("CVEBILHETEIRO_CANCELADO"));
dataResult.put("IMPRESSAO_POSTERIOR", rset.getString("IMPRESSAO_POSTERIOR"));
dataResult.put("PRE_IMPRESSO", rset.getString("PRE_IMPRESSO"));
dataResult.put("COD_ORIGEM", rset.getString("COD_ORIGEM"));
dataResult.put("ORIGEM", rset.getString("ORIGEM"));
dataResult.put("COD_DESTINO", rset.getString("COD_DESTINO"));
dataResult.put("DESTINO", rset.getString("DESTINO"));
dataResult.put("NOME_AGENCIA", rset.getString("NOME_AGENCIA"));
dataResult.put("COD_AGENCIA", rset.getString("COD_AGENCIA"));
dataResult.put(DATA_VENDA, rset.getDate(DATA_VENDA));
dataResult.put("DATA_EMISSAO", rset.getDate("DATA_EMISSAO"));
dataResult.put("DATA_VIAGEM", rset.getDate("DATA_VIAGEM"));
dataResult.put("SERVICO", rset.getString("SERVICO"));
dataResult.put("HORA", rset.getString("HORA"));
dataResult.put("NUMASIENTO", rset.getString("NUMASIENTO"));
dataResult.put("CATEGORIA", rset.getString("CATEGORIA"));
dataResult.put("SENTIDO", rset.getInt("SENTIDO"));
dataResult.put("COD_LINHA", rset.getString("COD_LINHA"));
dataResult.put("DESC_LINHA", rset.getString("DESC_LINHA"));
if (rset.getString("STATUS_PASSAGEM") != null) {
dataResult.put("STATUS_PASSAGEM", IndStatusBoleto.valueOf(rset.getString("STATUS_PASSAGEM")).getValue());
}
dataResult.put("TARIFA", rset.getString("TARIFA"));
dataResult.put("TX_EMBARQUE", rset.getString("TX_EMBARQUE"));
dataResult.put("PEDAGIO", rset.getString("PEDAGIO"));
dataResult.put("SEGURO", rset.getString("SEGURO"));
dataResult.put("BILHETEIRO", rset.getString("BILHETEIRO"));
dataResult.put("BILHETEIRO_CANCELAMENTO", rset.getString("BILHETEIRO_CANCELAMENTO"));
dataResult.put("PASSAGEIRO", rset.getString("PASSAGEIRO"));
dataResult.put("DOC", rset.getString("DOC"));
dataResult.put("LOCALIZADOR", rset.getString("LOCALIZADOR"));
this.dados.add(dataResult);
}
this.resultSet = rset;
}
});
}
/*
* (non-Javadoc)
*
* @see com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio#processaParametros()
*/
@Override
protected void processaParametros() throws Exception {
}
}

View File

@ -0,0 +1,13 @@
#geral
msg.noData=Não foi possivel obter dados com os parâmetros informados.
#Labels cabeçalho
cabecalho.relatorio=Relatório:
cabecalho.periodo=Período:
cabecalho.periodoA=à
cabecalho.dataHora=Data/Hora:
cabecalho.impressorPor=Impressor por:
cabecalho.pagina=Página
cabecalho.de=de
cabecalho.filtros=Filtros:

View File

@ -0,0 +1,704 @@
<?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="RelatorioBilhetesCancelados" pageWidth="1266" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1226" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
<property name="ireport.zoom" value="4.279675059165056"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="198"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<style name="table">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<parameter name="DATA_INICIAL" class="java.util.Date"/>
<parameter name="DATA_FINAL" class="java.util.Date"/>
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/>
<parameter name="USUARIO" class="java.lang.String"/>
<parameter name="NUMPUNTOVENTA" class="java.lang.String"/>
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
<parameter name="EMPRESA" class="java.lang.String"/>
<field name="NUMERO_PASSAGEM" class="java.lang.String"/>
<field name="SERIE" class="java.lang.String"/>
<field name="SUB_SERIE" class="java.lang.String"/>
<field name="PRE_IMPRESSO" class="java.lang.String"/>
<field name="ORIGEM" class="java.lang.String"/>
<field name="DESTINO" class="java.lang.String"/>
<field name="NOME_AGENCIA" class="java.lang.String"/>
<field name="DATA_VENDA" class="java.util.Date"/>
<field name="DATA_VIAGEM" class="java.util.Date"/>
<field name="SERVICO" class="java.lang.String"/>
<field name="HORA" class="java.lang.String"/>
<field name="DESC_LINHA" class="java.lang.String"/>
<field name="STATUS_PASSAGEM" class="java.lang.String"/>
<field name="TARIFA" class="java.lang.String"/>
<field name="TX_EMBARQUE" class="java.lang.String"/>
<field name="PEDAGIO" class="java.lang.String"/>
<field name="SEGURO" class="java.lang.String"/>
<field name="NUMASIENTO" class="java.lang.String"/>
<field name="CATEGORIA" class="java.lang.String"/>
<field name="SENTIDO" class="java.lang.Integer"/>
<field name="COD_ORIGEM" class="java.lang.String"/>
<field name="COD_DESTINO" class="java.lang.String"/>
<field name="COD_AGENCIA" class="java.lang.String"/>
<field name="COD_LINHA" class="java.lang.String"/>
<field name="IMPRESSAO_POSTERIOR" class="java.lang.String"/>
<field name="DATA_EMISSAO" class="java.util.Date"/>
<field name="BILHETEIRO" class="java.lang.String"/>
<field name="CVEBILHETEIRO_CANCELADO" class="java.lang.String"/>
<field name="CVEBILHETEIRO" class="java.lang.String"/>
<field name="PASSAGEIRO" class="java.lang.String"/>
<field name="DOC" class="java.lang.String"/>
<field name="LOCALIZADOR" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="57" splitType="Stretch">
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="42796e20-405c-441f-9fd9-b26238bc7cdb" mode="Transparent" x="52" y="15" width="56" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="d2973779-79dc-4cc8-937a-e9167c42bab0" mode="Transparent" x="0" y="0" width="1043" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="8730e85b-d436-42cd-beb6-1a881bad2478" mode="Transparent" x="121" y="15" width="80" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="26bbd310-5e59-4975-a47f-b0048e80b1b6" mode="Transparent" x="0" y="15" width="52" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="9630a784-5f92-4abe-805c-fd175e4f8241" mode="Transparent" x="0" y="43" width="28" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="91cded42-c53d-469a-abc7-6eb0d59f69af" mode="Transparent" x="1145" y="0" width="81" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="62f6ba6e-1aaf-4449-aef6-2e9d6e541856" mode="Transparent" x="1043" y="31" width="183" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="985f839c-258a-47eb-b72b-bec819b7bdbb" mode="Transparent" x="1198" y="15" width="28" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="ba831a24-59f4-4f8f-888f-fd69711018e9" mode="Transparent" x="1043" y="15" width="155" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="5cbb57ef-bd5e-4d1b-a077-d0ff398df801" x="1043" y="0" width="102" height="15"/>
<textElement textAlignment="Right">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="6d6ab075-006c-4796-98d5-f047ae963876" mode="Transparent" x="108" y="15" width="13" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="c486add3-94d7-419f-9f37-04f6a6da879e" x="28" y="43" width="1198" height="14"/>
<textElement verticalAlignment="Middle">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="10" splitType="Stretch">
<staticText>
<reportElement uuid="9fc7e58e-8625-41c4-a8ee-6454f6382d46" stretchType="RelativeToTallestObject" x="45" y="0" width="34" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Sub-Serie]]></text>
</staticText>
<staticText>
<reportElement uuid="3766fa33-6281-4576-a9d1-3b984e1976d3" stretchType="RelativeToTallestObject" x="0" y="0" width="28" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Bilhete]]></text>
</staticText>
<staticText>
<reportElement uuid="7e1f6b82-8a1f-4719-b942-41f0d7027aa8" stretchType="RelativeToTallestObject" x="79" y="0" width="32" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Pré-Impr.]]></text>
</staticText>
<staticText>
<reportElement uuid="6adaca80-9b5a-4a03-a80b-5eeed4894d7f" stretchType="RelativeToTallestObject" mode="Transparent" x="276" y="0" width="70" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Origem]]></text>
</staticText>
<staticText>
<reportElement uuid="95367884-2b52-4bbd-b716-852ff13290e9" stretchType="RelativeToTallestObject" mode="Transparent" x="665" y="0" width="32" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Serviço]]></text>
</staticText>
<staticText>
<reportElement uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c" stretchType="RelativeToTallestObject" mode="Transparent" x="416" y="0" width="100" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Agência]]></text>
</staticText>
<staticText>
<reportElement uuid="170230ea-2a12-4444-9f13-c706d557ae8d" stretchType="RelativeToTallestObject" mode="Transparent" x="630" y="0" width="35" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Hr. Viag.]]></text>
</staticText>
<staticText>
<reportElement uuid="8a5e97db-9b05-4fa5-9663-7795869b6b90" stretchType="RelativeToTallestObject" x="28" y="0" width="17" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Série]]></text>
</staticText>
<staticText>
<reportElement uuid="c0542d93-dde4-448d-932c-453d6a4a6882" stretchType="RelativeToTallestObject" mode="Transparent" x="346" y="0" width="70" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Destino]]></text>
</staticText>
<staticText>
<reportElement uuid="9c65b631-065c-49af-ab2c-3bcea583eaea" stretchType="RelativeToTallestObject" mode="Transparent" x="592" y="0" width="38" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Dt. Viagem]]></text>
</staticText>
<staticText>
<reportElement uuid="a7f96097-c8fd-4ba0-bea7-7b40a0fc81f7" stretchType="RelativeToTallestObject" mode="Transparent" x="516" y="0" width="38" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Dt. Venda]]></text>
</staticText>
<staticText>
<reportElement uuid="0452264c-0f27-46d6-84ad-0fba6e5abdfa" stretchType="RelativeToTallestObject" mode="Transparent" x="697" y="0" width="19" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Polt]]></text>
</staticText>
<staticText>
<reportElement uuid="f596b16a-f9d9-42f5-b86f-3f468b0deb8f" stretchType="RelativeToTallestObject" mode="Transparent" x="716" y="0" width="27" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Categoria]]></text>
</staticText>
<staticText>
<reportElement uuid="73e29f93-98a9-4411-8f89-220426f2cb6d" stretchType="RelativeToTallestObject" mode="Transparent" x="743" y="0" width="36" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Sentido]]></text>
</staticText>
<staticText>
<reportElement uuid="f00ced65-e4ea-4332-87d4-0674493f0f87" stretchType="RelativeToTallestObject" mode="Transparent" x="877" y="0" width="30" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Status]]></text>
</staticText>
<staticText>
<reportElement uuid="235c8f23-9c13-48cd-ab7a-e74363424caf" stretchType="RelativeToTallestObject" x="805" y="0" width="72" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement>
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Desc Linha]]></text>
</staticText>
<staticText>
<reportElement uuid="5de9c4ee-7a93-4086-9106-c7d2ad35497e" stretchType="RelativeToTallestObject" mode="Transparent" x="907" y="0" width="20" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Tarifa]]></text>
</staticText>
<staticText>
<reportElement uuid="ed37427e-5811-4fd0-b5ea-627d9a56448d" stretchType="RelativeToTallestObject" mode="Transparent" x="927" y="0" width="20" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Taxa]]></text>
</staticText>
<staticText>
<reportElement uuid="8a929bec-8a30-4e9f-a2f2-32bd629776df" stretchType="RelativeToTallestObject" mode="Transparent" x="947" y="0" width="30" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Pedagio]]></text>
</staticText>
<staticText>
<reportElement uuid="6c2a21a8-3afa-4fc6-89b3-10f1887233c8" stretchType="RelativeToTallestObject" mode="Transparent" x="977" y="0" width="30" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Seguro]]></text>
</staticText>
<staticText>
<reportElement uuid="cbaa75b2-d156-4324-94b5-4f633008d9ce" stretchType="RelativeToTallestObject" x="779" y="0" width="26" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement>
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Linha]]></text>
</staticText>
<staticText>
<reportElement uuid="b81ac40e-df45-4de0-b4fe-7452a9b48a9c" stretchType="RelativeToTallestObject" mode="Transparent" x="1007" y="0" width="36" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Imp. Pos.]]></text>
</staticText>
<staticText>
<reportElement uuid="38792191-5417-4267-a784-9a634a276565" stretchType="RelativeToTallestObject" mode="Transparent" x="554" y="0" width="38" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Dt. Emiss.]]></text>
</staticText>
<staticText>
<reportElement uuid="7d77d66e-6033-4ea3-9066-a42b92e4982e" stretchType="RelativeToTallestObject" x="111" y="0" width="55" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Bilheteiro]]></text>
</staticText>
<staticText>
<reportElement uuid="672ee466-505c-4913-a6c7-0a18ca4c7bfb" stretchType="RelativeToTallestObject" x="221" y="0" width="55" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Bilheteiro Cancel]]></text>
</staticText>
<staticText>
<reportElement uuid="77757ee7-73f9-415c-be39-634c74e26e9a" stretchType="RelativeToTallestObject" x="166" y="0" width="55" height="10" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left">
<font size="6" isBold="true"/>
</textElement>
<text><![CDATA[Cod.Bilheteiro]]></text>
</staticText>
<staticText>
<reportElement uuid="9d4cfe17-48f5-44d6-82fb-19a09342107a" stretchType="RelativeToTallestObject" mode="Transparent" x="1043" y="0" width="96" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Passageiro]]></text>
</staticText>
<staticText>
<reportElement uuid="7974d1b8-bd78-4cc8-9411-ca70fa1d38d8" stretchType="RelativeToTallestObject" mode="Transparent" x="1139" y="0" width="40" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Documento]]></text>
</staticText>
<staticText>
<reportElement uuid="024b61d2-6fd5-4c94-85a6-55ff2d1bcb91" stretchType="RelativeToTallestObject" mode="Transparent" x="1179" y="0" width="47" height="10" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<bottomPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Localizador]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="12" splitType="Stretch">
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="bc091860-adab-47d8-8352-982bc8e484a3" stretchType="RelativeToTallestObject" x="0" y="0" width="28" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUMERO_PASSAGEM}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="e3a43e5d-2326-47c4-9d47-8c4d69d18d99" stretchType="RelativeToTallestObject" x="28" y="0" width="17" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{SERIE}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="82c36c16-1662-4af9-a285-c935ab350e79" stretchType="RelativeToTallestObject" x="45" y="0" width="34" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{SUB_SERIE}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="ef45dd24-19e8-4e92-9759-f8e7a5c990eb" stretchType="RelativeToTallestObject" x="79" y="0" width="32" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{PRE_IMPRESSO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39" stretchType="RelativeToTallestObject" x="276" y="0" width="70" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" stretchType="RelativeToTallestObject" x="346" y="0" width="70" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" stretchType="RelativeToTallestObject" x="416" y="0" width="100" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{COD_AGENCIA}+" - "+$F{NOME_AGENCIA}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="7be97f5f-b36b-4679-befb-e5f2b4532963" stretchType="RelativeToTallestObject" x="516" y="0" width="38" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{DATA_VENDA}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="7c1e2d86-f9ce-4730-866c-dc6cbdd0cf2c" stretchType="RelativeToTallestObject" x="592" y="0" width="38" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{DATA_VIAGEM}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="7c0246f5-739b-440c-a242-915117bd9fd1" stretchType="RelativeToTallestObject" x="665" y="0" width="32" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="dd401917-6047-4e1b-9722-31fe8d096594" stretchType="RelativeToTallestObject" x="630" y="0" width="35" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{HORA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="4dafd61b-ce2b-4690-b029-2a1382113099" stretchType="RelativeToTallestObject" x="697" y="0" width="19" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUMASIENTO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="8ad565b3-b12c-4fef-a1c7-836e7415436d" stretchType="RelativeToTallestObject" x="716" y="0" width="27" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{CATEGORIA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="b0200cfc-1b6b-4636-9f4b-5fe5d87c2687" stretchType="RelativeToTallestObject" x="743" y="0" width="36" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{SENTIDO} == 0 ? "Ida" : "Volta"]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd" stretchType="RelativeToTallestObject" x="877" y="0" width="30" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{STATUS_PASSAGEM}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" stretchType="RelativeToTallestObject" x="805" y="0" width="72" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="5"/>
</textElement>
<textFieldExpression><![CDATA[$F{DESC_LINHA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="5c87326c-e72c-47fb-95d0-0cb47c42d16f" stretchType="RelativeToTallestObject" x="907" y="0" width="20" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{TARIFA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="1ffff7a9-956e-489d-bdd4-61e0f8ce6a13" stretchType="RelativeToTallestObject" x="927" y="0" width="20" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{TX_EMBARQUE}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="4ee7ead3-26af-4d0d-b3aa-cf07e24b0594" stretchType="RelativeToTallestObject" x="947" y="0" width="30" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{PEDAGIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="07367eac-338d-4ba8-b718-fa416fa3f012" stretchType="RelativeToTallestObject" x="977" y="0" width="30" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Right">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{SEGURO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="6095d523-240a-4ba2-bd94-73ce9f851c9a" stretchType="RelativeToTallestObject" x="779" y="0" width="26" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{COD_LINHA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="e5abc4be-54af-4252-acc0-a6181c085023" stretchType="RelativeToTallestObject" x="1007" y="0" width="36" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Center">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{IMPRESSAO_POSTERIOR}.equals("E") ? "Sim" : "Não"]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="eff5dfcb-b060-42dd-b910-2fe23e58cb9e" stretchType="RelativeToTallestObject" x="554" y="0" width="38" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{DATA_EMISSAO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="119f5dce-b02a-4d33-b74a-03eda5cef5a9" stretchType="RelativeToTallestObject" x="111" y="0" width="55" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{BILHETEIRO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="a5b1e7fa-5c06-4a24-b7de-fca396b264e1" stretchType="RelativeToTallestObject" x="221" y="0" width="55" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{CVEBILHETEIRO_CANCELADO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="0f5856f2-2cdf-4178-9beb-33742b4fb83a" stretchType="RelativeToTallestObject" x="166" y="0" width="55" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{CVEBILHETEIRO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="69a097fd-d502-4fe9-a830-77b5e81c0192" stretchType="RelativeToTallestObject" x="1043" y="0" width="96" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{PASSAGEIRO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="bcb6534a-8109-4565-884b-c9cc806ad787" stretchType="RelativeToTallestObject" x="1139" y="0" width="40" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{DOC}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="6396e623-432c-452e-a316-14cc92bd37bf" stretchType="RelativeToTallestObject" x="1179" y="0" width="47" height="12" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left">
<font size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{LOCALIZADOR}]]></textFieldExpression>
</textField>
</band>
</detail>
<noData>
<band height="50">
<textField>
<reportElement uuid="995c4c61-6291-4e5f-8d92-b75502a10466" x="0" y="-1" width="1226" height="50"/>
<textElement textAlignment="Center" markup="none">
<font size="11" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField>
</band>
</noData>
</jasperReport>

View File

@ -0,0 +1,286 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.zkoss.util.resource.Labels;
import org.zkoss.zhtml.Messagebox;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zul.Bandbox;
import org.zkoss.zul.Checkbox;
import org.zkoss.zul.Combobox;
import org.zkoss.zul.Comboitem;
import org.zkoss.zul.Datebox;
import org.zkoss.zul.Paging;
import org.zkoss.zul.Radiogroup;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.Moneda;
import com.rjconsultores.ventaboletos.entidad.MotivoCancelacion;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioBilhetesCancelados;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.service.EstadoService;
import com.rjconsultores.ventaboletos.service.MotivoCancelacionService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
import com.rjconsultores.ventaboletos.web.utilerias.MyTextbox;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchObject;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderRelatorioVendasBilheteiro;
@Controller("relatorioBilhetesCanceladosController")
@Scope("prototype")
public class RelatorioBilhetesCanceladosController extends MyGenericForwardComposer {
private static final long serialVersionUID = 1L;
@Autowired
private DataSource dataSourceRead;
@Autowired
private EmpresaService empresaService;
private Datebox datInicial;
private Datebox datFinal;
private MyComboboxEstandar cmbEmpresa;
private MyComboboxEstandar cmbEstado;
private Combobox cmbMoeda;
private MyListbox motivosCancelacionList;
private List<Empresa> lsEmpresa;
private List<Estado> lsEstado;
private List<MotivoCancelacion> lsTiposCancelamento;
@Autowired
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
private MyTextbox txtNombrePuntoVenta;
private Bandbox bbPesquisaPuntoVenta;
private MyListbox puntoVentaList;
private MyListbox puntoVentaSelList;
private Paging pagingPuntoVenta;
private Checkbox chkEmitido;
private Radiogroup rgLayout;
@Autowired
private EstadoService estadoService;
@Autowired
private MotivoCancelacionService motivoCancelacionService;
@Override
public void doAfterCompose(Component comp) throws Exception {
lsEmpresa = empresaService.obtenerTodos();
lsEstado = estadoService.obtenerTodos();
super.doAfterCompose(comp);
Integer[] escolhidos = {10, 31, 32, 36, 37, 99};
lsTiposCancelamento = motivoCancelacionService.obtenerTodosEspecificos(escolhidos);
motivosCancelacionList.setData(lsTiposCancelamento);
puntoVentaList.setItemRenderer(new RenderRelatorioVendasBilheteiro());
}
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}
public void setLsEmpresa(List<Empresa> lsEmpresa) {
this.lsEmpresa = lsEmpresa;
}
public List<Estado> getLsEstado() {
return lsEstado;
}
public void setLsEstado(List<Estado> lsEstado) {
this.lsEstado = lsEstado;
}
public List<MotivoCancelacion> getLsTiposCancelamento() {
return lsTiposCancelamento;
}
public void setLsTiposCancelamento(List<MotivoCancelacion> lsTiposCancelamento) {
this.lsTiposCancelamento = lsTiposCancelamento;
}
private void executarPesquisaAgencia() {
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda = new HibernateSearchObject<>(PuntoVenta.class, pagingPuntoVenta.getPageSize());
puntoVentaBusqueda.addFilterILike("nombpuntoventa", "%" + txtNombrePuntoVenta.getValue() + "%");
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
puntoVentaBusqueda.addSortAsc("nombpuntoventa");
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
plwPuntoVenta.init(puntoVentaBusqueda, puntoVentaList, pagingPuntoVenta);
if (puntoVentaList.getData().length == 0) {
try {
Messagebox.show(Labels.getLabel("MSG.ningunRegistro"),
Labels.getLabel("relatorioVendasBilheteiroController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
} catch (InterruptedException ex) {
ex.printStackTrace();
}
}
}
public void onClick$btnPesquisa(Event ev) {
executarPesquisaAgencia();
}
public void onDoubleClick$puntoVentaSelList(Event ev) {
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaSelList.getSelected();
puntoVentaSelList.removeItem(puntoVenta);
}
public void onDoubleClick$puntoVentaList(Event ev) {
PuntoVenta puntoVenta = (PuntoVenta) puntoVentaList.getSelected();
puntoVentaSelList.addItemNovo(puntoVenta);
}
public void onClick$btnLimpar(Event ev) {
puntoVentaList.setData(new ArrayList<PuntoVenta>());
bbPesquisaPuntoVenta.setText("");
}
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
executarRelatorio(false);
}
public void onClick$btnExecutarRelatorioNovoLayout(Event ev) throws Exception {
executarRelatorio(true);
}
/**
* @throws Exception
*
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
private void executarRelatorio(boolean novoLayout) throws Exception {
if (motivosCancelacionList.getSelectedCount() <= 0){
Messagebox.show(Labels.getLabel("relatorioBilhetesCanceladosController.MSG.suscribirErro"),
Labels.getLabel("relatorioBilhetesCanceladosController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
return;
}
Relatorio relatorio;
Map<String, Object> parametros = new HashMap<String, Object>();
StringBuilder filtro = new StringBuilder();
filtro.append("Agência: ");
String puntoVentaIds = "";
String puntoVentas = "";
List<PuntoVenta> lsPuntoVentaSelecionados = new ArrayList(Arrays.asList(puntoVentaSelList.getData()));
if (lsPuntoVentaSelecionados.isEmpty()) {
puntoVentas = "Todas";
} else {
for (int i = 0; i < lsPuntoVentaSelecionados.size(); i++) {
PuntoVenta puntoVenta = lsPuntoVentaSelecionados.get(i);
puntoVentas = puntoVentas + puntoVenta.getNombpuntoventa() + ",";
puntoVentaIds = puntoVentaIds + puntoVenta.getPuntoventaId() + ",";
}
// removendo ultima virgula
puntoVentaIds = puntoVentaIds.substring(0, puntoVentaIds.length() - 1);
puntoVentas = puntoVentas.substring(0, puntoVentas.length() - 1);
parametros.put("NUMPUNTOVENTA", puntoVentaIds);
}
filtro.append(puntoVentas).append(";");
filtro.append(" Moeda: ");
Comboitem itemMoeda = cmbMoeda.getSelectedItem();
if (itemMoeda != null ) {
Moneda moeda = (Moneda) itemMoeda.getValue();
parametros.put("MOEDA_ID", moeda.getMonedaId());
parametros.put("MOEDA_SIMBOLO", moeda.getSimbolo());
filtro.append(moeda.getDescmoneda() + ";");
}
parametros.put("DATA_INICIAL", (java.util.Date) this.datInicial.getValue());
parametros.put("DATA_FINAL", (java.util.Date) this.datFinal.getValue());
parametros.put("NOME_RELATORIO", Labels.getLabel("relatorioBilhetesCanceladosController.window.title"));
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getNombusuario());
filtro.append(" Empresa: ");
Comboitem itemEmpresa = cmbEmpresa.getSelectedItem();
if (itemEmpresa != null) {
Empresa empresa = (Empresa) itemEmpresa.getValue();
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
parametros.put("EMPRESA", empresa.getNombempresa());
filtro.append(empresa.getNombempresa() + ";");
} else {
filtro.append(" Todas;");
}
parametros.put("TIPO_DATA", rgLayout.getSelectedItem().getValue());
Comboitem itemEstado = cmbEstado.getSelectedItem();
if (itemEstado != null) {
Estado estado = (Estado) itemEstado.getValue();
parametros.put("ESTADO_ID", estado.getEstadoId());
parametros.put("ESTADO", estado.getNombestado());
} else {
parametros.put("ESTADO", "TODOS");
}
String motivosCancelamentosIds = "";
List<MotivoCancelacion> lsMtvoCancelacionsSelecionados = (List<MotivoCancelacion>) (Object) motivosCancelacionList.getSelectedsItens();
if (!lsMtvoCancelacionsSelecionados.isEmpty()) {
for (int i = 0; i < lsMtvoCancelacionsSelecionados.size(); i++) {
MotivoCancelacion motivoCancelacion = lsMtvoCancelacionsSelecionados.get(i);
motivosCancelamentosIds = motivosCancelamentosIds + motivoCancelacion.getMotivocancelacionId() + ",";
}
// removendo ultima virgula
motivosCancelamentosIds = motivosCancelamentosIds.substring(0, motivosCancelamentosIds.length() - 1);
parametros.put("MOTIVOSCANCELACION", motivosCancelamentosIds);
}
relatorio = new RelatorioBilhetesCancelados(parametros, dataSourceRead.getConnection());
parametros.put("FILTROS", filtro.toString());
Map args = new HashMap();
args.put("relatorio", relatorio);
openWindow("/component/reportView.zul", Labels.getLabel("relatorioBilhetesCanceladosController.window.title"), args, MODAL);
}
public Combobox getCmbMoeda() {
return cmbMoeda;
}
public void setCmbMoeda(Combobox cmbMoeda) {
this.cmbMoeda = cmbMoeda;
}
public Checkbox getChkEmitido() {
return chkEmitido;
}
public void setChkEmitido(Checkbox chkEmitido) {
this.chkEmitido = chkEmitido;
}
}

View File

@ -0,0 +1,25 @@
package com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios;
import org.zkoss.util.resource.Labels;
import com.rjconsultores.ventaboletos.web.utilerias.PantallaUtileria;
import com.rjconsultores.ventaboletos.web.utilerias.menu.DefaultItemMenuSistema;
public class ItemMenuRelatorioBilhetesCancelados extends DefaultItemMenuSistema {
public ItemMenuRelatorioBilhetesCancelados() {
super("indexController.mniRelatorioBilhetesCancelados.label");
}
@Override
public String getClaveMenu() {
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOBILHETESCANCELADOS";
}
@Override
public void ejecutar() {
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioBilhetesCancelados.zul",
Labels.getLabel("relatorioBilhetesCanceladosController.window.title"), getArgs() ,desktop);
}
}

View File

@ -232,6 +232,7 @@ analitico.gerenciais.financeiro=com.rjconsultores.ventaboletos.web.utilerias.men
analitico.gerenciais.financeiro.aproveitamentoFinanceiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAproveitamentoFinanceiro
analitico.gerenciais.financeiro.devolucaoBilhetes=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioDevolucaoBilhetes
analitico.gerenciais.financeiro.bilhetesVendidos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioBilhetesVendidos
analitico.gerenciais.financeiro.bilhetesCancelados=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioBilhetesCancelados
analitico.gerenciais.financeiro.relatorioOperacionalFinanceiro=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioCaixaOrgaoConcedente
analitico.gerenciais.financeiro.receitaDiariaAgencia=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioReceitaDiariaAgencia
analitico.gerenciais.financeiro.RelatorioComissao=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioComissao

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8"?>
<?page contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioBilhetesCancelados"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winFiltroRelatorioBilhetesCancelados"
apply="${relatorioBilhetesCanceladosController}"
contentStyle="overflow:auto" height="530px" width="550px"
border="normal">
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="30%" />
<column width="20%" />
<column width="30%" />
</columns>
<rows>
<row>
<label
value="${c:l('relatorioBilhetesCanceladosController.lbDatInicial.value')}" />
<datebox id="datInicial" width="90%"
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
<label
value="${c:l('relatorioBilhetesCanceladosController.lbDatFinal.value')}" />
<datebox id="datFinal" width="90%"
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
</row>
</rows>
</grid>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row spans="1,1,2">
<label
value="${c:l('relatorioBilhetesCanceladosController.lbEmpresa.value')}" />
<combobox id="cmbEmpresa" buttonVisible="true"
constraint="no empty"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winFiltroRelatorioBilhetesCancelados$composer.lsEmpresa}"
width="95%" />
</row>
<row spans="1,3">
<label value="Agencia" />
<bandbox id="bbPesquisaPuntoVenta" width="100%"
mold="rounded" readonly="true">
<bandpopup>
<vbox>
<hbox>
<label
value="${c:l('relatorioBilhetesCanceladosController.lbPuntoVenta.value')}" />
<textbox id="txtNombrePuntoVenta"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
width="300px" mold="rounded" />
<button id="btnPesquisa"
image="/gui/img/find.png"
label="${c:l('relatorioLinhaOperacionalController.btnPesquisa.label')}" />
<button id="btnLimpar"
image="/gui/img/eraser.png"
label="${c:l('relatorioLinhaOperacionalController.btnLimpar.label')}" />
</hbox>
<paging id="pagingPuntoVenta"
pageSize="10" />
<listbox id="puntoVentaList"
mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" height="100%" width="700px">
<listhead>
<listheader
label="${c:l('relatorioBilhetesCanceladosController.lbPuntoVenta.value')}" />
<listheader width="35%"
label="${c:l('relatorioBilhetesCanceladosController.lbEmpresa.value')}" />
<listheader width="20%"
label="${c:l('relatorioBilhetesCanceladosController.lbNumero.value')}" />
</listhead>
</listbox>
</vbox>
</bandpopup>
</bandbox>
</row>
<row spans="4">
<listbox id="puntoVentaSelList" mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" height="100px" width="100%">
<listhead>
<listheader
label="${c:l('relatorioBilhetesCanceladosController.lbPuntoVenta.value')}" />
<listheader width="35%"
label="${c:l('relatorioBilhetesCanceladosController.lbEmpresa.value')}" />
<listheader width="20%"
label="${c:l('relatorioBilhetesCanceladosController.lbNumero.value')}" />
<listheader width="5%" />
</listhead>
</listbox>
</row>
<row spans="4">
<listbox id="motivosCancelacionList" checkmark="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="true" mold="paging" pageSize="14">
<listhead sizable="true">
<listheader image="/gui/img/edit.png" width="100%"
label="${c:l('relatorioBilhetesCanceladosController.MSG.suscribirErro')}" />
</listhead>
</listbox>
</row>
<row spans="4">
<paging id="pagingSelPuntoVenta" pageSize="10" />
</row>
</rows>
</grid>
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="30%" />
<column width="30%" />
</columns>
<rows>
<row spans="3">
<radiogroup Id="rgLayout" >
<radio value="DATA_VENDA" label="${c:l('relatorioBilhetesCanceladosController.dataVenda.label')}" checked = "true"/>
<radio value="DATA_EMISSAO" label="${c:l('relatorioBilhetesCanceladosController.dataEmissao.label')}" />
<radio value="DATA_VIAGEM" label="${c:l('relatorioBilhetesCanceladosController.dataViagem.label')}" />
</radiogroup>
</row>
</rows>
</grid>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="30%" />
<column width="20%" />
<column width="30%" />
</columns>
<rows>
<row >
<label
value="${c:l('relatorioBilhetesCanceladosController.lbEstado.value')}" />
<combobox id="cmbEstado"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true"
style="width: 150px;"
model="@{winFiltroRelatorioBilhetesCancelados$composer.lsEstado}" />
<label value="${c:l('myComboboxMoeda.label.moeda')}" />
<combobox id="cmbMoeda" width="90%" buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxMoeda" />
</row>
</rows>
</grid>
<toolbar>
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
</toolbar>
</window>
</zk>