walace 2017-08-29 19:01:13 +00:00
parent 4189f6a2ec
commit 7f0a0aa678
11 changed files with 1417 additions and 0 deletions

View File

@ -0,0 +1,183 @@
package com.rjconsultores.ventaboletos.relatorios.impl;
import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.ArrayDataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioRemarcacaoPassagensTransferenciaBean;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
public class RelatorioRemarcacaoPassagensTransferencia extends Relatorio {
private List<RelatorioRemarcacaoPassagensTransferenciaBean> lsDadosRelatorio;
public RelatorioRemarcacaoPassagensTransferencia(Map<String, Object> parametros, Connection conexao) throws Exception {
super(parametros, conexao);
this.setCustomDataSource(new ArrayDataSource(this) {
public void initDados() throws Exception {
Connection conexao = this.relatorio.getConexao();
Map<String, Object> parametros = this.relatorio.getParametros();
String sql = getSql((Integer) parametros.get("EMPRESA_ID"), (String) parametros.get("PUNTOVENTA_ID"));
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
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();
lsDadosRelatorio = new ArrayList<RelatorioRemarcacaoPassagensTransferenciaBean>();
while (rset.next()) {
RelatorioRemarcacaoPassagensTransferenciaBean bean = new RelatorioRemarcacaoPassagensTransferenciaBean();
bean.setAssentoVenda((String) rset.getObject("ASSENTO_VENDA"));
bean.setAssentoRemarcado((String) rset.getObject("ASSENTO_REMARCADO"));
bean.setDataViagem((Date) rset.getObject("DATA_VIAGEM"));
bean.setDataViagemRemarcado((Date) rset.getObject("DATA_VIAGEM_REMARCADO"));
bean.setBilheteVenda((String) rset.getObject("BILHETE_VENDA"));
bean.setBilheteRemarcado((String) rset.getObject("BILHETE_REMARCADO"));
bean.setMulta((BigDecimal) new BigDecimal(rset.getObject("MULTA") == null ? "0" : rset.getObject("MULTA").toString()));
bean.setCodOrigemVenda((String) rset.getObject("COD_ORIGEM_VENDA"));
bean.setDescOrigemVenda((String) rset.getObject("DESC_ORIGEM_VENDA"));
bean.setCodDestinoVenda((String) rset.getObject("COD_DESTINO_VENDA"));
bean.setDescDestinoVenda((String) rset.getObject("DESC_DESTINO_VENDA"));
bean.setCodOrigemRemarcado((String) rset.getObject("COD_ORIGEM_REMARCADO"));
bean.setDescOrigemRemarcado((String) rset.getObject("DESC_ORIGEM_REMARCADO"));
bean.setCodDestinoRemarcado((String) rset.getObject("COD_DESTINO_REMARCADO"));
bean.setDescDestinoRemarcado((String) rset.getObject("DESC_DESTINO_REMARCADO"));
bean.setDataServicoVenda((Date) rset.getObject("DATA_SERVICO_VENDA"));
bean.setDataServicoRemarcado((Date) rset.getObject("DATA_SERVICO_REMARCADO"));
bean.setDataRemarcacao((Date) rset.getObject("DATA_REMARCACAO"));
bean.setPedagioVenda((BigDecimal) rset.getObject("PEDAGIO_VENDA"));
bean.setSeguroVenda((BigDecimal) rset.getObject("SEGURO_VENDA"));
bean.setTarifaVenda((BigDecimal) rset.getObject("TARIFA_VENDA"));
bean.setTaxaEmbarqueVenda((BigDecimal) rset.getObject("TAXA_EMBARQUE_VENDA"));
bean.setPedagioRemarcado((BigDecimal) rset.getObject("PEDAGIO_REMARCADO"));
bean.setSeguroRemarcado((BigDecimal) rset.getObject("SEGURO_REMARCADO"));
bean.setTarifaRemarcado((BigDecimal) rset.getObject("TARIFA_REMARCADO"));
bean.setTaxaEmbarqueRemarcado((BigDecimal) rset.getObject("TAXA_EMBARQUE_REMARCADO"));
bean.setClienteVenda((String) rset.getObject("CLIENTE_VENDA"));
bean.setClienteRemarcado((String) rset.getObject("CLIENTE_REMARCADO"));
bean.setAgenciaVenda((String) rset.getObject("AGENCIA_VENDA"));
bean.setAgenciaRemarcado((String) rset.getObject("AGENCIA_REMARCADO"));
bean.setFormaPagamentoVenda((String) rset.getObject("FORMA_PAGO_VENDA"));
bean.setNumLinhaVenda((String) rset.getObject("NUM_LINHA_VENDA"));
bean.setLinhaVenda((String) rset.getObject("LINHA_VENDA"));
bean.setNumLinhaRemarcado((String) rset.getObject("NUM_LINHA_REMARCADO"));
bean.setLinhaRemarcado((String) rset.getObject("LINHA_REMARCADO"));
bean.setBilheteiroVenda((String) rset.getObject("BILHETEIRO_VENDA"));
bean.setBilheteiroRemarcado((String) rset.getObject("BILHETEIRO_REMARCADO"));
bean.setStatus((String) rset.getObject("STATUS"));
bean.setDocumentoRemarcado((String) rset.getObject("DOCUMENTO_REMARCADO"));
lsDadosRelatorio.add(bean);
}
if (lsDadosRelatorio.size() > 0) {
setLsDadosRelatorio(lsDadosRelatorio);
}
}
});
}
public void setLsDadosRelatorio(List<RelatorioRemarcacaoPassagensTransferenciaBean> lsDadosRelatorio) {
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
this.lsDadosRelatorio = lsDadosRelatorio;
}
@Override
protected void processaParametros() throws Exception {
}
private String getSql(Integer empresaId, String puntoVentasId) {
StringBuilder sql = new StringBuilder();
sql.append("SELECT ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN B.NUMASIENTO ELSE B.NUMASIENTO END AS ASSENTO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.NUMASIENTO END AS ASSENTO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN C.FECHORVIAJE END AS DATA_VIAGEM, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.FECHORVIAJE END AS DATA_VIAGEM_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN C.NUMFOLIOSISTEMA END AS BILHETE_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.NUMFOLIOSISTEMA END AS BILHETE_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN EVENTOEXTRA.IMPINGRESO END AS MULTA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN ORIGEM.CVEPARADA END AS COD_ORIGEM_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN ORIGEM.DESCPARADA END AS DESC_ORIGEM_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN DESTINO.CVEPARADA END AS COD_DESTINO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN DESTINO.DESCPARADA END AS DESC_DESTINO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN ORIGEM_REMARCADO.CVEPARADA END AS COD_ORIGEM_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN ORIGEM_REMARCADO.DESCPARADA END AS DESC_ORIGEM_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN DESTINO_REMARCADO.CVEPARADA END AS COD_DESTINO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN DESTINO_REMARCADO.DESCPARADA END AS DESC_DESTINO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN SERVICO_VENDA.FECCORRIDA END AS DATA_SERVICO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN SERVICO_REMARCADO.FECCORRIDA END AS DATA_SERVICO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.FECCREACION END AS DATA_REMARCACAO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN C.IMPORTEPEDAGIO END AS PEDAGIO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.IMPORTEPEDAGIO END AS PEDAGIO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN C.IMPORTESEGURO END AS SEGURO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.IMPORTESEGURO END AS SEGURO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN C.PRECIOBASE END AS TARIFA_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.PRECIOBASE END AS TARIFA_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN C.IMPORTETAXAEMBARQUE END AS TAXA_EMBARQUE_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.IMPORTETAXAEMBARQUE END AS TAXA_EMBARQUE_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN B.NOMBPASAJERO END AS CLIENTE_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.NOMBPASAJERO END AS CLIENTE_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN AGENCIA_VENDA.NOMBPUNTOVENTA END AS AGENCIA_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN AGENCIA_REMARCADO.NOMBPUNTOVENTA END AS AGENCIA_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN AGENCIA_VENDA.NOMBPUNTOVENTA END AS AGENCIA_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN AGENCIA_REMARCADO.NOMBPUNTOVENTA END AS AGENCIA_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN FP.DESCPAGO END AS FORMA_PAGO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN LINHA.NUMRUTA END AS NUM_LINHA_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN LINHA.DESCRUTA END AS LINHA_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN LINHA_REMARCADO.NUMRUTA END AS NUM_LINHA_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN LINHA_REMARCADO.DESCRUTA END AS LINHA_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN UV.NOMBUSUARIO END AS BILHETEIRO_VENDA, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN UR.NOMBUSUARIO END AS BILHETEIRO_REMARCADO, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'V' THEN 'VENDIDO' ELSE 'TROCADO' END AS STATUS, ");
sql.append(" CASE WHEN B.INDSTATUSBOLETO = 'T' THEN B.DESCNUMDOC END AS DOCUMENTO_REMARCADO ");
sql.append("FROM CAJA C ");
sql.append("INNER JOIN BOLETO B on(c.TRANSACAO_ID in(b.BOLETO_ID) ) ");
sql.append("INNER JOIN PARADA ORIGEM ON ORIGEM.PARADA_ID = C.ORIGEN_ID ");
sql.append("INNER JOIN PARADA DESTINO ON DESTINO.PARADA_ID = C.DESTINO_ID ");
sql.append("LEFT JOIN PARADA ORIGEM_REMARCADO ON ORIGEM_REMARCADO.PARADA_ID = B.ORIGEN_ID ");
sql.append("LEFT JOIN PARADA DESTINO_REMARCADO ON DESTINO_REMARCADO.PARADA_ID = B.DESTINO_ID ");
sql.append("INNER JOIN RUTA LINHA ON LINHA.RUTA_ID = C.RUTA_ID ");
sql.append("LEFT JOIN RUTA LINHA_REMARCADO ON LINHA_REMARCADO.RUTA_ID = B.RUTA_ID ");
sql.append("INNER JOIN CORRIDA SERVICO_VENDA ON (SERVICO_VENDA.CORRIDA_ID = C.CORRIDA_ID ");
sql.append(" AND SERVICO_VENDA.FECCORRIDA = C.FECCORRIDA) ");
sql.append("LEFT JOIN CORRIDA SERVICO_REMARCADO ON (SERVICO_REMARCADO.CORRIDA_ID = B.CORRIDA_ID ");
sql.append(" AND SERVICO_REMARCADO.FECCORRIDA = B.FECCORRIDA) ");
sql.append("LEFT JOIN EVENTO_EXTRA EVENTOEXTRA ON EVENTOEXTRA.BOLETO_ID = B.BOLETO_ID ");
sql.append("LEFT JOIN CLIENTE CLIENTE ON CLIENTE.CLIENTE_ID = C.CLIENTE_ID ");
sql.append("INNER JOIN PUNTO_VENTA AGENCIA_VENDA ON AGENCIA_VENDA.PUNTOVENTA_ID = C.PUNTOVENTA_ID ");
sql.append("LEFT JOIN PUNTO_VENTA AGENCIA_REMARCADO ON AGENCIA_REMARCADO.PUNTOVENTA_ID = B.PUNTOVENTA_ID ");
sql.append("INNER JOIN CAJA_FORMAPAGO BFP ON C.CAJA_ID = BFP.CAJA_ID ");
sql.append("INNER JOIN FORMA_PAGO FP ON BFP.FORMAPAGO_ID = FP.FORMAPAGO_ID ");
sql.append("INNER JOIN USUARIO UV ON C.USUARIO_ID = UV.USUARIO_ID ");
sql.append("LEFT JOIN USUARIO UR ON B.USUARIO_ID = UR.USUARIO_ID ");
sql.append("WHERE TO_DATE(C.FECHORVENTA,'DD/MM/YY') BETWEEN :DATA_INICIAL AND :DATA_FINAL ");
sql.append(" AND C.NOMBPASAJERO LIKE '%WALLACE%' ");
sql.append(" AND C.INDCANCELACION = 0 ");
sql.append(" AND ((B.MOTIVOCANCELACION_ID = 23 AND B.INDSTATUSBOLETO IN('T','V')) ");
sql.append(" OR (B.MOTIVOCANCELACION_ID IS NULL AND B.INDSTATUSBOLETO IN('T'))) ");
sql.append(empresaId.equals("-1") ? "" : " AND C.EMPRESACORRIDA_ID= " + empresaId + " ");
sql.append(puntoVentasId == null || puntoVentasId.equals("-1") ? "" : " AND C.PUNTOVENTA_ID in(" + puntoVentasId + ") ");
sql.append("ORDER BY C.NUMFOLIOSISTEMA, C.CAJA_ID");
return sql.toString();
}
}

