fixes bug#16792

dev: Lucas Silverio
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@98774 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabio 2019-11-13 14:08:00 +00:00
parent 5a653ae3da
commit 9ecda39839
5 changed files with 344 additions and 113 deletions

View File

@ -10,6 +10,7 @@ import java.util.Map;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource; import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
import com.rjconsultores.ventaboletos.enums.IndStatusBoleto;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource; import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio; import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioCorridasBean; import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioCorridasBean;
@ -70,6 +71,7 @@ public class RelatorioCorridas extends Relatorio {
corrida.setClaseServicio((String) rset.getObject("claseServicio")); corrida.setClaseServicio((String) rset.getObject("claseServicio"));
corrida.setDataVenda((Date) rset.getObject("dataVenda")); corrida.setDataVenda((Date) rset.getObject("dataVenda"));
corrida.setDataViaje((Date) rset.getObject("dataViaje")); corrida.setDataViaje((Date) rset.getObject("dataViaje"));
corrida.setStatus( IndStatusBoleto.getDescricao( rset.getString("status") ));
BigDecimal tassas = BigDecimal.ZERO; BigDecimal tassas = BigDecimal.ZERO;
tassas = tassas.add(corrida.getImporteOutros() != null ? corrida.getImporteOutros() : BigDecimal.ZERO); tassas = tassas.add(corrida.getImporteOutros() != null ? corrida.getImporteOutros() : BigDecimal.ZERO);
@ -112,7 +114,8 @@ public class RelatorioCorridas extends Relatorio {
sb.append(" b.importeseguro as importeSeguro, "); sb.append(" b.importeseguro as importeSeguro, ");
sb.append(" b.preciopagado as precioPagado, "); sb.append(" b.preciopagado as precioPagado, ");
sb.append(" b.numkmviaje as numKmViaje, "); sb.append(" b.numkmviaje as numKmViaje, ");
sb.append(" cs.descclase as claseServicio "); sb.append(" cs.descclase as claseServicio, ");
sb.append(" b.INDSTATUSBOLETO as status ");
sb.append("from boleto b "); sb.append("from boleto b ");
sb.append(" left join marca m on m.marca_id = b.marca_id "); sb.append(" left join marca m on m.marca_id = b.marca_id ");
sb.append(" left join empresa e on e.empresa_id = m.empresa_id "); sb.append(" left join empresa e on e.empresa_id = m.empresa_id ");

View File

@ -18,7 +18,7 @@ label.claseServicio=Classe
label.origem=Origem label.origem=Origem
label.destino=Destino label.destino=Destino
label.numKmViaje=Distância label.numKmViaje=Distância
label.poltrona=Po. label.poltrona=Pol.
label.precioPagado=Tarifa label.precioPagado=Tarifa
label.precioTaxas=Taxas label.precioTaxas=Taxas
label.preco=Tarifa Total label.preco=Tarifa Total
@ -26,3 +26,4 @@ label.categoria=Tipo Pax
label.dataVenda=Data Compra label.dataVenda=Data Compra
label.pontoVenda=Agência label.pontoVenda=Agência
label.nomeUsuario=Bilheteiro label.nomeUsuario=Bilheteiro
label.status=Situaçăo

View File

@ -1,8 +1,13 @@
<?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="RelatorioCorridas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dc003bfe-c791-4f88-acc6-736e8c97f7e2"> <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="RelatorioCorridas" pageWidth="1205" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1165" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dc003bfe-c791-4f88-acc6-736e8c97f7e2">
<property name="ireport.zoom" value="2.0"/> <property name="ireport.zoom" value="1.5026296018031564"/>
<property name="ireport.x" value="625"/> <property name="ireport.x" value="766"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="title"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.3" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
<parameter name="EMPRESA" class="java.lang.String"/> <parameter name="EMPRESA" class="java.lang.String"/>
<parameter name="ORIGEN" class="java.lang.String"/> <parameter name="ORIGEN" class="java.lang.String"/>
<parameter name="DESTINO" class="java.lang.String"/> <parameter name="DESTINO" class="java.lang.String"/>
@ -26,318 +31,531 @@
<field name="precioPagado" class="java.math.BigDecimal"/> <field name="precioPagado" class="java.math.BigDecimal"/>
<field name="precioTaxas" class="java.math.BigDecimal"/> <field name="precioTaxas" class="java.math.BigDecimal"/>
<field name="claseServicio" class="java.lang.String"/> <field name="claseServicio" class="java.lang.String"/>
<field name="status" class="java.lang.String"/>
<background> <background>
<band splitType="Stretch"/> <band splitType="Stretch"/>
</background> </background>
<title> <title>
<band height="102" splitType="Stretch"> <band height="102" splitType="Stretch">
<textField> <textField>
<reportElement x="69" y="20" width="733" height="20" uuid="bdb170bb-bfe6-4ea2-8702-2df0b015cd7d"/> <reportElement x="141" y="20" width="1023" height="20" uuid="bdb170bb-bfe6-4ea2-8702-2df0b015cd7d"/>
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="0" y="0" width="653" height="20" uuid="f6fe1c2b-09af-45e6-9883-f6aa7fe3016c"/> <reportElement x="0" y="0" width="1015" height="20" uuid="f6fe1c2b-09af-45e6-9883-f6aa7fe3016c"/>
<textElement markup="none"> <textElement markup="none">
<font size="14" isBold="true"/> <font size="14" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{header.titulo.relatorio}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.titulo.relatorio}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="0" y="20" width="69" height="20" uuid="3d8e6261-3551-411a-ab47-8ed23e80f41e"/> <reportElement x="0" y="20" width="141" height="20" uuid="3d8e6261-3551-411a-ab47-8ed23e80f41e"/>
<textElement markup="none"/> <textElement markup="none"/>
<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="69" y="40" width="334" height="20" uuid="6c1cdde2-67c3-4a56-9744-5a4d249115f9"/> <reportElement x="141" y="40" width="371" height="20" uuid="6c1cdde2-67c3-4a56-9744-5a4d249115f9"/>
<textFieldExpression><![CDATA[$P{ORIGEN}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{ORIGEN}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="472" y="40" width="330" height="20" uuid="2879d620-3c3b-465f-9459-f94154b9e9c7"/> <reportElement x="591" y="40" width="463" height="20" uuid="2879d620-3c3b-465f-9459-f94154b9e9c7"/>
<textFieldExpression><![CDATA[$P{DESTINO}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DESTINO}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="69" y="60" width="334" height="20" uuid="06d06c40-6984-4a32-90e2-48e1d8cdcc9b"/> <reportElement x="141" y="60" width="1023" height="20" uuid="06d06c40-6984-4a32-90e2-48e1d8cdcc9b"/>
<textFieldExpression><![CDATA[$P{CORRIDA_ID}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{CORRIDA_ID}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="0" y="40" width="69" height="20" uuid="577578e8-3add-42a2-88c0-df7647b59844"/> <reportElement x="0" y="40" width="141" height="20" uuid="577578e8-3add-42a2-88c0-df7647b59844"/>
<textElement markup="none"/> <textElement markup="none"/>
<textFieldExpression><![CDATA[$R{header.origem}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.origem}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="403" y="40" width="69" height="20" uuid="4f697f82-2de4-4665-af6f-4cc16270d631"/> <reportElement x="512" y="40" width="79" height="20" uuid="4f697f82-2de4-4665-af6f-4cc16270d631"/>
<textElement markup="none"/> <textElement markup="none"/>
<textFieldExpression><![CDATA[$R{header.destino}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.destino}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="0" y="60" width="69" height="20" uuid="20a767f1-d0d5-4485-9d6c-3c762e97bc70"/> <reportElement x="0" y="60" width="141" height="20" uuid="20a767f1-d0d5-4485-9d6c-3c762e97bc70"/>
<textElement markup="none"/> <textElement markup="none"/>
<textFieldExpression><![CDATA[$R{header.servico}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.servico}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="653" y="0" width="149" height="20" uuid="96572021-01f9-4d05-938c-11ca5721f81c"/> <reportElement x="1015" y="0" width="149" height="20" uuid="96572021-01f9-4d05-938c-11ca5721f81c"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="0" y="80" width="69" height="20" uuid="e24ed6f5-a072-4bda-b735-ef26b59fa179"/> <reportElement x="0" y="80" width="141" height="20" uuid="e24ed6f5-a072-4bda-b735-ef26b59fa179"/>
<textElement markup="none"/> <textElement markup="none"/>
<textFieldExpression><![CDATA[$R{header.data.de}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.data.de}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement x="268" y="80" width="69" height="20" uuid="efc3193a-c42a-4935-95ee-84f086336574"/> <reportElement x="512" y="80" width="79" height="20" uuid="efc3193a-c42a-4935-95ee-84f086336574"/>
<textElement markup="none"/> <textElement markup="none"/>
<textFieldExpression><![CDATA[$R{header.data.ate}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{header.data.ate}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy"> <textField pattern="dd/MM/yyyy">
<reportElement x="69" y="80" width="199" height="20" uuid="110852df-8752-44d8-98ae-534a5cb8d5e2"/> <reportElement x="141" y="80" width="371" height="20" uuid="110852df-8752-44d8-98ae-534a5cb8d5e2"/>
<textFieldExpression><![CDATA[$P{DATA_DE}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_DE}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy"> <textField pattern="dd/MM/yyyy">
<reportElement x="337" y="80" width="218" height="20" uuid="4d410653-2490-49ff-b176-530feaeab535"/> <reportElement x="591" y="80" width="463" height="20" uuid="4d410653-2490-49ff-b176-530feaeab535"/>
<textFieldExpression><![CDATA[$P{DATA_ATE}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_ATE}]]></textFieldExpression>
</textField> </textField>
<line>
<reportElement x="0" y="100" width="802" height="1" uuid="7486e02d-1b43-45ab-b044-1a1d6ffdd364"/>
</line>
</band> </band>
</title> </title>
<pageHeader> <pageHeader>
<band splitType="Stretch"/> <band splitType="Stretch"/>
</pageHeader> </pageHeader>
<columnHeader> <columnHeader>
<band height="23" splitType="Stretch"> <band height="20" splitType="Stretch">
<textField> <textField isStretchWithOverflow="true">
<reportElement x="0" y="1" width="141" height="19" uuid="c06195d4-ba58-47be-aef7-1563b191de27"/> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="152" height="20" uuid="c06195d4-ba58-47be-aef7-1563b191de27"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none"> <textElement markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.nomePassageiro}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.nomePassageiro}]]></textFieldExpression>
</textField> </textField>
<line> <textField isStretchWithOverflow="true">
<reportElement x="0" y="20" width="802" height="2" uuid="c307d970-e769-4930-936c-4d96cc7569c7"/> <reportElement stretchType="RelativeToTallestObject" x="231" y="0" width="51" height="20" uuid="1ecd7528-3828-4cf5-a9c8-f85e07e4ba28"/>
</line> <box>
<textField> <topPen lineWidth="0.25"/>
<reportElement x="209" y="1" width="29" height="19" uuid="1ecd7528-3828-4cf5-a9c8-f85e07e4ba28"/> <leftPen lineWidth="0.25"/>
<textElement markup="none"> <bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.servico}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.servico}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="343" y="1" width="79" height="19" uuid="1f6c0d70-a694-43e9-8ad3-aebfb91eed3c"/> <reportElement stretchType="RelativeToTallestObject" x="422" y="0" width="90" height="20" uuid="1f6c0d70-a694-43e9-8ad3-aebfb91eed3c"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none"> <textElement markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.origem}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="422" y="1" width="68" height="19" uuid="d1cbc7f5-2632-46d4-a223-c97577604537"/> <reportElement stretchType="RelativeToTallestObject" x="512" y="0" width="90" height="20" uuid="d1cbc7f5-2632-46d4-a223-c97577604537"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none"> <textElement markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.destino}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="526" y="1" width="13" height="19" uuid="838fd9f8-3595-4eb7-8b1c-a593b306bce3"/> <reportElement stretchType="RelativeToTallestObject" x="649" y="0" width="31" height="20" uuid="838fd9f8-3595-4eb7-8b1c-a593b306bce3"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.poltrona}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.poltrona}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="238" y="1" width="27" height="19" uuid="162ffd2f-696a-459d-ae23-2df0b308fa43"/> <reportElement stretchType="RelativeToTallestObject" x="282" y="0" width="51" height="20" uuid="162ffd2f-696a-459d-ae23-2df0b308fa43"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.passagem}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.passagem}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="767" y="1" width="35" height="19" uuid="665d3109-cc8e-44d6-a15a-d62287df4330"/> <reportElement stretchType="RelativeToTallestObject" x="1054" y="0" width="46" height="20" uuid="665d3109-cc8e-44d6-a15a-d62287df4330"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none"> <textElement markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.nomeUsuario}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.nomeUsuario}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="735" y="1" width="32" height="19" uuid="1729b2fd-2ba3-40b0-851f-69f5349a8eb7"/> <reportElement stretchType="RelativeToTallestObject" x="964" y="0" width="90" height="20" uuid="1729b2fd-2ba3-40b0-851f-69f5349a8eb7"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none"> <textElement markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.pontoVenda}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.pontoVenda}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="141" y="1" width="68" height="19" uuid="a7946998-7bb2-4936-b0c4-c54ca8749dfa"/> <reportElement stretchType="RelativeToTallestObject" x="152" y="0" width="79" height="20" uuid="a7946998-7bb2-4936-b0c4-c54ca8749dfa"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none"> <textElement markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.dataViaje}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.dataViaje}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="265" y="1" width="78" height="19" uuid="1f8dae8e-1925-477d-b9de-059ba69c84f5"/> <reportElement stretchType="RelativeToTallestObject" x="333" y="0" width="89" height="20" uuid="1f8dae8e-1925-477d-b9de-059ba69c84f5"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.claseServicio}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.claseServicio}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="490" y="1" width="36" height="19" uuid="b0ab84b3-6e08-46f6-bf81-4c04b7ee39b0"/> <reportElement stretchType="RelativeToTallestObject" x="602" y="0" width="47" height="20" uuid="b0ab84b3-6e08-46f6-bf81-4c04b7ee39b0"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.numKmViaje}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.numKmViaje}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="539" y="1" width="29" height="19" uuid="21c168b8-f4de-4072-a332-f747335b42e1"/> <reportElement stretchType="RelativeToTallestObject" x="680" y="0" width="53" height="20" uuid="21c168b8-f4de-4072-a332-f747335b42e1"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.precioPagado}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.precioPagado}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="568" y="1" width="34" height="19" uuid="599cec9c-c85c-4b21-aca1-083af166804f"/> <reportElement stretchType="RelativeToTallestObject" x="733" y="0" width="53" height="20" uuid="599cec9c-c85c-4b21-aca1-083af166804f"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.precioTaxas}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.precioTaxas}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="602" y="1" width="42" height="19" uuid="59b102ac-758c-4143-b54c-3a8c209bd027"/> <reportElement stretchType="RelativeToTallestObject" x="786" y="0" width="53" height="20" uuid="59b102ac-758c-4143-b54c-3a8c209bd027"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.preco}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.preco}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="644" y="1" width="35" height="19" uuid="96250910-b2bf-49de-95d2-72465cce0769"/> <reportElement stretchType="RelativeToTallestObject" x="839" y="0" width="46" height="20" uuid="96250910-b2bf-49de-95d2-72465cce0769"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.categoria}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.categoria}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="679" y="1" width="56" height="19" uuid="d4abd954-bbc3-482b-bd2f-bfe2f030eaad"/> <reportElement stretchType="RelativeToTallestObject" x="885" y="0" width="79" height="20" uuid="d4abd954-bbc3-482b-bd2f-bfe2f030eaad"/>
<textElement markup="none"> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center" markup="none">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{label.dataVenda}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{label.dataVenda}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="1100" y="0" width="64" height="20" uuid="7ce2467d-e499-4572-b391-b4e0b0f787d8"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement markup="none">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.status}]]></textFieldExpression>
</textField>
</band> </band>
</columnHeader> </columnHeader>
<detail> <detail>
<band height="20" splitType="Stretch"> <band height="20" splitType="Stretch">
<textField> <textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="141" height="20" uuid="7a8c77d7-97f8-4e37-8ebc-97c6ab05eaed"/> <reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="152" height="20" uuid="7a8c77d7-97f8-4e37-8ebc-97c6ab05eaed"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement> <textElement>
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{nomePassageiro}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{nomePassageiro}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="209" y="0" width="29" height="20" uuid="b31c9ab2-0cfe-4db1-83ca-57aba183a88b"/> <reportElement stretchType="RelativeToTallestObject" x="231" y="0" width="51" height="20" uuid="b31c9ab2-0cfe-4db1-83ca-57aba183a88b"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="343" y="0" width="79" height="20" uuid="4768cf26-74b8-48a5-b8eb-cbcc63d5d968"/> <reportElement stretchType="RelativeToTallestObject" x="422" y="0" width="90" height="20" uuid="4768cf26-74b8-48a5-b8eb-cbcc63d5d968"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement> <textElement>
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{origem}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm"> <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
<reportElement x="141" y="0" width="68" height="20" uuid="301029ea-db8d-48bd-8e13-ed67f6140081"/> <reportElement stretchType="RelativeToTallestObject" x="152" y="0" width="79" height="20" uuid="301029ea-db8d-48bd-8e13-ed67f6140081"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement> <textElement>
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dataViaje}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{dataViaje}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="238" y="0" width="27" height="20" uuid="7da11eed-f034-4eb3-bba2-0c7547074136"/> <reportElement stretchType="RelativeToTallestObject" x="282" y="0" width="51" height="20" uuid="7da11eed-f034-4eb3-bba2-0c7547074136"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{passagem}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{passagem}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="422" y="0" width="68" height="20" uuid="2cdbea3c-5b25-4bd1-b7ae-d5ed59952e57"/> <reportElement stretchType="RelativeToTallestObject" x="512" y="0" width="90" height="20" uuid="2cdbea3c-5b25-4bd1-b7ae-d5ed59952e57"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement> <textElement>
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{destino}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="768" y="0" width="35" height="20" uuid="24943be4-e486-40ec-8ddf-1d055c0d4d48"/> <reportElement stretchType="RelativeToTallestObject" x="1054" y="0" width="46" height="20" uuid="24943be4-e486-40ec-8ddf-1d055c0d4d48"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement> <textElement>
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{nomeUsuario}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{nomeUsuario}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="735" y="0" width="33" height="20" uuid="a1e05674-d013-4612-8bcd-0f08cc68849f"/> <reportElement stretchType="RelativeToTallestObject" x="964" y="0" width="90" height="20" uuid="a1e05674-d013-4612-8bcd-0f08cc68849f"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement> <textElement>
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{pontoVenda}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{pontoVenda}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="526" y="0" width="13" height="20" uuid="cf5d37e0-ce0e-4089-bcaa-edf01bf46fc3"/> <reportElement stretchType="RelativeToTallestObject" x="649" y="0" width="31" height="20" uuid="cf5d37e0-ce0e-4089-bcaa-edf01bf46fc3"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{poltrona}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{poltrona}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="490" y="0" width="36" height="20" uuid="21f02b6f-9b56-46ef-af2f-3a602603e8a8"/> <reportElement stretchType="RelativeToTallestObject" x="602" y="0" width="47" height="20" uuid="21f02b6f-9b56-46ef-af2f-3a602603e8a8"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{numKmViaje}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{numKmViaje}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement x="539" y="0" width="29" height="20" uuid="5a0bd7e9-4f49-4024-8b2b-6444f3f23cb4"/> <reportElement stretchType="RelativeToTallestObject" x="680" y="0" width="53" height="20" uuid="5a0bd7e9-4f49-4024-8b2b-6444f3f23cb4"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{precioPagado}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{precioPagado}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement x="568" y="0" width="34" height="20" uuid="0682a7fc-c7f6-4494-afeb-4d4267136edb"/> <reportElement stretchType="RelativeToTallestObject" x="733" y="0" width="53" height="20" uuid="0682a7fc-c7f6-4494-afeb-4d4267136edb"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{precioTaxas}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{precioTaxas}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField isStretchWithOverflow="true" pattern="#,##0.00">
<reportElement x="602" y="0" width="42" height="20" uuid="668a4faf-a3c9-48a6-9724-3072d7455b25"/> <reportElement stretchType="RelativeToTallestObject" x="786" y="0" width="53" height="20" uuid="668a4faf-a3c9-48a6-9724-3072d7455b25"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{preco}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{preco}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="644" y="0" width="35" height="20" uuid="a3487a1b-d380-47f5-857b-b70e10504790"/> <reportElement stretchType="RelativeToTallestObject" x="839" y="0" width="46" height="20" uuid="a3487a1b-d380-47f5-857b-b70e10504790"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{categoria}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{categoria}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm"> <textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm">
<reportElement x="679" y="0" width="56" height="20" uuid="da7ad02c-f0d2-46c8-8c86-0a6dcc32f606"/> <reportElement stretchType="RelativeToTallestObject" x="885" y="0" width="79" height="20" uuid="da7ad02c-f0d2-46c8-8c86-0a6dcc32f606"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{dataVenda}]]></textFieldExpression>
</textField> </textField>
<textField> <textField isStretchWithOverflow="true">
<reportElement x="265" y="0" width="78" height="20" uuid="1f7cb37d-4f34-448b-9438-b4a2b858552e"/> <reportElement stretchType="RelativeToTallestObject" x="333" y="0" width="89" height="20" uuid="1f7cb37d-4f34-448b-9438-b4a2b858552e"/>
<textElement> <box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement textAlignment="Center">
<font size="7"/> <font size="7"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{claseServicio}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{claseServicio}]]></textFieldExpression>
</textField> </textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="1100" y="0" width="64" height="20" uuid="92b1e15f-1ce3-416e-b83e-e20625cf5734"/>
<box>
<topPen lineWidth="0.25"/>
<leftPen lineWidth="0.25"/>
<bottomPen lineWidth="0.25"/>
<rightPen lineWidth="0.25"/>
</box>
<textElement>
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
</textField>
</band> </band>
</detail> </detail>
<columnFooter> <columnFooter>
@ -350,9 +568,9 @@
<band splitType="Stretch"/> <band splitType="Stretch"/>
</summary> </summary>
<noData> <noData>
<band height="50"> <band height="35">
<textField> <textField>
<reportElement x="159" y="16" width="530" height="20" uuid="ed192bd7-4c3c-4f7f-a805-6d71234d513c"/> <reportElement x="0" y="8" width="910" height="20" uuid="ed192bd7-4c3c-4f7f-a805-6d71234d513c"/>
<textElement markup="none"> <textElement markup="none">
<font size="11" isBold="true"/> <font size="11" isBold="true"/>
</textElement> </textElement>

View File

@ -19,6 +19,7 @@ public class RelatorioCorridasBean {
private String tipoPagamento; private String tipoPagamento;
private String categoria; private String categoria;
private String empresa; private String empresa;
private String status;
private BigDecimal importeTaxaEmbarque; private BigDecimal importeTaxaEmbarque;
private BigDecimal importePedagio; private BigDecimal importePedagio;
private BigDecimal importeOutros; private BigDecimal importeOutros;
@ -216,4 +217,12 @@ public class RelatorioCorridasBean {
this.claseServicio = claseServicio; this.claseServicio = claseServicio;
} }
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
} }