bug #7600
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@57238 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9f4ff8cb81
commit
04a25c480f
|
@ -256,7 +256,7 @@ public class RelatorioVendaPacoteVoucher extends Relatorio {
|
||||||
StringBuilder sQuery = new StringBuilder();
|
StringBuilder sQuery = new StringBuilder();
|
||||||
sQuery.append("SELECT B.NUMASIENTO, CONCAT(DEST.CVEPARADA,CONCAT(' - ',DEST.DESCPARADA)) AS DESTINO, CONCAT(ORI.CVEPARADA,CONCAT(' - ',ORI.DESCPARADA)) AS ORIGEM, ")
|
sQuery.append("SELECT B.NUMASIENTO, CONCAT(DEST.CVEPARADA,CONCAT(' - ',DEST.DESCPARADA)) AS DESTINO, CONCAT(ORI.CVEPARADA,CONCAT(' - ',ORI.DESCPARADA)) AS ORIGEM, ")
|
||||||
.append("TVP.DESCEMAIL,TTP.DESCTIPOTARIFA,TO_CHAR(B.FECHORVIAJE,'DD/MM/YYYY HH24:MI') AS FECHORVIAJE,TVP.IDIOMA,PC.NOMCONVENIO,TVP.NOMEPASSAGEIRO, ")
|
.append("TVP.DESCEMAIL,TTP.DESCTIPOTARIFA,TO_CHAR(B.FECHORVIAJE,'DD/MM/YYYY HH24:MI') AS FECHORVIAJE,TVP.IDIOMA,PC.NOMCONVENIO,TVP.NOMEPASSAGEIRO, ")
|
||||||
.append("TVP.TIPODOC,TVP.DOCUMENTO,TVP.DESCTELEFONE,CT.DESCCATEGORIA,C.CORRIDA_ID,C.MARCA_ID ")
|
.append("TVP.TIPODOC,TVP.DOCUMENTO,TVP.DESCTELEFONE,CT.DESCCATEGORIA,C.CORRIDA_ID,C.MARCA_ID,R.DESCRUTA ")
|
||||||
.append("FROM TARIFA_VENDA_PACOTE TVP ")
|
.append("FROM TARIFA_VENDA_PACOTE TVP ")
|
||||||
.append("JOIN PACOTE_TARIFA PT ON PT.PACOTETARIFA_ID = TVP.PACOTETARIFA_ID ")
|
.append("JOIN PACOTE_TARIFA PT ON PT.PACOTETARIFA_ID = TVP.PACOTETARIFA_ID ")
|
||||||
.append("JOIN TIPO_TARIFA_PACOTE TTP ON TTP.TIPOTARIFAPACOTE_ID = PT.TIPOTARIFAPACOTE_ID ")
|
.append("JOIN TIPO_TARIFA_PACOTE TTP ON TTP.TIPOTARIFAPACOTE_ID = PT.TIPOTARIFAPACOTE_ID ")
|
||||||
|
@ -266,6 +266,7 @@ public class RelatorioVendaPacoteVoucher extends Relatorio {
|
||||||
.append("LEFT JOIN CORRIDA C ON C.CORRIDA_ID = B.CORRIDA_ID AND C.FECCORRIDA = B.FECCORRIDA ")
|
.append("LEFT JOIN CORRIDA C ON C.CORRIDA_ID = B.CORRIDA_ID AND C.FECCORRIDA = B.FECCORRIDA ")
|
||||||
.append("LEFT JOIN CATEGORIA CT ON CT.CATEGORIA_ID = B.CATEGORIA_ID ")
|
.append("LEFT JOIN CATEGORIA CT ON CT.CATEGORIA_ID = B.CATEGORIA_ID ")
|
||||||
.append("LEFT JOIN PACOTE_CONVENIO PC ON PC.PACOTECONVENIO_ID = TVP.PACOTECONVENIO_ID ")
|
.append("LEFT JOIN PACOTE_CONVENIO PC ON PC.PACOTECONVENIO_ID = TVP.PACOTECONVENIO_ID ")
|
||||||
|
.append("LEFT JOIN RUTA R ON R.RUTA_ID = B.RUTA_ID ")
|
||||||
.append("WHERE TVP.VENDAPACOTE_ID = :vendapacoteId ");
|
.append("WHERE TVP.VENDAPACOTE_ID = :vendapacoteId ");
|
||||||
log.info(sQuery);
|
log.info(sQuery);
|
||||||
stmt = new NamedParameterStatement(conexao, sQuery.toString());
|
stmt = new NamedParameterStatement(conexao, sQuery.toString());
|
||||||
|
@ -288,6 +289,7 @@ public class RelatorioVendaPacoteVoucher extends Relatorio {
|
||||||
pacoteTarifaVoucher.setTipoDoc(rset.getString("tipodoc"));
|
pacoteTarifaVoucher.setTipoDoc(rset.getString("tipodoc"));
|
||||||
pacoteTarifaVoucher.setNumTelefone(rset.getString("desctelefone"));
|
pacoteTarifaVoucher.setNumTelefone(rset.getString("desctelefone"));
|
||||||
pacoteTarifaVoucher.setDesccategoria(rset.getString("desccategoria"));
|
pacoteTarifaVoucher.setDesccategoria(rset.getString("desccategoria"));
|
||||||
|
pacoteTarifaVoucher.setDescRuta(rset.getString("descruta"));
|
||||||
|
|
||||||
if(rset.getInt("corrida_id") > 0) {
|
if(rset.getInt("corrida_id") > 0) {
|
||||||
pacoteTarifaVoucher.setCorridaId(rset.getInt("corrida_id"));
|
pacoteTarifaVoucher.setCorridaId(rset.getInt("corrida_id"));
|
||||||
|
|
|
@ -1,13 +1,17 @@
|
||||||
label.nomPasajero = Passageiro
|
label.nomPasajero = Passageiro:
|
||||||
label.numDoc = Doc
|
label.numDoc = Doc:
|
||||||
label.tipoDoc = Tipo Doc
|
label.tipoDoc = Tipo Doc
|
||||||
label.corrida = Ruta
|
label.corrida = Ruta:
|
||||||
label.descEmail = E-mail
|
label.descEmail = E-mail:
|
||||||
label.numTelefone = Tel
|
label.numTelefone = Tel:
|
||||||
label.desctipotarifa = Categoria
|
label.desctipotarifa = Categoria:
|
||||||
label.nomConvenio = Convênio
|
label.nomConvenio = Convênio
|
||||||
label.asiento = Assento
|
label.asiento = Assento:
|
||||||
label.descOrigen = Origem
|
label.descOrigen = Origem:
|
||||||
label.descDestino = Destino
|
label.descDestino = Destino:
|
||||||
label.fecHorViaje = Hora
|
label.fecHorViaje = Fecha:
|
||||||
label.desctipopassagem = Tipo Passagem
|
label.desctipopassagem = Clase:
|
||||||
|
label.dadosPassageiros = Dados Passageiros
|
||||||
|
label.dadosViagem = Dados da Viagem
|
||||||
|
label.dadosAssento = Assento
|
||||||
|
label.vagao = Vagão:
|
|
@ -1,13 +1,17 @@
|
||||||
label.nomPasajero = Passageiro
|
label.nomPasajero = Passageiro:
|
||||||
label.numDoc = Doc
|
label.numDoc = Doc:
|
||||||
label.tipoDoc = Tipo Doc
|
label.tipoDoc = Tipo Doc
|
||||||
label.corrida = Corrida
|
label.corrida = Rota:
|
||||||
label.descEmail = E-mail
|
label.descEmail = E-mail:
|
||||||
label.numTelefone = Tel
|
label.numTelefone = Tel:
|
||||||
label.desctipotarifa = Categoria
|
label.desctipotarifa = Categoria:
|
||||||
label.nomConvenio = Convênio
|
label.nomConvenio = Convênio
|
||||||
label.asiento = Assento
|
label.asiento = Assento:
|
||||||
label.descOrigen = Origem
|
label.descOrigen = Origem:
|
||||||
label.descDestino = Destino
|
label.descDestino = Destino:
|
||||||
label.fecHorViaje = Hora
|
label.fecHorViaje = Data/Hora:
|
||||||
label.desctipopassagem = Tipo Passagem
|
label.desctipopassagem = Classe:
|
||||||
|
label.dadosPassageiros = Dados Passageiros
|
||||||
|
label.dadosViagem = Dados da Viagem
|
||||||
|
label.dadosAssento = Assento
|
||||||
|
label.vagao = Vagão:
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="SubReporteItemAdicionalVouchers" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="9dfe5907-a9e2-4c68-842e-b937a03475fc">
|
<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="SubReporteItemAdicionalVouchers" pageWidth="612" pageHeight="792" columnWidth="612" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" resourceBundle="com.rjconsultores.ventaboletos.service.reporte.jasper.voucherpacote.SubReporteItemAdicionalVouchers">
|
||||||
<property name="ireport.zoom" value="1.0"/>
|
<property name="ireport.zoom" value="1.0"/>
|
||||||
<property name="ireport.x" value="0"/>
|
<property name="ireport.x" value="0"/>
|
||||||
<property name="ireport.y" value="0"/>
|
<property name="ireport.y" value="0"/>
|
||||||
|
@ -13,19 +13,21 @@
|
||||||
<columnHeader>
|
<columnHeader>
|
||||||
<band height="20" splitType="Stretch">
|
<band height="20" splitType="Stretch">
|
||||||
<line>
|
<line>
|
||||||
<reportElement x="0" y="18" width="555" height="1" uuid="413026cf-3c9a-4821-b233-3d8244a7e4e3"/>
|
<reportElement x="0" y="18" width="570" height="1"/>
|
||||||
</line>
|
</line>
|
||||||
<textField isBlankWhenNull="true">
|
<textField isBlankWhenNull="true">
|
||||||
<reportElement x="1" y="3" width="550" height="14" uuid="e2bb2dec-ecd0-4a2e-9851-b76ca96bf74f"/>
|
<reportElement x="1" y="3" width="550" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$R{label.descitemadicional}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descitemadicional}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</columnHeader>
|
</columnHeader>
|
||||||
<detail>
|
<detail>
|
||||||
<band height="20" splitType="Stretch">
|
<band height="20" splitType="Stretch">
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement x="1" y="2" width="550" height="14" uuid="1bea75f6-00a2-4f0c-9002-eff661653220"/>
|
<reportElement x="1" y="2" width="550" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{descitemadicional}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descitemadicional}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</detail>
|
</detail>
|
||||||
|
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="SubReportePacoteTarifasVouchers" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="b3813422-645a-4e77-a9a6-91b3ce3b5935">
|
<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="SubReportePacoteTarifasVouchers" pageWidth="612" pageHeight="792" columnWidth="612" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" resourceBundle="com.rjconsultores.ventaboletos.service.reporte.jasper.voucherpacote.SubReportePacoteTarifasVouchers">
|
||||||
<property name="ireport.zoom" value="1.0"/>
|
<property name="ireport.zoom" value="1.0"/>
|
||||||
<property name="ireport.x" value="0"/>
|
<property name="ireport.x" value="0"/>
|
||||||
<property name="ireport.y" value="0"/>
|
<property name="ireport.y" value="0"/>
|
||||||
|
@ -11,85 +11,160 @@
|
||||||
<field name="desctipotarifa" class="java.lang.String"/>
|
<field name="desctipotarifa" class="java.lang.String"/>
|
||||||
<field name="nomconvenio" class="java.lang.String"/>
|
<field name="nomconvenio" class="java.lang.String"/>
|
||||||
<field name="asiento" class="java.lang.String"/>
|
<field name="asiento" class="java.lang.String"/>
|
||||||
<field name="descOrigen" class="java.lang.String"/>
|
|
||||||
<field name="descDestino" class="java.lang.String"/>
|
|
||||||
<field name="fecHorViaje" class="java.lang.String"/>
|
<field name="fecHorViaje" class="java.lang.String"/>
|
||||||
|
<field name="descEmail" class="java.lang.String"/>
|
||||||
|
<field name="idioma" class="java.lang.String"/>
|
||||||
|
<field name="descDestino" class="java.lang.String"/>
|
||||||
|
<field name="descOrigen" class="java.lang.String"/>
|
||||||
|
<field name="descRuta" class="java.lang.String"/>
|
||||||
<background>
|
<background>
|
||||||
<band splitType="Stretch"/>
|
<band splitType="Stretch"/>
|
||||||
</background>
|
</background>
|
||||||
<columnHeader>
|
<columnHeader>
|
||||||
<band height="20" splitType="Stretch">
|
<band height="16" splitType="Stretch">
|
||||||
<textField isBlankWhenNull="true">
|
<textField isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="2" width="73" height="14" uuid="5de05c2a-0bbe-4c39-9cd2-f4dc7f0eb00b"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="3" y="1" width="245" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$R{label.nomPasajero}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dadosPassageiros}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isBlankWhenNull="true">
|
<textField isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="74" y="2" width="73" height="14" uuid="dbeb5077-4e72-4327-bd55-5527e95706d7"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="251" y="1" width="200" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$R{label.numDoc}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dadosViagem}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isBlankWhenNull="true">
|
<textField isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="147" y="2" width="73" height="14" uuid="45bf8c43-5f02-4eef-9612-4b3e2932a43d"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="455" y="1" width="115" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$R{label.corrida}]]></textFieldExpression>
|
<textElement/>
|
||||||
</textField>
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.dadosAssento}]]></textFieldExpression>
|
||||||
<textField isBlankWhenNull="true">
|
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="220" y="2" width="93" height="14" uuid="c1a6e94b-f3e9-49cb-a5f1-72bf30c048e7"/>
|
|
||||||
<textFieldExpression><![CDATA[$R{label.desctipopassagem}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField isBlankWhenNull="true">
|
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="313" y="2" width="59" height="14" uuid="995885c2-1130-4481-aba4-3dbd60d05954"/>
|
|
||||||
<textFieldExpression><![CDATA[$R{label.numTelefone}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField isBlankWhenNull="true">
|
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="372" y="2" width="73" height="14" uuid="94716b6d-572c-444d-be5c-1f832f6aa28f"/>
|
|
||||||
<textFieldExpression><![CDATA[$R{label.desctipotarifa}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<line>
|
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="17" width="555" height="1" uuid="3eb7003d-9de9-45a1-8cd1-18a4baeae8f3"/>
|
|
||||||
</line>
|
|
||||||
<textField isBlankWhenNull="true">
|
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="445" y="2" width="50" height="14" uuid="3862c41a-5c58-48c6-a453-1ebe20815f33"/>
|
|
||||||
<textFieldExpression><![CDATA[$R{label.asiento}]]></textFieldExpression>
|
|
||||||
</textField>
|
|
||||||
<textField isBlankWhenNull="true">
|
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="495" y="2" width="60" height="14" uuid="4070b505-31dd-4648-967b-1c2c2be968e0"/>
|
|
||||||
<textFieldExpression><![CDATA[$R{label.fecHorViaje}]]></textFieldExpression>
|
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</columnHeader>
|
</columnHeader>
|
||||||
<detail>
|
<detail>
|
||||||
<band height="20" splitType="Stretch">
|
<band height="76" splitType="Stretch">
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="372" y="2" width="73" height="14" uuid="f5050785-de68-4903-9c94-19f1b71e7775"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="62" y="47" width="186" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{desctipotarifa}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{desctipotarifa}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="1" y="2" width="73" height="14" uuid="807393f3-2bae-4a3d-8731-e4adb94906f2"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="62" y="5" width="186" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{nomPasajero}]]></textFieldExpression>
|
<textElement>
|
||||||
|
<font size="10"/>
|
||||||
|
</textElement>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{nomPasajero}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="147" y="2" width="73" height="14" uuid="18151baa-ce8a-4f1c-ae04-fe9f8d73163e"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="495" y="19" width="75" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{corridaId}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.Integer"><![CDATA[$F{corridaId}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="313" y="2" width="59" height="14" uuid="e98c1ca1-3148-46fe-9357-b8bdc3cc753f"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="62" y="33" width="186" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{numTelefone}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{numTelefone}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="220" y="2" width="93" height="14" uuid="bcf168f5-d6eb-471f-8208-6879336752ac"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="310" y="19" width="141" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{desccategoria}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{desccategoria}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="74" y="2" width="73" height="14" uuid="0e61f607-1cd9-47c1-8adf-a68611399ae4"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="62" y="19" width="186" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{tipoNumDoc}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{tipoNumDoc}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="445" y="2" width="50" height="14" uuid="4abd2f06-20cb-410e-8847-f1a679a6cc7e"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="495" y="5" width="75" height="14"/>
|
||||||
<textElement textAlignment="Center"/>
|
<textElement/>
|
||||||
<textFieldExpression><![CDATA[$F{asiento}]]></textFieldExpression>
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{asiento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="310" y="33" width="85" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{fecHorViaje}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="495" y="2" width="60" height="14" uuid="aedd70cc-dfbc-4c2e-a0f3-c47dc29b4f6e"/>
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="3" y="5" width="59" height="14"/>
|
||||||
<textFieldExpression><![CDATA[$F{fecHorViaje}]]></textFieldExpression>
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.nomPasajero}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="3" y="19" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.numDoc}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="455" y="19" width="40" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.vagao}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="3" y="47" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.desctipotarifa}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="3" y="33" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.numTelefone}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="251" y="19" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.desctipopassagem}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="455" y="5" width="40" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.asiento}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="251" y="33" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.fecHorViaje}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<line>
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="3" width="570" height="1"/>
|
||||||
|
</line>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="251" y="5" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.corrida}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="310" y="5" width="141" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descRuta}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="3" y="61" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descEmail}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="62" y="61" width="186" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descEmail}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="310" y="47" width="141" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descOrigen}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="251" y="47" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descOrigen}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="251" y="61" width="59" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$R{label.descDestino}]]></textFieldExpression>
|
||||||
|
</textField>
|
||||||
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
||||||
|
<reportElement positionType="Float" stretchType="RelativeToTallestObject" x="310" y="61" width="141" height="14"/>
|
||||||
|
<textElement/>
|
||||||
|
<textFieldExpression class="java.lang.String"><![CDATA[$F{descDestino}]]></textFieldExpression>
|
||||||
</textField>
|
</textField>
|
||||||
</band>
|
</band>
|
||||||
</detail>
|
</detail>
|
||||||
|
|
|
@ -18,6 +18,7 @@ public class PacoteTarifaVoucher {
|
||||||
private String fecHorViaje;
|
private String fecHorViaje;
|
||||||
private String desccategoria;
|
private String desccategoria;
|
||||||
private Integer corridaId;
|
private Integer corridaId;
|
||||||
|
private String descRuta;
|
||||||
|
|
||||||
public String getNomPasajero() {
|
public String getNomPasajero() {
|
||||||
return nomPasajero;
|
return nomPasajero;
|
||||||
|
@ -146,4 +147,12 @@ public class PacoteTarifaVoucher {
|
||||||
this.corridaId = corridaId;
|
this.corridaId = corridaId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getDescRuta() {
|
||||||
|
return descRuta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDescRuta(String descRuta) {
|
||||||
|
this.descRuta = descRuta;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,7 @@ public class BusquedaManutencaoPacoteController extends MyGenericForwardComposer
|
||||||
}
|
}
|
||||||
|
|
||||||
enderecoApanheBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
enderecoApanheBusqueda.addFilterEqual("activo", Boolean.TRUE);
|
||||||
|
enderecoApanheBusqueda.addFilterNull("vendaPacote.motivoCancelVendaPacoteId");
|
||||||
plwEnderecoApanhe.init(enderecoApanheBusqueda, enderecoApanheList, pagingEnderecoApanhe);
|
plwEnderecoApanhe.init(enderecoApanheBusqueda, enderecoApanheList, pagingEnderecoApanhe);
|
||||||
|
|
||||||
if (enderecoApanheList.getData().length == 0) {
|
if (enderecoApanheList.getData().length == 0) {
|
||||||
|
|
Loading…
Reference in New Issue