View File

@ -0,0 +1,42 @@
#geral
msg.noData=Não foi possivel obter dados com os parâmetros informados.
#Labels cabeçalho
cabecalho.nome=Relatório Remarcação de Passagens
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:
cabecalho.puntoventa=Agência
cabecalho.usuario=Usuário:
label.nomeVendaAgencia=Agência Atendimento
label.nomeAgenciaEmissao=Agência Emissão
label.documento=Documento
label.dataRemarcacao=Data Remarcac
label.dataVenda=Data Venda
label.dataServico=Data Serv.
label.origem= Origem
label.destino=Destino
label.formaPagamento=Forma Pag.
label.servico=Servico
label.poltrona= Poltrona
label.dataInicial=Data Inicial:
label.dataFinal=Data Final:
label.empresa=Empresa:
label.agencia=Agência
label.situacao=Situacao
label.bilhete=Bilhete
label.bilheteiro=Bilheteiro
label.valorDiferenca=Diferenca
label.valorMulta=Multa
label.tarifa=Tarifa
label.seguro=Seguro
label.pedagio=Pedagio
label.taxaEmbarque=Taxa Emb.
label.cliente=Cliente
label.bilheteOriginal=Bilhete Original
label.bilheteRemarcado=Bilhete Remarcado

View File

