Fixes Bug #0009492
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@73154 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0a511364a4
commit
6037e3d792
|
@ -53,6 +53,7 @@ public class RelatorioBilhetesVendidos extends Relatorio {
|
|||
sql.append(" B.NUMASIENTO NUMASIENTO, ");
|
||||
sql.append(" ct.DESCCATEGORIA CATEGORIA, ");
|
||||
sql.append(" R.INDSENTIDOIDA SENTIDO, ");
|
||||
sql.append(" R.RUTA_ID COD_LINHA, ");
|
||||
sql.append(" R.DESCRUTA DESC_LINHA, ");
|
||||
sql.append(" B.INDSTATUSBOLETO STATUS_PASSAGEM, ");
|
||||
sql.append(" B.PRECIOPAGADO TARIFA, ");
|
||||
|
@ -126,6 +127,7 @@ public class RelatorioBilhetesVendidos extends Relatorio {
|
|||
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());
|
||||
|
|
Binary file not shown.
|
@ -1,7 +1,7 @@
|
|||
<?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="RelatorioVendasBilheteiro" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b92fb063-a827-4619-8a69-5c78e3afbb8c">
|
||||
<property name="ireport.zoom" value="3.890613690150015"/>
|
||||
<property name="ireport.x" value="1093"/>
|
||||
<property name="ireport.x" value="2280"/>
|
||||
<property name="ireport.y" value="287"/>
|
||||
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
|
||||
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
|
||||
|
@ -56,6 +56,7 @@
|
|||
<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"/>
|
||||
<background>
|
||||
<band splitType="Stretch"/>
|
||||
</background>
|
||||
|
@ -184,7 +185,7 @@
|
|||
<text><![CDATA[Pré-Impresso]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="6adaca80-9b5a-4a03-a80b-5eeed4894d7f" mode="Transparent" x="161" y="0" width="57" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement uuid="6adaca80-9b5a-4a03-a80b-5eeed4894d7f" mode="Transparent" x="138" y="0" width="80" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" 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"/>
|
||||
|
@ -200,7 +201,7 @@
|
|||
<text><![CDATA[Serviço]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c" mode="Transparent" x="300" y="0" width="37" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement uuid="a39ab8f3-becb-44e3-b4f5-b7c43889508c" mode="Transparent" x="333" y="0" width="37" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" 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"/>
|
||||
|
@ -223,7 +224,7 @@
|
|||
<text><![CDATA[Série]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="c0542d93-dde4-448d-932c-453d6a4a6882" mode="Transparent" x="241" y="0" width="59" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement uuid="c0542d93-dde4-448d-932c-453d6a4a6882" mode="Transparent" x="218" y="0" width="82" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" 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"/>
|
||||
|
@ -244,7 +245,7 @@
|
|||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Data]]></text>
|
||||
<text><![CDATA[Data Venda]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="0452264c-0f27-46d6-84ad-0fba6e5abdfa" mode="Transparent" x="508" y="0" width="30" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
|
@ -271,7 +272,7 @@
|
|||
<text><![CDATA[Sentido]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="f00ced65-e4ea-4332-87d4-0674493f0f87" mode="Transparent" x="643" y="0" width="53" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement uuid="f00ced65-e4ea-4332-87d4-0674493f0f87" mode="Transparent" x="669" y="0" width="27" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" 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"/>
|
||||
|
@ -279,7 +280,7 @@
|
|||
<text><![CDATA[Status]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="235c8f23-9c13-48cd-ab7a-e74363424caf" x="614" y="0" width="29" height="24"/>
|
||||
<reportElement uuid="235c8f23-9c13-48cd-ab7a-e74363424caf" x="640" y="0" width="29" height="24"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
|
@ -318,27 +319,20 @@
|
|||
<text><![CDATA[Seg]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="176be882-10fc-461c-9c0e-c7d2118f0c70" x="138" y="0" width="23" height="24"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Cod. Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="76d63556-7dad-424f-9ebd-43701f7f1071" x="218" y="0" width="23" height="24"/>
|
||||
<textElement textAlignment="Left">
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Cod. Origem]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="080714b4-2432-47b4-aef8-189ee5161e9b" mode="Transparent" x="337" y="0" width="33" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<reportElement uuid="080714b4-2432-47b4-aef8-189ee5161e9b" mode="Transparent" x="300" y="0" width="33" height="24" forecolor="#000000" backcolor="#FFFFFF"/>
|
||||
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
|
||||
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
|
||||
<paragraph lineSpacing="Single"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Cod. Agência]]></text>
|
||||
</staticText>
|
||||
<staticText>
|
||||
<reportElement uuid="cbaa75b2-d156-4324-94b5-4f633008d9ce" x="614" y="0" width="26" height="24"/>
|
||||
<textElement>
|
||||
<font size="7"/>
|
||||
</textElement>
|
||||
<text><![CDATA[Cod. Linha]]></text>
|
||||
</staticText>
|
||||
</band>
|
||||
</columnHeader>
|
||||
<detail>
|
||||
|
@ -364,17 +358,17 @@
|
|||
<textFieldExpression><![CDATA[$F{PRE_IMPRESSO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39" x="161" y="0" width="57" height="25"/>
|
||||
<reportElement uuid="4cd8a33f-6aaa-47cb-949e-38c6b74d3d39" x="138" y="0" width="80" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{ORIGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" x="241" y="0" width="59" height="25"/>
|
||||
<reportElement uuid="17011486-0d4c-4e22-b534-48e0bb025673" x="218" y="0" width="82" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" x="300" y="0" width="37" height="25"/>
|
||||
<reportElement uuid="a89c84e4-0e13-4e85-a565-9eb0bc6e5423" x="333" y="0" width="37" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{NOME_AGENCIA}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -414,12 +408,12 @@
|
|||
<textFieldExpression><![CDATA[$F{SENTIDO} == 0 ? "I" : "V"]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd" x="643" y="0" width="53" height="25"/>
|
||||
<reportElement uuid="27ec5d64-d949-4b02-a4a7-d6c5db93b3bd" x="669" y="0" width="27" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{STATUS_PASSAGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="614" y="0" width="29" height="25"/>
|
||||
<reportElement uuid="f5f01da5-4ea3-41ba-8b58-b1f7e8e70601" x="640" y="0" width="29" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{DESC_LINHA}]]></textFieldExpression>
|
||||
</textField>
|
||||
|
@ -444,20 +438,15 @@
|
|||
<textFieldExpression><![CDATA[$F{SEGURO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="d0b37a69-49e5-4e8f-98a0-35fec86a1054" x="138" y="0" width="23" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{COD_ORIGEM}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="dc216042-6ad7-4e51-a2f9-929e71f179d2" x="218" y="0" width="23" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{COD_DESTINO}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="d605e0d8-31b2-45d6-9e05-c200cfd49896" x="337" y="0" width="33" height="25"/>
|
||||
<reportElement uuid="d605e0d8-31b2-45d6-9e05-c200cfd49896" x="300" y="0" width="33" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{COD_AGENCIA}]]></textFieldExpression>
|
||||
</textField>
|
||||
<textField pattern="" isBlankWhenNull="true">
|
||||
<reportElement uuid="6095d523-240a-4ba2-bd94-73ce9f851c9a" x="614" y="0" width="26" height="25"/>
|
||||
<textElement textAlignment="Left"/>
|
||||
<textFieldExpression><![CDATA[$F{COD_LINHA}]]></textFieldExpression>
|
||||
</textField>
|
||||
</band>
|
||||
</detail>
|
||||
<noData>
|
||||
|
|
Loading…
Reference in New Issue