@ -0,0 +1,434 @@
<?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 Remarcação Passagens Transferência" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6d46a2d2-555e-4b7f-944f-b25c672e5feb">
<property name="ireport.zoom" value="1.9965000000000126"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="24"/>
<parameter name="DATA_INICIAL" class="java.util.Date"/>
<parameter name="DATA_FINAL" class="java.util.Date"/>
<parameter name="codconvenio" class="java.lang.String"/>
<parameter name="usuario" class="java.lang.String"/>
<parameter name="nomeRelatorio" class="java.lang.String"/>
<parameter name="puntoVenta" class="java.lang.String"/>
<parameter name="SALDO" class="java.math.BigDecimal"/>
<parameter name="TOTAL" class="java.math.BigDecimal"/>
<field name="agenciaVenda" class="java.lang.String"/>
<field name="status" class="java.lang.String"/>
<field name="codOrigemVenda" class="java.lang.String"/>
<field name="codDestinoVenda" class="java.lang.String"/>
<field name="assentoVenda" class="java.lang.String"/>
<field name="agenciaRemarcado" class="java.lang.String"/>
<field name="bilheteiroVenda" class="java.lang.String"/>
<field name="bilheteiroRemarcado" class="java.lang.String"/>
<field name="dataViagem" class="java.util.Date"/>
<field name="dataViagemRemarcado" class="java.util.Date"/>
<field name="dataServicoVenda" class="java.util.Date"/>
<field name="dataServicoRemarcado" class="java.util.Date"/>
<field name="descOrigemVenda" class="java.lang.String"/>
<field name="descOrigemRemarcado" class="java.lang.String"/>
<field name="descDestinoVenda" class="java.lang.String"/>
<field name="descDestinoRemarcado" class="java.lang.String"/>
<field name="bilheteVenda" class="java.lang.String"/>
<field name="bilheteRemarcado" class="java.lang.String"/>
<field name="assentoRemarcado" class="java.lang.String"/>
<field name="tarifaVenda" class="java.math.BigDecimal"/>
<field name="tarifaRemarcado" class="java.math.BigDecimal"/>
<field name="taxaEmbarqueRemarcado" class="java.math.BigDecimal"/>
<field name="taxaEmbarqueVenda" class="java.math.BigDecimal"/>
<field name="pedagioVenda" class="java.math.BigDecimal"/>
<field name="pedagioRemarcado" class="java.math.BigDecimal"/>
<field name="seguroRemarcado" class="java.math.BigDecimal"/>
<field name="seguroVenda" class="java.math.BigDecimal"/>
<field name="clienteVenda" class="java.lang.String"/>
<field name="servicoVenda" class="java.lang.String"/>
<field name="servicoRemarcado" class="java.lang.String"/>
<field name="clienteRemarcado" class="java.lang.String"/>
<group name="status" isReprintHeaderOnEachPage="true">
<groupExpression><![CDATA[$F{status}]]></groupExpression>
<groupHeader>
<band height="34">
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="143" y="18" width="57" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="49ab1647-150e-479d-a1d6-1911439f9372"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $R{label.dataVenda} : $R{label.dataRemarcacao}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="201" y="17" width="52" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="97e52452-5067-44dc-a412-0069d4966588"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataServico}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="253" y="17" width="77" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="36adfbd2-baef-4050-b4dd-b2c17cec1f8f"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="330" y="17" width="74" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="dabaae73-0430-44ac-b5ca-07bb8943d1e1"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
</textField>
<line>
<reportElement x="-1" y="32" width="800" height="1" uuid="2171ca6f-7e60-4fb0-80b5-32ba5c32ae0f"/>
</line>
<line>
<reportElement x="0" y="16" width="800" height="1" uuid="a8b2d3d9-4d61-42fb-aa14-37d82a755f3c"/>
</line>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="3" y="18" width="88" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="7105fabd-e019-4de6-bb8b-6ac0d194c121"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.agencia}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="91" y="18" width="52" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="7418c24d-19c3-4504-beb0-03f9f29c20bf"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.bilheteiro}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="404" y="18" width="42" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="24600b7b-f380-4bd5-8d27-9c7e29cb9a59"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.poltrona}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="446" y="18" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="16f23967-8aa7-4eeb-8138-3587989cc6cd"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.bilhete}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="483" y="18" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="bb591b6f-5e16-4dbe-942f-11b4bfc0864b"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $R{label.valorDiferenca} : $R{label.valorMulta}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="520" y="18" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="e17fff3d-04bd-4ce0-86a6-81785d6045ed"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.tarifa}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="557" y="18" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="70a4673b-db31-4291-be71-17255ce1c03f"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.seguro}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="594" y="17" width="37" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="6495c82f-0698-4a95-ac7a-3c6838c5269c"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.pedagio}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="631" y="17" width="41" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="76620371-1764-49c7-a2a1-a569ee59f2eb"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.taxaEmbarque}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="672" y="17" width="41" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="c1b5e12b-3246-4d45-b719-d2beb031430d"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.cliente}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="713" y="17" width="41" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="05de4474-7d01-499f-bd5d-4d99fc628431"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.servico}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="754" y="17" width="45" height="12" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="ebe8fdd6-b0c1-4370-a827-d1aa8d2169db"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.documento}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement mode="Transparent" x="3" y="3" width="796" height="13" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" forecolor="#000000" backcolor="#FFFFFF" uuid="192fb42f-75c9-43ed-9dd4-fa97e8c366aa"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $R{label.bilheteOriginal} : $R{label.bilheteRemarcado}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
</group>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="35">
<textField>
<reportElement x="201" y="0" width="364" height="35" uuid="766b74e4-28c9-4045-8538-343a8bc8e665"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="18" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.nome}]]></textFieldExpression>
</textField>
</band>
</title>
<pageHeader>
<band height="55">
<textField>
<reportElement x="145" y="33" width="102" height="22" uuid="c52ee81b-b6a0-44cd-b0e0-c61177419f22"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataFinal}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="3" y="33" width="88" height="22" uuid="1ffb28ce-353b-45c6-95a3-ba5c40faa4b5"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dataInicial}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="247" y="33" width="77" height="22" isPrintWhenDetailOverflows="true" uuid="74a3108b-f2bf-4a05-8a0e-ef3bc6e23e78"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="91" y="33" width="54" height="22" isPrintWhenDetailOverflows="true" uuid="145289a7-0f0a-4aa0-aab7-2bad8b44292e"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="448" y="4" width="103" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="8857ff4c-243b-4073-9466-98722a23eccf"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" 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 x="588" y="4" width="119" height="15" uuid="d095c344-00e0-4532-8035-8b93ef192a56"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="10" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement mode="Transparent" x="551" y="4" width="14" height="15" forecolor="#000000" backcolor="#FFFFFF" uuid="17bc8d21-5221-4757-ade1-9b3d1b4c10ce"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" 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="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement mode="Transparent" x="707" y="3" width="93" height="16" forecolor="#000000" backcolor="#FFFFFF" uuid="b8a08223-0a24-43a7-8ebe-17a3db2d83fe"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band/>
</columnHeader>
<detail>
<band height="11" splitType="Stretch">
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement x="91" y="0" width="52" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="546f445d-2263-4cdc-a1d7-681d40f311e4"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{bilheteiroVenda} : $F{bilheteiroRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement x="143" y="0" width="57" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="d0154000-94db-4469-85b9-d33ee160e3f9"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{dataViagem} : $F{dataViagemRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement x="201" y="0" width="52" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="480289d0-38cb-4c80-b5ce-9ce9e0cc66a1"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{dataServicoVenda} : $F{dataServicoRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="253" y="0" width="77" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="57e97f89-e79d-47ab-b986-c08049f307bd"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{descOrigemVenda} : $F{descOrigemRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement x="330" y="0" width="74" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="188aba5c-65a6-455f-a337-d0e9025ab395"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{descDestinoVenda} : $F{descDestinoRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="404" y="0" width="42" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="351f3898-a7da-4c65-be07-207950117d7b"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{assentoVenda} : $F{assentoRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="446" y="-1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="f4d3141f-4aca-49ef-a810-564c5cd3565c"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{bilheteVenda} : $F{bilheteRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="483" y="-1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="bc16d8c8-114a-4ad9-a0c5-8cf00d5d8d00"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{bilheteVenda} : $F{bilheteRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="520" y="-1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="9867507c-a05b-4313-ba1d-0842f790cff6"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{tarifaVenda} : $F{tarifaRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="557" y="-1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="e32342d7-c1fa-424f-8865-e80e667788d7"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{seguroVenda} : $F{seguroRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="594" y="-1" width="37" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="0b436521-6f5b-4b54-bc27-e6a321c8a0d4"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{pedagioVenda} : $F{pedagioRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="¤ #,##0.00" isBlankWhenNull="true">
<reportElement x="631" y="-1" width="41" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="ab471822-7832-464e-9c93-ae3b8530acb9"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{taxaEmbarqueVenda} : $F{taxaEmbarqueRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="672" y="-1" width="41" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="5624eb15-76ef-4b22-b457-e9964c18d233"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{clienteVenda} : $F{clienteRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="713" y="-1" width="41" height="11" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="7f663aad-933d-4217-9376-15c7adf053b2"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{servicoVenda} : $F{servicoRemarcado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="3" y="0" width="88" height="10" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="ad1ffaa8-6c48-4316-ba3c-ea68579af300"/>
<textElement textAlignment="Center">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}.equals("VENDIDO") ? $F{agenciaVenda} : $F{agenciaRemarcado}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="32" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="39" splitType="Stretch">
<textField>
<reportElement x="0" y="5" width="91" height="14" uuid="25ee1dfc-86be-4ed3-a15b-1b88311553d3"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="19" width="91" height="14" uuid="77ae1865-5196-4f91-ab72-716ce1d52a74"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.saldo}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="91" y="19" width="54" height="14" uuid="36e218b6-49e0-4b1b-a473-ec3f2e79fde3"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$P{SALDO}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="91" y="5" width="52" height="14" uuid="f4ce69ee-521c-4f17-9b7f-d7028d2f355a"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$P{TOTAL}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="3" width="800" height="1" uuid="6dc831c6-bfb2-4350-aa40-edc3dacd8b2c"/>
</line>
<line>
<reportElement x="0" y="35" width="802" height="1" uuid="5ab0d28f-17af-469c-a9da-9aab6e0b4b50"/>
</line>
</band>
</summary>
<noData>
<band height="25">
<textField>
<reportElement x="0" y="0" width="802" height="25" uuid="8971a82a-4eed-47d8-a07a-da902b442824"/>
<textElement textAlignment="Center" markup="none">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField>
</band>
</noData>
</jasperReport>

View File

@ -0,0 +1,378 @@
package com.rjconsultores.ventaboletos.relatorios.utilitarios;
import java.math.BigDecimal;
import java.util.Date;
public class RelatorioRemarcacaoPassagensTransferenciaBean {
private String assentoVenda;
private String assentoRemarcado;
private Date dataViagem;
private Date dataViagemRemarcado;
private String bilheteVenda;
private String bilheteRemarcado;
private BigDecimal multa;
private String codOrigemVenda;
private String descOrigemVenda;
private String codDestinoVenda;
private String descDestinoVenda;
private String codOrigemRemarcado;
private String descOrigemRemarcado;
private String codDestinoRemarcado;
private String descDestinoRemarcado;
private Date dataServicoVenda;
private Date dataServicoRemarcado;
private Date dataRemarcacao;
private BigDecimal pedagioVenda;
private BigDecimal seguroVenda;
private BigDecimal taxaEmbarqueVenda;
private BigDecimal tarifaVenda;
private BigDecimal pedagioRemarcado;
private BigDecimal seguroRemarcado;
private BigDecimal taxaEmbarqueRemarcado;
private BigDecimal tarifaRemarcado;
private String clienteVenda;
private String clienteRemarcado;
private String agenciaVenda;
private String agenciaRemarcado;
private String formaPagamentoVenda;
private String documentoRemarcado;
private String linhaVenda;
private String numLinhaVenda;
private String numLinhaRemarcado;
private String linhaRemarcado;
private String bilheteiroVenda;
private String bilheteiroRemarcado;
private String status;
private String servicoVenda;
private String servicoRemarcado;
public String getAssentoVenda() {
return assentoVenda;
}
public void setAssentoVenda(String assentoVenda) {
this.assentoVenda = assentoVenda;
}
public String getAssentoRemarcado() {
return assentoRemarcado;
}
public void setAssentoRemarcado(String assentoRemarcado) {
this.assentoRemarcado = assentoRemarcado;
}
public Date getDataViagem() {
return dataViagem;
}
public void setDataViagem(Date dataViagem) {
this.dataViagem = dataViagem;
}
public Date getDataViagemRemarcado() {
return dataViagemRemarcado;
}
public void setDataViagemRemarcado(Date dataViagemRemarcado) {
this.dataViagemRemarcado = dataViagemRemarcado;
}
public String getBilheteVenda() {
return bilheteVenda;
}
public void setBilheteVenda(String bilheteVenda) {
this.bilheteVenda = bilheteVenda;
}
public String getBilheteRemarcado() {
return bilheteRemarcado;
}
public void setBilheteRemarcado(String bilheteRemarcado) {
this.bilheteRemarcado = bilheteRemarcado;
}
public BigDecimal getMulta() {
return multa;
}
public void setMulta(BigDecimal multa) {
this.multa = multa;
}
public String getDescDestinoRemarcado() {
return descDestinoRemarcado;
}
public void setDescDestinoRemarcado(String descDestinoRemarcado) {
this.descDestinoRemarcado = descDestinoRemarcado;
}
public Date getDataServicoVenda() {
return dataServicoVenda;
}
public void setDataServicoVenda(Date dataServicoVenda) {
this.dataServicoVenda = dataServicoVenda;
}
public Date getDataServicoRemarcado() {
return dataServicoRemarcado;
}
public void setDataServicoRemarcado(Date dataServicoRemarcado) {
this.dataServicoRemarcado = dataServicoRemarcado;
}
public Date getDataRemarcacao() {
return dataRemarcacao;
}
public void setDataRemarcacao(Date dataRemarcacao) {
this.dataRemarcacao = dataRemarcacao;
}
public BigDecimal getPedagioVenda() {
return pedagioVenda;
}
public void setPedagioVenda(BigDecimal pedagioVenda) {
this.pedagioVenda = pedagioVenda;
}
public BigDecimal getSeguroVenda() {
return seguroVenda;
}
public void setSeguroVenda(BigDecimal seguroVenda) {
this.seguroVenda = seguroVenda;
}
public BigDecimal getTaxaEmbarqueVenda() {
return taxaEmbarqueVenda;
}
public void setTaxaEmbarqueVenda(BigDecimal taxaEmbarqueVenda) {
this.taxaEmbarqueVenda = taxaEmbarqueVenda;
}
public BigDecimal getTarifaVenda() {
return tarifaVenda;
}
public void setTarifaVenda(BigDecimal tarifaVenda) {
this.tarifaVenda = tarifaVenda;
}
public String getClienteVenda() {
return clienteVenda;
}
public void setClienteVenda(String clienteVenda) {
this.clienteVenda = clienteVenda;
}
public String getClienteRemarcado() {
return clienteRemarcado;
}
public void setClienteRemarcado(String clienteRemarcado) {
this.clienteRemarcado = clienteRemarcado;
}
public String getAgenciaVenda() {
return agenciaVenda;
}
public void setAgenciaVenda(String agenciaVenda) {
this.agenciaVenda = agenciaVenda;
}
public String getAgenciaRemarcado() {
return agenciaRemarcado;
}
public void setAgenciaRemarcado(String agenciaRemarcado) {
this.agenciaRemarcado = agenciaRemarcado;
}
public String getFormaPagamentoVenda() {
return formaPagamentoVenda;
}
public void setFormaPagamentoVenda(String formaPagamentoVenda) {
this.formaPagamentoVenda = formaPagamentoVenda;
}
public String getDocumentoRemarcado() {
return documentoRemarcado;
}
public void setDocumentoRemarcado(String documentoRemarcado) {
this.documentoRemarcado = documentoRemarcado;
}
public String getLinhaVenda() {
return linhaVenda;
}
public void setLinhaVenda(String linhaVenda) {
this.linhaVenda = linhaVenda;
}
public String getLinhaRemarcado() {
return linhaRemarcado;
}
public void setLinhaRemarcado(String linhaRemarcado) {
this.linhaRemarcado = linhaRemarcado;
}
public String getBilheteiroVenda() {
return bilheteiroVenda;
}
public void setBilheteiroVenda(String bilheteiroVenda) {
this.bilheteiroVenda = bilheteiroVenda;
}
public String getBilheteiroRemarcado() {
return bilheteiroRemarcado;
}
public void setBilheteiroRemarcado(String bilheteiroRemarcado) {
this.bilheteiroRemarcado = bilheteiroRemarcado;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCodDestinoVenda() {
return codDestinoVenda;
}
public void setCodDestinoVenda(String codDestinoVenda) {
this.codDestinoVenda = codDestinoVenda;
}
public String getDescDestinoVenda() {
return descDestinoVenda;
}
public void setDescDestinoVenda(String descDestinoVenda) {
this.descDestinoVenda = descDestinoVenda;
}
public String getCodOrigemVenda() {
return codOrigemVenda;
}
public void setCodOrigemVenda(String codOrigemVenda) {
this.codOrigemVenda = codOrigemVenda;
}
public String getDescOrigemVenda() {
return descOrigemVenda;
}
public void setDescOrigemVenda(String descOrigemVenda) {
this.descOrigemVenda = descOrigemVenda;
}
public String getCodOrigemRemarcado() {
return codOrigemRemarcado;
}
public void setCodOrigemRemarcado(String codOrigemRemarcado) {
this.codOrigemRemarcado = codOrigemRemarcado;
}
public String getCodDestinoRemarcado() {
return codDestinoRemarcado;
}
public void setCodDestinoRemarcado(String codDestinoRemarcado) {
this.codDestinoRemarcado = codDestinoRemarcado;
}
public String getDescOrigemRemarcado() {
return descOrigemRemarcado;
}
public void setDescOrigemRemarcado(String descOrigemRemarcado) {
this.descOrigemRemarcado = descOrigemRemarcado;
}
public BigDecimal getPedagioRemarcado() {
return pedagioRemarcado;
}
public void setPedagioRemarcado(BigDecimal pedagioRemarcado) {
this.pedagioRemarcado = pedagioRemarcado;
}
public BigDecimal getSeguroRemarcado() {
return seguroRemarcado;
}
public void setSeguroRemarcado(BigDecimal seguroRemarcado) {
this.seguroRemarcado = seguroRemarcado;
}
public BigDecimal getTaxaEmbarqueRemarcado() {
return taxaEmbarqueRemarcado;
}
public void setTaxaEmbarqueRemarcado(BigDecimal taxaEmbarqueRemarcado) {
this.taxaEmbarqueRemarcado = taxaEmbarqueRemarcado;
}
public BigDecimal getTarifaRemarcado() {
return tarifaRemarcado;
}
public void setTarifaRemarcado(BigDecimal tarifaRemarcado) {
this.tarifaRemarcado = tarifaRemarcado;
}
public String getNumLinhaVenda() {
return numLinhaVenda;
}
public void setNumLinhaVenda(String numLinhaVenda) {
this.numLinhaVenda = numLinhaVenda;
}
public String getNumLinhaRemarcado() {
return numLinhaRemarcado;
}
public void setNumLinhaRemarcado(String numLinhaRemarcado) {
this.numLinhaRemarcado = numLinhaRemarcado;
}
public String getServicoVenda() {
return servicoVenda;
}
public void setServicoVenda(String servicoVenda) {
this.servicoVenda = servicoVenda;
}
public String getServicoRemarcado() {
return servicoRemarcado;
}
public void setServicoRemarcado(String servicoRemarcado) {
this.servicoRemarcado = servicoRemarcado;
}
}

View File

@ -0,0 +1,229 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
import java.sql.Timestamp;
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.Datebox;
import org.zkoss.zul.Paging;
import org.zkoss.zul.Textbox;
import com.rjconsultores.ventaboletos.entidad.Empresa;
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioRemarcacaoPassagensTransferencia;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
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.paginacion.HibernateSearchObject;
import com.rjconsultores.ventaboletos.web.utilerias.paginacion.PagedListWrapper;
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPuntoVentaSimple;
import com.trg.search.Filter;
@Controller("relatorioRemarcacaoPassagensTransferenciaController")
@Scope("prototype")
public class RelatorioRemarcacaoPassagensTransferenciaController extends MyGenericForwardComposer {
/**
*
*/
private static final long serialVersionUID = 1L;
private static final String TODOS_VALUE = new Integer(-1).toString();
private static final String TODOS = "TODAS";
@Autowired
private EmpresaService empresaService;
private List<Empresa> lsEmpresa;
private MyComboboxEstandar cmbEmpresa;
private Datebox datInicial;
private Datebox datFinal;
@Autowired
private DataSource dataSourceRead;
private MyListbox puntoVentaList;;
private MyListbox puntoVentaSelList;
private Paging pagingPuntoVenta;
private Bandbox bbPesquisaPuntoVenta;
@Autowired
private transient PagedListWrapper<PuntoVenta> plwPuntoVenta;
private ArrayList<PuntoVenta> lsNumPuntoVenta = new ArrayList<PuntoVenta>();
private Textbox txtPalavraPesquisa;
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
lsEmpresa = empresaService.obtenerTodos();
puntoVentaList.setItemRenderer(new RenderPuntoVentaSimple());
puntoVentaSelList.setItemRenderer(new RenderPuntoVentaSimple());
}
@SuppressWarnings({ "rawtypes", "unchecked" })
private void executarRelatorio() throws Exception {
Relatorio relatorio;
Map<String, Object> parametros = new HashMap<String, Object>();
Timestamp dataInicio = new Timestamp((DateUtil.inicioFecha((java.util.Date) this.datInicial.getValue()).getTime()));
Timestamp dataFinal = new Timestamp((DateUtil.fimFecha((java.util.Date) this.datFinal.getValue()).getTime()));
parametros.put("DATA_INICIAL", dataInicio);
parametros.put("DATA_FINAL", dataFinal);
Empresa empresa = (Empresa) cmbEmpresa.getSelectedItem().getValue();
lsNumPuntoVenta = new ArrayList(Arrays.asList(puntoVentaSelList.getData()));
if (lsNumPuntoVenta.size() > 0) {
String puntoVentaExpression = null;
for (PuntoVenta p : lsNumPuntoVenta) {
if (lsNumPuntoVenta.indexOf(p) == 0) {
puntoVentaExpression = p.getPuntoventaId().toString();
} else {
puntoVentaExpression += ", " + p.getPuntoventaId().toString();
}
}
parametros.put("PUNTOVENTA_ID", puntoVentaExpression);
parametros.put("PUNTOVENTA", puntoVentaExpression);
} else {
parametros.put("PUNTOVENTA_ID", TODOS_VALUE);
parametros.put("PUNTOVENTA", TODOS);
}
parametros.put("AGENCIA", empresa);
if (empresa != null) {
parametros.put("EMPRESA", empresa.getNombempresa());
parametros.put("EMPRESA_ID", empresa.getEmpresaId());
} else {
parametros.put("EMPRESA", "TODOS");
}
parametros.put("TITULO", Labels.getLabel("relatorioRemarcacaoPassagensTransferenciaController.window.title"));
relatorio = new RelatorioRemarcacaoPassagensTransferencia(parametros, dataSourceRead.getConnection());
Map args = new HashMap();
args.put("relatorio", relatorio);
openWindow("/component/reportView.zul",
Labels.getLabel("relatorioRemarcacaoPassagensTransferenciaController.window.title"), args, MODAL);
}
public void onSelect$puntoVentaList(Event ev) {
}
public void onClick$btnLimpar(Event ev) {
limparPesquisaAgencia();
}
public void onClick$btnPesquisa(Event ev) {
executarPesquisa();
}
private void executarPesquisa() {
HibernateSearchObject<PuntoVenta> puntoVentaBusqueda = new HibernateSearchObject<PuntoVenta>(PuntoVenta.class,
pagingPuntoVenta.getPageSize());
puntoVentaBusqueda.addFilterOr(Filter.like("nombpuntoventa", "%" + txtPalavraPesquisa.getText().trim().toUpperCase().concat("%")), Filter.like("numPuntoVenta", "%" + txtPalavraPesquisa.getText().trim().toUpperCase().concat("%")));
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("relatorioRemarcacaoPassagensTransferenciaController.window.title"),
Messagebox.OK, Messagebox.INFORMATION);
} catch (InterruptedException ex) {
}
}
}
private void limparPesquisaAgencia() {
puntoVentaList.clearSelection();
lsNumPuntoVenta.clear();
this.bbPesquisaPuntoVenta.setValue("");
}
public void onDoubleClick$puntoVentaList(Event ev) {
PuntoVenta puntoVentaSel = (PuntoVenta) puntoVentaList.getSelected();
puntoVentaSelList.addItemNovo(puntoVentaSel);
}
public void onDoubleClick$puntoVentaSelList(Event ev) {
PuntoVenta puntoVentaSel = (PuntoVenta) puntoVentaSelList.getSelected();
puntoVentaSelList.removeItem(puntoVentaSel);
}
public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
executarRelatorio();
}
public List<Empresa> getLsEmpresa() {
return lsEmpresa;
}
public void setLsEmpresa(List<Empresa> lsEmpresa) {
this.lsEmpresa = lsEmpresa;
}
public MyListbox getPuntoVentaList() {
return puntoVentaList;
}
public void setPuntoVentaList(MyListbox puntoVentaList) {
this.puntoVentaList = puntoVentaList;
}
public Paging getPagingPuntoVenta() {
return pagingPuntoVenta;
}
public void setPagingPuntoVenta(Paging pagingPuntoVenta) {
this.pagingPuntoVenta = pagingPuntoVenta;
}
public Textbox getTxtPalavraPesquisa() {
return txtPalavraPesquisa;
}
public void setTxtPalavraPesquisa(Textbox txtPalavraPesquisa) {
this.txtPalavraPesquisa = txtPalavraPesquisa;
}
public Bandbox getBbPesquisaPuntoVenta() {
return bbPesquisaPuntoVenta;
}
public void setBbPesquisaPuntoVenta(Bandbox bbPesquisaPuntoVenta) {
this.bbPesquisaPuntoVenta = bbPesquisaPuntoVenta;
}
public MyListbox getPuntoVentaSelList() {
return puntoVentaSelList;
}
public void setPuntoVentaSelList(MyListbox puntoVentaSelList) {
this.puntoVentaSelList = puntoVentaSelList;
}
}

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 ItemMenuRelatorioRemarcacaoPassagensTransferencia extends DefaultItemMenuSistema {
public ItemMenuRelatorioRemarcacaoPassagensTransferencia() {
super("indexController.mniRelatorioRemarcacaoPassagensTransferencia.label");
}
@Override
public String getClaveMenu() {
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOREMARCACAOPASSAGENSTRANSFERENCIA";
}
@Override
public void ejecutar() {
PantallaUtileria.openWindow("/gui/relatorios/filtroRelatorioRemarcacaoPassagensTransferencia.zul",
Labels.getLabel("relatorioRemarcacaoPassagensTransferenciaController.window.title"), getArgs(), desktop);
}
}

View File

@ -143,6 +143,7 @@ analitico.gerenciais.operacionais.kmProgramada=com.rjconsultores.ventaboletos.we
analitico.gerenciais.operacionais.acompanhamentoEquivalentes=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioAcompanhamentoEquivalentes
analitico.gerenciais.operacionais.linhasHorario=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioLinhasHorario
analitico.gerenciais.operacionais.demandas=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioDemandas
analitico.gerenciais.operacionais.remarcacaoTransferencia=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioRemarcacaoPassagensTransferencia
analitico.gerenciais.estatisticos=com.rjconsultores.ventaboletos.web.utilerias.menu.item.analitico.gerenciais.estatisticos.SubMenuRelatorioEstatisticos
analitico.gerenciais.estatisticos.receitaLinhaOperacional=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioLinhaOperacional
analitico.gerenciais.estatisticos.trechoAgencia=com.rjconsultores.ventaboletos.web.utilerias.menu.item.relatorios.ItemMenuRelatorioTrechoVendido

View File

@ -7003,6 +7003,16 @@ relatorioRemarcacaoDevolucao.remarcacao.value = Remarcación
relatorioRemarcacaoDevolucao.devolucao.value = Devolución
relatorioRemarcacaoDevolucao.tipo.label = Tipo
# Relatorio Remarcacao Passagens Transferencia
indexController.mniRelatorioRemarcacaoPassagensTransferencia.label = Reporte Remarcación/Transferencia
relatorioRemarcacaoPassagensTransferenciaController.window.title = Reporte Remarcación/Transferencia
relatorioRemarcacaoPassagensTransferenciaController.title = Reporte de Transferencia
relatorioRemarcacaoPassagensTransferenciaController.lbDatInicial.value=Fecha Inicio
relatorioRemarcacaoPassagensTransferenciaController.lbDatFinal.value=Fecha Final
relatorioRemarcacaoPassagensTransferenciaController.lbEmpresa.value=Empresa
relatorioRemarcacaoPassagensTransferenciaController.lbAgencia.value=Punto Venta
# Busqueda configuracao codigo de barras
editarConfiguracaoCodBarrasController.title= Configuración de codigos de barra
editarConfiguracaoCodBarrasController.empresa=Empresa

View File

@ -7475,6 +7475,15 @@ relatorioRemarcacaoDevolucao.remarcacao.value = Remarcação
relatorioRemarcacaoDevolucao.devolucao.value = Devolucação
relatorioRemarcacaoDevolucao.tipo.label = Tipo
# Relatorio Remarcacao Passagens Transferencia
indexController.mniRelatorioRemarcacaoPassagensTransferencia.label = Remarcaçao de Passagens/Transferencia
relatorioRemarcacaoPassagensTransferenciaController.window.title = Relatório de Remarcaçao de Passagens/Transferencia
relatorioRemarcacaoPassagensTransferenciaController.title = Relatório de Remarcaçao de Passagens/Transferencia
relatorioRemarcacaoPassagensTransferenciaController.lbDatInicial.value=Data Início
relatorioRemarcacaoPassagensTransferenciaController.lbDatFinal.value=Data Final
relatorioRemarcacaoPassagensTransferenciaController.lbEmpresa.value=Empresa
relatorioRemarcacaoPassagensTransferenciaController.lbAgencia.value=Agência
# Configuracao codigo de barras
editarConfiguracaoCodBarrasController.title= Configuração de códigos de barra
editarConfiguracaoCodBarrasController.empresa=Empresa

View File

@ -0,0 +1,106 @@
<?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="winFiltroRelatorioRemarcacaoPassagensTransferencia"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winFiltroRelatorioRemarcacaoPassagensTransferencia"
apply="${relatorioRemarcacaoPassagensTransferenciaController}"
contentStyle="overflow:auto" height="237px" 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('relatorioRemarcacaoPassagensTransferenciaController.lbDatInicial.value')}" />
<datebox id="datInicial" width="90%"
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
<label
value="${c:l('relatorioRemarcacaoPassagensTransferenciaController.lbDatFinal.value')}" />
<datebox id="datFinal" width="90%"
format="dd/MM/yyyy" constraint="no empty" maxlength="10" />
</row>
<row>
<label
value="${c:l('relatorioRemarcacaoPassagensTransferenciaController.lbAgencia.value')}" />
<bandbox id="bbPesquisaPuntoVenta" width="90%"
mold="rounded" readonly="true">
<bandpopup height="150px">
<vbox>
<hbox>
<textbox id="txtPalavraPesquisa" />
<button id="btnPesquisa"
image="/gui/img/find.png"
label="${c:l('relatorioRemarcacaoPassagensTransferenciaControllerr.btnPesquisa.label')}" />
<button id="btnLimpar"
image="/gui/img/eraser.png"
label="${c:l('relatorioRemarcacaoPassagensTransferenciaController.btnLimpar.label')}" />
</hbox>
<listbox id="puntoVentaList"
mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false" height="100%" width="360px">
<listhead>
<listheader
label="${c:l('relatorioRemarcacaoPassagensTransferenciaController.puntoVentaSelList.codigo')}" />
<listheader
label="${c:l('relatorioRemarcacaoPassagensTransferenciaController.puntoVentaSelList.nome')}" />
</listhead>
</listbox>
<paging id="pagingPuntoVenta"
pageSize="10" />
</vbox>
</bandpopup>
</bandbox>
<label
value="${c:l('relatorioRemarcacaoPassagensTransferenciaController.lbEmpresa.value')}" />
<combobox id="cmbEmpresa" buttonVisible="true"
constraint="no empty"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
model="@{winFiltroRelatorioRemarcacaoPassagensTransferencia$composer.lsEmpresa}"
width="100%" />
</row>
<row>
<cell colspan="2" rowspan="2">
<borderlayout height="100px">
<center border="0">
<listbox id="puntoVentaSelList"
mold="paging"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="true" height="60%" width="100%">
<listhead>
<listheader
label="${c:l('relatorioRemarcacaoPassagensTransferenciaController.puntoVentaSelList.codigo')}" />
<listheader
label="${c:l('relatorioRemarcacaoPassagensTransferenciaController.puntoVentaSelList.nome')}" />
<listheader width="35px" />
</listhead>
</listbox>
</center>
</borderlayout>
</cell>
</row>
<row>
</row>
</rows>
</grid>
<toolbar>
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
</toolbar>
</window>
</zk>