fixes bug#20984

qua:
dev:Valdevir


git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@104910 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2020-12-31 20:16:21 +00:00
parent e0215153c8
commit 8be6e472f4
8 changed files with 1218 additions and 153 deletions

View File

@ -1,8 +1,8 @@
<?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="RelatorioResumoLinhasAnalitico" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2"> <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="RelatorioResumoLinhasAnalitico" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
<property name="ireport.zoom" value="2.000000000000002"/> <property name="ireport.zoom" value="2.000000000000002"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="452"/>
<property name="ireport.y" value="116"/> <property name="ireport.y" value="57"/>
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<style name="table"> <style name="table">
<box> <box>
@ -36,6 +36,7 @@
<parameter name="FILTROS" class="java.lang.String"/> <parameter name="FILTROS" class="java.lang.String"/>
<parameter name="GRUPORUTA_ID" class="java.lang.Integer"/> <parameter name="GRUPORUTA_ID" class="java.lang.Integer"/>
<parameter name="DATA" class="java.util.Date"/> <parameter name="DATA" class="java.util.Date"/>
<parameter name="NOME_USUARIO" class="java.lang.String"/>
<queryString> <queryString>
<![CDATA[SELECT TAB.*, <![CDATA[SELECT TAB.*,
ROUND((SELECT SUM((DECODE(NVL(TR.CANTKMREAL,0), 0, 1, NVL(TR.CANTKMREAL,0)) / ROUND((SELECT SUM((DECODE(NVL(TR.CANTKMREAL,0), 0, 1, NVL(TR.CANTKMREAL,0)) /
@ -131,34 +132,34 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<group name="RUTA"> <group name="RUTA">
<groupExpression><![CDATA[$F{NUMRUTA}]]></groupExpression> <groupExpression><![CDATA[$F{NUMRUTA}]]></groupExpression>
<groupHeader> <groupHeader>
<band height="32"> <band height="31">
<staticText> <staticText>
<reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="0" y="18" width="50" height="11"/> <reportElement uuid="9c579f27-ee14-4804-b73d-64994a6e41ec" x="0" y="18" width="50" height="11"/>
<textElement> <textElement>
<font size="8"/> <font size="8" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Data]]></text> <text><![CDATA[Data]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="50" y="18" width="64" height="11"/> <reportElement uuid="7b8a8f38-e513-4a8c-a82b-a9c6ffd21f6f" x="111" y="18" width="64" height="11"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Passageiros]]></text> <text><![CDATA[Passageiros]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526" x="114" y="18" width="42" height="11"/> <reportElement uuid="4f8fcbb3-73e7-4b15-9687-30ff12bb1526" x="224" y="17" width="42" height="11"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8" isBold="true"/>
</textElement> </textElement>
<text><![CDATA[Viagens]]></text> <text><![CDATA[Viagens]]></text>
</staticText> </staticText>
<textField> <textField>
<reportElement uuid="9e40c4ad-b386-4e8a-9d84-977a27bfebcc" x="0" y="3" width="554" height="13"/> <reportElement uuid="9e40c4ad-b386-4e8a-9d84-977a27bfebcc" mode="Opaque" x="0" y="2" width="30" height="12" backcolor="#CDCDCD"/>
<textElement> <textElement verticalAlignment="Bottom">
<font size="9"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{NUMRUTA}+" - "+$F{DESCRUTA}+" Extensão: "+new java.text.DecimalFormat("###0.00").format($F{EXTENSAO_KM})+" Empresa: "+$P{EMPRESA}+" Sentido: "+($F{INDSENTIDOIDA} == 0 ? "Ida" : "Volta")]]></textFieldExpression> <textFieldExpression><![CDATA["Linha: "]]></textFieldExpression>
</textField> </textField>
<line> <line>
<reportElement uuid="afaaa1cf-1a3e-4a42-9fa3-e634a66fc3d3" x="0" y="1" width="554" height="1"/> <reportElement uuid="afaaa1cf-1a3e-4a42-9fa3-e634a66fc3d3" x="0" y="1" width="554" height="1"/>
@ -179,36 +180,85 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
</graphicElement> </graphicElement>
</line> </line>
<staticText> <staticText>
<reportElement uuid="7b817589-f754-49f1-bf53-856be52946fb" mode="Transparent" x="156" y="18" width="65" height="11" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="7b817589-f754-49f1-bf53-856be52946fb" mode="Transparent" x="313" y="18" width="65" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<text><![CDATA[KM Rodados]]></text> <text><![CDATA[KM Rodados]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement uuid="4e931a04-04b4-41b7-90c2-e66083daf0fe" mode="Transparent" x="221" y="18" width="98" height="11" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="4e931a04-04b4-41b7-90c2-e66083daf0fe" mode="Transparent" x="417" y="18" width="98" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<text><![CDATA[PAX. KM]]></text> <text><![CDATA[PAX. KM]]></text>
</staticText> </staticText>
<textField>
<reportElement uuid="d97e582d-1e88-4841-8aa4-bc589f2a486a" mode="Opaque" x="28" y="2" width="184" height="12" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Bottom">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{NUMRUTA}+" - "+$F{DESCRUTA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="a2466836-6444-4afd-95e0-b920d2514a9b" mode="Opaque" x="212" y="2" width="54" height="12" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Extensão: "]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="f4196d5c-5656-42cb-8f0e-c200044c844a" mode="Opaque" x="266" y="2" width="69" height="12" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Bottom">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[new java.text.DecimalFormat("###0.00").format($F{EXTENSAO_KM})]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="019480ff-577f-48a2-9bcc-984c592b308a" mode="Opaque" x="335" y="2" width="43" height="12" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Empresa: "]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="8697043c-3c96-4ead-9a13-b22febaba3b5" mode="Opaque" x="378" y="2" width="95" height="12" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Bottom">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="14af2efb-fe6b-4be6-ae66-43a2ce8ed03a" mode="Opaque" x="473" y="2" width="42" height="12" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Bottom">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA["Sentido: "]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="238edf00-2a59-4367-ab86-62aea2afd2ab" mode="Opaque" x="515" y="2" width="39" height="12" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Bottom">
<font size="7"/>
</textElement>
<textFieldExpression><![CDATA[$F{INDSENTIDOIDA} == 0 ? "Ida" : "Volta"]]></textFieldExpression>
</textField>
</band> </band>
</groupHeader> </groupHeader>
<groupFooter> <groupFooter>
<band height="20"> <band height="20">
<textField> <textField>
<reportElement uuid="102eebb5-25f0-4175-ab9b-78fbca54bc06" x="50" y="1" width="64" height="13"/> <reportElement uuid="102eebb5-25f0-4175-ab9b-78fbca54bc06" x="111" y="1" width="64" height="13"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PASSAGEIROS_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PASSAGEIROS_1}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="9f6ea621-a236-429f-bb13-ae57118ff5b3" x="114" y="1" width="42" height="12"/> <reportElement uuid="9f6ea621-a236-429f-bb13-ae57118ff5b3" x="224" y="0" width="42" height="12"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_1}]]></textFieldExpression>
</textField> </textField>
@ -219,20 +269,27 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
</graphicElement> </graphicElement>
</line> </line>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="3a2d351f-134e-43d6-acea-e3556fc61897" x="156" y="1" width="65" height="12"/> <reportElement uuid="3a2d351f-134e-43d6-acea-e3556fc61897" x="313" y="2" width="65" height="12"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{EXTENSAO_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{EXTENSAO_1}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="false"> <textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="7fc513ea-f587-433c-88fa-6357bdb9ed55" mode="Transparent" x="221" y="1" width="98" height="12" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="7fc513ea-f587-433c-88fa-6357bdb9ed55" mode="Transparent" x="417" y="2" width="98" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PAX_KM_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PAX_KM_1}]]></textFieldExpression>
</textField> </textField>
<staticText>
<reportElement uuid="984a2f82-b446-4dc7-8202-0d092824ee4d" x="0" y="1" width="50" height="11"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<text><![CDATA[Total:]]></text>
</staticText>
</band> </band>
</groupFooter> </groupFooter>
</group> </group>
@ -240,9 +297,9 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<band splitType="Stretch"/> <band splitType="Stretch"/>
</background> </background>
<pageHeader> <pageHeader>
<band height="79" splitType="Stretch"> <band height="66" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Transparent" x="0" y="21" width="296" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="2ed4524d-5c06-487c-a8f1-abc59a8ef7fc" mode="Opaque" x="0" y="21" width="443" height="15" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -250,7 +307,7 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Transparent" x="0" y="36" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="fc199edd-4f2f-4b5f-9397-44f4af50a920" mode="Opaque" x="0" y="36" width="50" height="15" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -258,7 +315,7 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Transparent" x="50" y="36" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="f64c2e3c-d936-4072-a0b1-d914f408bbbb" mode="Opaque" x="50" y="36" width="61" height="15" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -266,7 +323,7 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Transparent" x="111" y="36" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="00093c35-d3a5-4b0e-8a7a-26a86912dd25" mode="Opaque" x="111" y="36" width="332" height="15" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -282,7 +339,7 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="5dfea5f4-257a-43bc-94cb-bdead81ef7ac" mode="Transparent" x="0" y="1" width="296" height="20" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="5dfea5f4-257a-43bc-94cb-bdead81ef7ac" mode="Opaque" x="0" y="0" width="417" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -290,33 +347,30 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Transparent" x="463" y="2" width="91" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="ea4dfc22-27b5-4600-8e8b-7d74460ed744" mode="Opaque" x="463" y="0" width="92" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField> </textField>
<line>
<reportElement uuid="d9b398e6-2fe9-4a3d-bceb-f9db7a06e5a9" x="0" y="50" width="554" height="1"/>
</line>
<textField> <textField>
<reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" x="383" y="2" width="80" height="15"/> <reportElement uuid="a46c91f5-fb60-48d8-93c1-3814ce0160dd" mode="Opaque" x="417" y="0" width="46" height="21" backcolor="#CDCDCD"/>
<textElement textAlignment="Right"> <textElement>
<font size="9" isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Transparent" x="383" y="34" width="171" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="623b5d82-e7b3-4439-96c5-f44833fb8864" mode="Opaque" x="417" y="34" width="138" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}+"-"+$P{NOME_USUARIO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Transparent" x="0" y="51" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="ccec8b66-ed79-418b-b66d-15d9ed3bf2ce" mode="Opaque" x="0" y="51" width="50" height="15" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -324,48 +378,32 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" x="50" y="51" width="505" height="14"/> <reportElement uuid="98fc1c7e-3fee-4c70-924f-2cbb17fd243f" mode="Opaque" x="50" y="51" width="505" height="15" backcolor="#CDCDCD"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Transparent" x="383" y="18" width="159" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="6aae4c9b-2e2a-4fd5-9115-760449d3c263" mode="Opaque" x="417" y="21" width="125" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField> </textField>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false"> <textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Transparent" x="542" y="18" width="12" height="15" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="5a57c3a1-ed8e-46fb-836f-d250116a238a" mode="Opaque" x="542" y="21" width="13" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="77463b2d-5ef3-445a-a7b6-f22eb271387c" mode="Transparent" x="0" y="65" width="50" height="13" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA["Data:"]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="6ff72302-1d83-4131-ab66-3ae0dbeb8b39" mode="Transparent" x="50" y="65" width="64" height="13" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA}]]></textFieldExpression>
</textField>
</band> </band>
</pageHeader> </pageHeader>
<detail> <detail>
<band height="12"> <band height="13">
<textField pattern="dd/MM/yyyy"> <textField pattern="dd/MM/yyyy">
<reportElement uuid="ee9c23bd-e562-43d1-a766-851d09848504" x="0" y="0" width="50" height="12"/> <reportElement uuid="ee9c23bd-e562-43d1-a766-851d09848504" x="0" y="0" width="50" height="12"/>
<textElement> <textElement>
@ -374,34 +412,34 @@ WHERE NVL(TAB.EXTENSAO_KM,0) != 0]]>
<textFieldExpression><![CDATA[$F{FECCORRIDA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{FECCORRIDA}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="9557122b-0661-4f5e-9a89-b0bfd74dabe3" x="50" y="0" width="64" height="12"/> <reportElement uuid="9557122b-0661-4f5e-9a89-b0bfd74dabe3" x="111" y="0" width="64" height="12"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{PASSAGEIROS}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{PASSAGEIROS}]]></textFieldExpression>
</textField> </textField>
<textField>
<reportElement uuid="01a234c4-7c30-4ac3-9a7c-dc09d0ebe314" x="114" y="0" width="42" height="12"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{VIAGENS}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<reportElement uuid="21f73b7d-c377-4047-9960-41e085463aa0" x="156" y="0" width="65" height="12"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{VIAGENS}.multiply($F{EXTENSAO_KM})]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="false"> <textField pattern="#,##0.00" isBlankWhenNull="false">
<reportElement uuid="beb097c0-f4c1-4fe3-a62e-badfdf823c0c" mode="Transparent" x="221" y="0" width="98" height="12" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="beb097c0-f4c1-4fe3-a62e-badfdf823c0c" mode="Transparent" x="417" y="0" width="98" height="12" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{PAX_KM}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{PAX_KM}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00">
<reportElement uuid="21f73b7d-c377-4047-9960-41e085463aa0" x="313" y="1" width="65" height="12"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{VIAGENS}.multiply($F{EXTENSAO_KM})]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="01a234c4-7c30-4ac3-9a7c-dc09d0ebe314" x="224" y="1" width="42" height="12"/>
<textElement textAlignment="Right">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{VIAGENS}]]></textFieldExpression>
</textField>
</band> </band>
</detail> </detail>
<noData> <noData>

View File

@ -1,7 +1,7 @@
<?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="RelatorioResumoLinhas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2"> <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="RelatorioResumoLinhas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
<property name="ireport.zoom" value="3.138428376721017"/> <property name="ireport.zoom" value="3.138428376721017"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="1946"/>
<property name="ireport.y" value="0"/> <property name="ireport.y" value="0"/>
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<style name="table"> <style name="table">
@ -35,6 +35,7 @@
<parameter name="USUARIO" class="java.lang.String"/> <parameter name="USUARIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/> <parameter name="FILTROS" class="java.lang.String"/>
<parameter name="GRUPORUTA_ID" class="java.lang.Integer"/> <parameter name="GRUPORUTA_ID" class="java.lang.Integer"/>
<parameter name="NOME_USUARIO" class="java.lang.String"/>
<queryString> <queryString>
<![CDATA[SELECT SUB.*, <![CDATA[SELECT SUB.*,
(NVL(SUB.PASSAGEIROS,0) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS PASSAGEIROS_MPA, (NVL(SUB.PASSAGEIROS,0) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS PASSAGEIROS_MPA,
@ -639,7 +640,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<pageHeader> <pageHeader>
<band height="83" splitType="Stretch"> <band height="83" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="4c19b162-dfd6-48b7-b393-b7203a1bcd68" mode="Transparent" x="0" y="21" width="300" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="4c19b162-dfd6-48b7-b393-b7203a1bcd68" mode="Opaque" x="0" y="21" width="300" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -647,7 +648,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="886fdbb8-b6c4-4ba1-98b8-15d9047cec7f" mode="Transparent" x="0" y="35" width="156" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="886fdbb8-b6c4-4ba1-98b8-15d9047cec7f" mode="Opaque" x="0" y="34" width="156" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -655,7 +656,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="18ea34bb-d251-4e11-8589-235007cb2544" mode="Transparent" x="156" y="35" width="82" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="18ea34bb-d251-4e11-8589-235007cb2544" mode="Opaque" x="156" y="34" width="82" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -663,7 +664,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="68db054c-7950-4088-9373-de44bff98b7c" mode="Transparent" x="372" y="35" width="138" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="68db054c-7950-4088-9373-de44bff98b7c" mode="Opaque" x="300" y="35" width="140" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -671,7 +672,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="b137a935-0ee3-4e32-9f1e-81eaae50fb0c" mode="Transparent" x="238" y="35" width="62" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="b137a935-0ee3-4e32-9f1e-81eaae50fb0c" mode="Opaque" x="238" y="34" width="62" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -679,7 +680,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="06a3d1b5-6685-4431-9578-dc0df27ee598" mode="Transparent" x="0" y="1" width="300" height="20" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="06a3d1b5-6685-4431-9578-dc0df27ee598" mode="Opaque" x="0" y="0" width="300" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -687,38 +688,38 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="ee4f1d8d-ab87-49b7-af10-578709b54e88" mode="Transparent" x="695" y="2" width="106" height="19" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="ee4f1d8d-ab87-49b7-af10-578709b54e88" mode="Opaque" x="712" y="0" width="90" height="22" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="87a53987-9821-4624-b0e0-e28617218944" x="514" y="2" width="181" height="19"/> <reportElement uuid="87a53987-9821-4624-b0e0-e28617218944" mode="Opaque" x="623" y="0" width="89" height="22" backcolor="#CDCDCD"/>
<textElement textAlignment="Right"> <textElement>
<font size="9" isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="43a80a09-d61c-47e9-bf58-4463f67dae6f" mode="Transparent" x="623" y="22" width="113" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="43a80a09-d61c-47e9-bf58-4463f67dae6f" mode="Opaque" x="623" y="22" width="89" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="aba1011b-5b9f-4f9f-82da-b60daa0aec6e" mode="Transparent" x="623" y="35" width="178" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="aba1011b-5b9f-4f9f-82da-b60daa0aec6e" mode="Opaque" x="623" y="35" width="89" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.impressorPor}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="3aa0af99-e71b-4318-aec2-b466c14702db" mode="Transparent" x="0" y="52" width="156" height="14" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="3aa0af99-e71b-4318-aec2-b466c14702db" mode="Opaque" x="0" y="48" width="156" height="18" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -726,7 +727,7 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="cbbf0c9d-061e-4da8-bfa8-4edf2affada5" x="156" y="52" width="645" height="14"/> <reportElement uuid="cbbf0c9d-061e-4da8-bfa8-4edf2affada5" mode="Opaque" x="156" y="48" width="646" height="18" backcolor="#CDCDCD"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
@ -736,13 +737,49 @@ ORDER BY SUB.DESCRUTA, SUB.INDSENTIDOIDA, SUB.ASSENTOS, SUB.TARIFA]]>
<reportElement uuid="db16cef4-cd72-45c5-8469-459c9ab3e032" x="0" y="75" width="801" height="1"/> <reportElement uuid="db16cef4-cd72-45c5-8469-459c9ab3e032" x="0" y="75" width="801" height="1"/>
</line> </line>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false"> <textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="636d549e-b5c2-4b0e-84a7-a80b2e3c88ca" mode="Transparent" x="736" y="22" width="65" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="636d549e-b5c2-4b0e-84a7-a80b2e3c88ca" mode="Opaque" x="712" y="22" width="90" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="ffd8fae1-678e-43ea-9523-a0c6e50e7514" mode="Opaque" x="712" y="35" width="90" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{NOME_USUARIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="774ceb19-942f-452e-a665-9450dcd0cbed" mode="Opaque" x="300" y="0" width="183" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="8bba99fc-f5f0-4a6c-bca4-36bb6b70d0ab" mode="Opaque" x="300" y="21" width="323" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="b6e8ac0b-eb19-4119-9dfc-ec7664f984f1" mode="Opaque" x="483" y="0" width="140" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="559f504c-5e25-4293-8439-655755954452" mode="Opaque" x="440" y="34" width="183" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
</band> </band>
</pageHeader> </pageHeader>
<columnHeader> <columnHeader>

View File

@ -0,0 +1,906 @@
<?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="RelatorioResumoLinhas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
<property name="ireport.zoom" value="3.138428376721017"/>
<property name="ireport.x" value="1946"/>
<property name="ireport.y" value="0"/>
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<style name="table">
<box>
<pen lineWidth="1.0" lineColor="#000000"/>
</box>
</style>
<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<parameter name="DATA_INICIAL" class="java.util.Date"/>
<parameter name="DATA_FINAL" class="java.util.Date"/>
<parameter name="EMPRESA" class="java.lang.String"/>
<parameter name="NOME_RELATORIO" class="java.lang.String"/>
<parameter name="RUTA_ID" class="java.lang.Integer" isForPrompting="false">
<defaultValueExpression><![CDATA[null]]></defaultValueExpression>
</parameter>
<parameter name="EMPRESA_ID" class="java.lang.Integer"/>
<parameter name="USUARIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/>
<parameter name="GRUPORUTA_ID" class="java.lang.Integer"/>
<parameter name="NOME_USUARIO" class="java.lang.String"/>
<queryString>
<![CDATA[SELECT SUB.*,
(NVL(SUB.PASSAGEIROS,0) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS PASSAGEIROS_MPA,
( ROUND(NVL(SUB.PASSAGEIROS_EQUIVALENTE,0), 2) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS PASSAGEIROS_MPE,
(NVL(SUB.RECEITA_TOTAL,0) / DECODE(NVL(SUB.KM_RODADO,0), 0, 1, NVL(SUB.KM_RODADO,0))) RECEITA_KM,
(NVL(SUB.RECEITA_TOTAL,0) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS RECEITA_VIAGEM,
(ROUND(NVL(SUB.PASSAGEIROS_EQUIVALENTE,0), 2) * NVL(SUB.EXTENSAO_KM,0)) AS PAX_KM,
(NVL(SUB.ASSENTOS,0) * NVL(SUB.KM_RODADO,0)) AS PAX_OFERTADO
FROM
(SELECT TAB.INDSENTIDOIDA,
TAB.RUTA_ID,
TAB.NUMRUTA,
TAB.PREFIXO,
TAB.DESCRUTA,
TAB.INTERESTADUAL,
TAB.GRUPO_LINHA,
TAB.EXTENSAO_KM,
TAB.CVE_CLASE_SERVICIO,
SUM(NVL(TAB.RECEITA_SEGURO,0)) AS RECEITA_SEGURO,
SUM(NVL(TAB.RECEITA_BAGAGEM,0)) AS RECEITA_BAGAGEM,
SUM(NVL(TAB.RECEITA_SEGURO_OUTROS,0)) AS RECEITA_SEGURO_OUTROS,
SUM(NVL(TAB.RECEITA_TARIFA,0)) AS RECEITA_TARIFA,
SUM(NVL(TAB.RECEITA_PEDAGIO,0)) AS RECEITA_PEDAGIO,
SUM(NVL(TAB.RECEITA_EMBARQUE,0)) AS RECEITA_EMBARQUE,
SUM(NVL(TAB.PASSAGEIROS,0)) AS PASSAGEIROS,
SUM(NVL(TAB.VIAGENS_EXTRA,0)) AS VIAGENS_EXTRA,
SUM(NVL(TAB.VIAGENS,0)) AS VIAGENS,
SUM(NVL(TAB.RECEITA_TOTAL,0)) AS RECEITA_TOTAL,
SUM(NVL(TAB.VIAGENS_TOTAL,0)) AS VIAGENS_TOTAL,
SUM(NVL(TAB.KM_RODADO,0)) AS KM_RODADO,
SUM(NVL(TAB.PASSAGEIROS_EQUIVALENTE,0)) AS PASSAGEIROS_EQUIVALENTE,
TAB.ASSENTOS AS ASSENTOS
FROM
(SELECT TAB1.*,
(TAB1.RECEITA_TARIFA + RECEITA_SEGURO + RECEITA_EMBARQUE + RECEITA_PEDAGIO) RECEITA_TOTAL,
(NVL(TAB1.VIAGENS,0) + NVL(TAB1.VIAGENS_EXTRA,0)) VIAGENS_TOTAL,
((NVL(TAB1.VIAGENS,0) + NVL(TAB1.VIAGENS_EXTRA,0)) * NVL(TAB1.EXTENSAO_KM,0)) KM_RODADO,
(SELECT SUM(NVL(PE.EQUIVALENTE,0))
FROM
(SELECT CO.FECCORRIDA,
CO.RUTA_ID,
BO.PRECIOBASE,
ROUND((BO.NUMKMVIAJE * COUNT(1) /
(SELECT SUM(NVL(TR.CANTKMREAL,0))
FROM RUTA_COMBINACION RS,
TRAMO TR
WHERE RS.RUTA_ID = CO.RUTA_ID
AND RS.TRAMO_ID = TR.TRAMO_ID
)), 2) EQUIVALENTE
FROM CORRIDA CO,
BOLETO BO
WHERE CO.CORRIDA_ID = BO.CORRIDA_ID
AND CO.FECCORRIDA = BO.FECCORRIDA
AND BO.ACTIVO = 1
AND (BO.MOTIVOCANCELACION_ID IS NULL
OR BO.MOTIVOCANCELACION_ID = 0)
GROUP BY CO.FECCORRIDA,
CO.RUTA_ID,
BO.PRECIOBASE,
BO.NUMKMVIAJE
) PE
WHERE PE.FECCORRIDA = TAB1.FECCORRIDA
AND PE.RUTA_ID = TAB1.RUTA_ID
) PASSAGEIROS_EQUIVALENTE,
(SELECT SUM(DA.CANTASIENTOS) FROM DIAGRAMA_AUTOBUS DA
INNER JOIN ROL_OPERATIVO RO ON (DA.DIAGRAMAAUTOBUS_ID = RO.DIAGRAMAAUTOBUS_ID)
INNER JOIN CORRIDA CO ON (RO.ROLOPERATIVO_ID = CO.ROLOPERATIVO_ID)
INNER JOIN RUTA RU ON (RU.RUTA_ID = CO.RUTA_ID)
WHERE CO.FECCORRIDA BETWEEN '01/12/2020' AND '10/12/2020'
AND RU.RUTA_ID = TAB1.RUTA_ID
AND DA.ACTIVO = 1
AND RO.ACTIVO = 1
AND CO.ACTIVO = 1
AND RU.ACTIVO = 1) ASSENTOS
FROM
(SELECT RUTA_ID,
INDSENTIDOIDA,
NUMRUTA,
PREFIXO,
FECCORRIDA,
DESCRUTA,
INTERESTADUAL,
GRUPO_LINHA,
EXTENSAO_KM,
RECEITA_SEGURO,
RECEITA_BAGAGEM,
RECEITA_SEGURO_OUTROS,
RECEITA_PEDAGIO,
RECEITA_EMBARQUE,
PASSAGEIROS,
VIAGENS_EXTRA,
VIAGENS,
CVE_CLASE_SERVICIO,
SUM(PRECIOPAGADO) AS RECEITA_TARIFA
FROM
(SELECT RT.RUTA_ID,
BL.BOLETO_ID,
SUM(BL.PRECIOPAGADO) AS preciototal,
BL.preciopagado AS PRECIOPAGADO,
RT.INDSENTIDOIDA,
RT.NUMRUTA,
RT.PREFIXO,
CR.FECCORRIDA,
CONCAT(RT.DESCRUTA,
CASE
WHEN RT.INDSENTIDOIDA = 0
THEN ' - VOLTA'
ELSE ' - IDA'
END) DESCRUTA,
CASE
WHEN CO.ESTADO_ID <> CD.ESTADO_ID
THEN 'S'
ELSE 'N'
END INTERESTADUAL,
NVL(GR.DESCGRUPO, 'Não Definido') GRUPO_LINHA,
(SELECT SUM(NVL(RS.KMORIGINAL,0))
FROM RUTA_SECUENCIA RS,
TRAMO TR
WHERE RS.RUTA_ID = RT.RUTA_ID
AND RS.TRAMO_ID = TR.TRAMO_ID
AND RS.ACTIVO = 1
) EXTENSAO_KM,
NVL(SUM(NVL(BL.IMPORTESEGURO,0)), 0) RECEITA_SEGURO,
0 RECEITA_BAGAGEM,
0 RECEITA_SEGURO_OUTROS,
SUM(NVL(BL.IMPORTEPEDAGIO,0)) RECEITA_PEDAGIO,
SUM(NVL(BL.IMPORTETAXAEMBARQUE,0)) RECEITA_EMBARQUE,
COUNT(1) PASSAGEIROS,
COUNT(DISTINCT
CASE
WHEN CR.TIPOSERVICIO_ID = 2
THEN CR.FECCORRIDA
|| CR.CORRIDA_ID
ELSE NULL
END) VIAGENS_EXTRA,
COUNT(DISTINCT
CASE
WHEN CR.TIPOSERVICIO_ID <> 2
THEN CR.FECCORRIDA
|| CR.CORRIDA_ID
ELSE NULL
END) VIAGENS,
NVL(CS.CVECLASE, ' ') CVE_CLASE_SERVICIO
FROM RUTA RT,
BOLETO BL,
CORRIDA CR,
TRAMO TR,
VIGENCIA_TARIFA VT,
GRUPO_RUTA GR,
PARADA PO,
PARADA PD,
CIUDAD CO,
CIUDAD CD,
CLASE_SERVICIO CS
WHERE RT.RUTA_ID = CR.RUTA_ID
AND CS.CLASESERVICIO_ID = RT.CLASESERVICIO_ID
AND CR.FECCORRIDA = BL.FECCORRIDA
AND CR.RUTA_ID = NVL($P{RUTA_ID}, CR.RUTA_ID)
AND DECODE($P{GRUPORUTA_ID}, NULL, 1, RT.GRUPORUTA_ID) = DECODE($P{GRUPORUTA_ID}, NULL, 1, $P{GRUPORUTA_ID})
AND CR.CORRIDA_ID = BL.CORRIDA_ID
AND CR.EMPRESACORRIDA_ID = $P{EMPRESA_ID}
AND CR.ORIGEN_ID = PO.PARADA_ID
AND CR.DESTINO_ID = PD.PARADA_ID
AND PO.CIUDAD_ID = CO.CIUDAD_ID
AND PD.CIUDAD_ID = CD.CIUDAD_ID
AND RT.GRUPORUTA_ID = GR.GRUPORUTA_ID(+)
AND TR.ORIGEN_ID = CR.ORIGEN_ID
AND TR.DESTINO_ID = CR.DESTINO_ID
AND BL.MOTIVOCANCELACION_ID IS NULL
AND BL.INDSTATUSOPERACION = 'F'
AND VT.ACTIVO = 1
AND CR.FECCORRIDA BETWEEN VT.FECINICIOVIGENCIA AND VT.FECFINVIGENCIA
AND CR.FECCORRIDA BETWEEN $P{DATA_INICIAL} AND $P{DATA_FINAL}
AND CR.ACTIVO = 1
GROUP BY RT.RUTA_ID,
RT.NUMRUTA,
RT.PREFIXO,
CR.FECCORRIDA,
RT.DESCRUTA,
GR.DESCGRUPO,
CO.ESTADO_ID,
CD.ESTADO_ID,
RT.INDSENTIDOIDA,
CS.CVECLASE,
BL.BOLETO_ID,
BL.preciopagado
) DADOS
GROUP BY RUTA_ID,
INDSENTIDOIDA,
NUMRUTA,
PREFIXO,
FECCORRIDA,
DESCRUTA,
INTERESTADUAL,
GRUPO_LINHA,
EXTENSAO_KM,
RECEITA_SEGURO,
RECEITA_BAGAGEM,
RECEITA_SEGURO_OUTROS,
RECEITA_PEDAGIO,
RECEITA_EMBARQUE,
PASSAGEIROS,
VIAGENS_EXTRA,
VIAGENS,
CVE_CLASE_SERVICIO
) TAB1
)TAB
GROUP BY TAB.RUTA_ID,
TAB.NUMRUTA,
TAB.PREFIXO,
TAB.DESCRUTA,
TAB.INTERESTADUAL,
TAB.GRUPO_LINHA,
TAB.EXTENSAO_KM,
TAB.CVE_CLASE_SERVICIO,
TAB.INDSENTIDOIDA,
TAB.ASSENTOS
) SUB
WHERE (DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0)) != 0)
AND DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0)) != 0
AND DECODE(NVL(SUB.KM_RODADO,0), 0, 1, NVL(SUB.KM_RODADO,0)) != 0
AND DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0)) != 0
AND DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0)) != 0
ORDER BY SUB.DESCRUTA,
SUB.INDSENTIDOIDA]]>
</queryString>
<field name="RUTA_ID" class="java.math.BigDecimal"/>
<field name="NUMRUTA" class="java.lang.String"/>
<field name="PREFIXO" class="java.lang.String"/>
<field name="DESCRUTA" class="java.lang.String"/>
<field name="INTERESTADUAL" class="java.lang.String"/>
<field name="GRUPO_LINHA" class="java.lang.String"/>
<field name="EXTENSAO_KM" class="java.math.BigDecimal"/>
<field name="RECEITA_SEGURO" class="java.math.BigDecimal"/>
<field name="RECEITA_BAGAGEM" class="java.math.BigDecimal"/>
<field name="RECEITA_SEGURO_OUTROS" class="java.math.BigDecimal"/>
<field name="RECEITA_TARIFA" class="java.math.BigDecimal"/>
<field name="RECEITA_PEDAGIO" class="java.math.BigDecimal"/>
<field name="RECEITA_EMBARQUE" class="java.math.BigDecimal"/>
<field name="PASSAGEIROS" class="java.math.BigDecimal"/>
<field name="VIAGENS_EXTRA" class="java.math.BigDecimal"/>
<field name="VIAGENS" class="java.math.BigDecimal"/>
<field name="CVE_CLASE_SERVICIO" class="java.lang.String"/>
<field name="RECEITA_TOTAL" class="java.math.BigDecimal"/>
<field name="VIAGENS_TOTAL" class="java.math.BigDecimal"/>
<field name="KM_RODADO" class="java.math.BigDecimal"/>
<field name="PASSAGEIROS_EQUIVALENTE" class="java.math.BigDecimal"/>
<field name="PASSAGEIROS_MPA" class="java.math.BigDecimal"/>
<field name="PASSAGEIROS_MPE" class="java.math.BigDecimal"/>
<field name="RECEITA_KM" class="java.math.BigDecimal"/>
<field name="RECEITA_VIAGEM" class="java.math.BigDecimal"/>
<field name="PAX_KM" class="java.math.BigDecimal"/>
<field name="PAX_OFERTADO" class="java.math.BigDecimal"/>
<sortField name="INTERESTADUAL"/>
<sortField name="GRUPO_LINHA"/>
<sortField name="RUTA_ID"/>
<variable name="RECEITA_TARIFA_GRP" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_TARIFA}]]></variableExpression>
</variable>
<variable name="RECEITA_TARIFA_INT" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_TARIFA}]]></variableExpression>
</variable>
<variable name="RECEITA_TARIFA_GERAL" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_TARIFA}]]></variableExpression>
</variable>
<variable name="RECEITA_SEGURO_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_SEGURO}]]></variableExpression>
</variable>
<variable name="RECEITA_SEGURO_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_SEGURO}]]></variableExpression>
</variable>
<variable name="RECEITA_SEGURO_3" class="java.math.BigDecimal" resetType="Column" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_SEGURO}]]></variableExpression>
</variable>
<variable name="RECEITA_EMBARQUE_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_EMBARQUE}]]></variableExpression>
</variable>
<variable name="RECEITA_EMBARQUE_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_EMBARQUE}]]></variableExpression>
</variable>
<variable name="RECEITA_EMBARQUE_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_EMBARQUE}]]></variableExpression>
</variable>
<variable name="RECEITA_PEDAGIO_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_PEDAGIO}]]></variableExpression>
</variable>
<variable name="RECEITA_PEDAGIO_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_PEDAGIO}]]></variableExpression>
</variable>
<variable name="RECEITA_PEDAGIO_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_PEDAGIO}]]></variableExpression>
</variable>
<variable name="RECEITA_TOTAL_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_TOTAL}]]></variableExpression>
</variable>
<variable name="RECEITA_TOTAL_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_TOTAL}]]></variableExpression>
</variable>
<variable name="RECEITA_TOTAL_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_TOTAL}]]></variableExpression>
</variable>
<variable name="VIAGENS_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS}]]></variableExpression>
</variable>
<variable name="VIAGENS_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS}]]></variableExpression>
</variable>
<variable name="VIAGENS_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS}]]></variableExpression>
</variable>
<variable name="VIAGENS_EXTRA_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS_EXTRA}]]></variableExpression>
</variable>
<variable name="VIAGENS_EXTRA_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS_EXTRA}]]></variableExpression>
</variable>
<variable name="VIAGENS_EXTRA_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS_EXTRA}]]></variableExpression>
</variable>
<variable name="VIAGENS_TOTAL_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS_TOTAL}]]></variableExpression>
</variable>
<variable name="VIAGENS_TOTAL_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS_TOTAL}]]></variableExpression>
</variable>
<variable name="VIAGENS_TOTAL_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{VIAGENS_TOTAL}]]></variableExpression>
</variable>
<variable name="KM_RODADO_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{KM_RODADO}]]></variableExpression>
</variable>
<variable name="KM_RODADO_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{KM_RODADO}]]></variableExpression>
</variable>
<variable name="KM_RODADO_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{KM_RODADO}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_EQUIVALENTE_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_EQUIVALENTE}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_EQUIVALENTE_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_EQUIVALENTE}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_EQUIVALENTE_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_EQUIVALENTE}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_MPA_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_MPA}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_MPA_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_MPA}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_MPA_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_MPA}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_MPE_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_MPE}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_MPE_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_MPE}]]></variableExpression>
</variable>
<variable name="PASSAGEIROS_MPE_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PASSAGEIROS_MPE}]]></variableExpression>
</variable>
<variable name="RECEITA_KM_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha">
<variableExpression><![CDATA[$V{RECEITA_TOTAL_1}.divide( $V{KM_RODADO_1}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
</variable>
<variable name="RECEITA_KM_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak">
<variableExpression><![CDATA[$V{RECEITA_TOTAL_2}.divide( $V{KM_RODADO_2}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
</variable>
<variable name="RECEITA_KM_3" class="java.math.BigDecimal">
<variableExpression><![CDATA[$V{RECEITA_TOTAL_3}.divide( $V{KM_RODADO_3}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
</variable>
<variable name="RECEITA_VIAGEM_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_VIAGEM}]]></variableExpression>
</variable>
<variable name="RECEITA_VIAGEM_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_VIAGEM}]]></variableExpression>
</variable>
<variable name="RECEITA_VIAGEM_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{RECEITA_VIAGEM}]]></variableExpression>
</variable>
<variable name="PAX_KM_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{PAX_KM}]]></variableExpression>
</variable>
<variable name="PAX_KM_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{PAX_KM}]]></variableExpression>
</variable>
<variable name="PAX_KM_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PAX_KM}]]></variableExpression>
</variable>
<variable name="PAX_OFERTADO_1" class="java.math.BigDecimal" resetType="Group" resetGroup="groupLinha" calculation="Sum">
<variableExpression><![CDATA[$F{PAX_OFERTADO}]]></variableExpression>
</variable>
<variable name="PAX_OFERTADO_2" class="java.math.BigDecimal" resetType="Group" resetGroup="groupInterestaduak" calculation="Sum">
<variableExpression><![CDATA[$F{PAX_OFERTADO}]]></variableExpression>
</variable>
<variable name="PAX_OFERTADO_3" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{PAX_OFERTADO}]]></variableExpression>
</variable>
<group name="groupInterestaduak">
<groupExpression><![CDATA[$F{INTERESTADUAL}]]></groupExpression>
<groupHeader>
<band height="11">
<line>
<reportElement uuid="5bdcd7b5-6a5b-4ee1-b271-23c38689cbc0" x="0" y="1" width="801" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<textField>
<reportElement uuid="9bf6af16-4242-4e39-b90e-3e0d3fe8cbdb" x="0" y="2" width="131" height="9"/>
<textElement>
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{INTERESTADUAL}.equals( "S" )?"Linhas Interestaduais":"Linhas Intermunicipais"]]></textFieldExpression>
</textField>
</band>
</groupHeader>
<groupFooter>
<band height="13">
<staticText>
<reportElement uuid="f949ef6f-903f-45d8-b89f-d16f49e67494" x="0" y="0" width="131" height="10"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Sub Total:]]></text>
</staticText>
<textField pattern="#,##0.00">
<reportElement uuid="041e4886-2c87-4687-8f2e-f2fbbe18729d" x="210" y="0" width="33" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_INT}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="6b176547-673b-4b46-8c0c-911763d52325" x="327" y="0" width="45" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{KM_RODADO_2}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="06262876-8581-45b3-abcb-73c9b8996406" x="469" y="0" width="20" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_KM_3}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="d79c96bc-69a8-4645-be85-28ede43da0a7" x="530" y="0" width="35" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAX_KM_3}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="18d95330-8f56-4502-90de-5d8b25baa561" x="489" y="0" width="41" height="10"/>
<textElement textAlignment="Right">
<font size="6" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAX_OFERTADO_2}]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<group name="groupLinha">
<groupExpression><![CDATA[$F{GRUPO_LINHA}]]></groupExpression>
<groupHeader>
<band height="10">
<textField>
<reportElement uuid="2bce894e-4df1-466e-90ba-6bd518ea4376" x="0" y="1" width="131" height="9"/>
<textElement>
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{GRUPO_LINHA}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="095b53f2-ed2e-4c2f-8b03-fd362ba20e4a" x="0" y="0" width="801" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</groupHeader>
<groupFooter>
<band height="14">
<staticText>
<reportElement uuid="eb3f487a-567e-4e6c-8859-09279ab6e95c" x="0" y="3" width="131" height="10"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Total do Grupo:]]></text>
</staticText>
<textField pattern="#,##0.00">
<reportElement uuid="db1cd701-47d4-441a-ab78-f9e7aa686ad0" x="210" y="3" width="33" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GRP}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="a63b3e4d-5cc2-44c0-8e6c-7cb541ddf940" x="327" y="3" width="45" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{KM_RODADO_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="a5aacae3-b107-43b0-8db3-186cd6a3f619" x="469" y="3" width="20" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_KM_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="1d66a926-6d03-4df6-9bd4-c2c1b8bf206f" x="530" y="3" width="35" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAX_KM_1}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="3ce85dfc-cc58-4b71-bad5-f9c4193ef52f" x="489" y="3" width="41" height="10"/>
<textElement textAlignment="Right">
<font size="6" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAX_OFERTADO_1}]]></textFieldExpression>
</textField>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="83" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="4c19b162-dfd6-48b7-b393-b7203a1bcd68" mode="Opaque" x="0" y="21" width="300" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="886fdbb8-b6c4-4ba1-98b8-15d9047cec7f" mode="Opaque" x="0" y="34" width="156" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="18ea34bb-d251-4e11-8589-235007cb2544" mode="Opaque" x="156" y="34" width="82" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="68db054c-7950-4088-9373-de44bff98b7c" mode="Opaque" x="300" y="34" width="138" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="b137a935-0ee3-4e32-9f1e-81eaae50fb0c" mode="Opaque" x="238" y="34" width="62" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Justified" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="06a3d1b5-6685-4431-9578-dc0df27ee598" mode="Opaque" x="0" y="0" width="300" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="ee4f1d8d-ab87-49b7-af10-578709b54e88" mode="Opaque" x="695" y="0" width="107" height="21" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="87a53987-9821-4624-b0e0-e28617218944" mode="Opaque" x="623" y="0" width="72" height="21" backcolor="#CDCDCD"/>
<textElement textAlignment="Justified">
<font size="9" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="43a80a09-d61c-47e9-bf58-4463f67dae6f" mode="Opaque" x="623" y="21" width="72" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="aba1011b-5b9f-4f9f-82da-b60daa0aec6e" mode="Opaque" x="623" y="35" width="72" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="3aa0af99-e71b-4318-aec2-b466c14702db" mode="Opaque" x="0" y="48" width="156" height="18" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="cbbf0c9d-061e-4da8-bfa8-4edf2affada5" mode="Opaque" x="156" y="48" width="646" height="18" backcolor="#CDCDCD"/>
<textElement>
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="db16cef4-cd72-45c5-8469-459c9ab3e032" x="0" y="75" width="801" height="1"/>
</line>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="636d549e-b5c2-4b0e-84a7-a80b2e3c88ca" mode="Opaque" x="695" y="21" width="107" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="bc0b874f-8bee-4344-9824-066c315d20b4" mode="Opaque" x="695" y="35" width="107" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{USUARIO}+"-"+$P{NOME_USUARIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="def4698c-6665-41e4-a873-70ddbb3cea44" mode="Opaque" x="300" y="0" width="323" height="19" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="3b07cb19-59ae-48ab-9224-39339b7299c1" mode="Opaque" x="300" y="19" width="323" height="15" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="63262e6c-18fd-4abc-a12c-6d9ef77c60f5" mode="Opaque" x="438" y="29" width="185" height="19" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="32" splitType="Stretch">
<staticText>
<reportElement uuid="f39411fa-dfc8-4b51-a705-53b2ed781e10" mode="Transparent" x="0" y="16" width="131" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Linha]]></text>
</staticText>
<staticText>
<reportElement uuid="796d78cd-ff11-4469-9dbe-7abbb92f4868" mode="Transparent" x="181" y="16" width="29" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Extensão]]></text>
</staticText>
<staticText>
<reportElement uuid="deca7e00-7f89-4dac-ad2e-89eaeb59ba6c" mode="Transparent" x="210" y="16" width="33" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Passagens]]></text>
</staticText>
<staticText>
<reportElement uuid="0c75fb19-0d9a-4b66-9e3c-4d714cae6079" mode="Transparent" x="327" y="16" width="45" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Km Rodado]]></text>
</staticText>
<staticText>
<reportElement uuid="31f020bf-2be6-4f3c-98ec-6dffc692dfc6" mode="Transparent" x="469" y="16" width="20" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[R$/KM]]></text>
</staticText>
<staticText>
<reportElement uuid="50c7e602-bf62-49c7-aab5-a923ae173891" mode="Transparent" x="530" y="16" width="35" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[PAX. Trans.]]></text>
</staticText>
<elementGroup>
<staticText>
<reportElement uuid="c44f403d-3437-470d-9ec6-de363516687e" x="170" y="2" width="73" height="8"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[RECEITA]]></text>
</staticText>
<line>
<reportElement uuid="3031bb9a-2f49-447e-9b79-738d5a765c61" x="170" y="12" width="73" height="1"/>
</line>
</elementGroup>
<elementGroup>
<staticText>
<reportElement uuid="de763f1e-efcb-42a3-895e-5e0f76df37a1" x="327" y="2" width="45" height="8"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[VIAGENS]]></text>
</staticText>
<line>
<reportElement uuid="b0b782a1-761e-46b7-8aec-6caedfa6a501" x="327" y="12" width="45" height="1"/>
</line>
</elementGroup>
<elementGroup/>
<elementGroup>
<staticText>
<reportElement uuid="a1bffc92-03fd-4b36-958a-42daba63eeb6" x="469" y="2" width="96" height="8"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[PARÂMETROS OPERACIONAIS]]></text>
</staticText>
<line>
<reportElement uuid="215a5a7f-9389-4c1c-8022-01dc4504b996" x="469" y="12" width="96" height="1"/>
</line>
</elementGroup>
<staticText>
<reportElement uuid="b063e934-2c41-4b8b-a5cd-a58832a9d88d" mode="Transparent" x="489" y="16" width="41" height="14" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Middle" rotation="None" markup="none">
<font fontName="SansSerif" size="6" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[PAX Ofer.]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="16" splitType="Stretch">
<textField isBlankWhenNull="true">
<reportElement uuid="9c07acec-d267-4686-b7b0-edbb1899fc95" x="0" y="0" width="131" height="16"/>
<textElement verticalAlignment="Middle">
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{DESCRUTA}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="0e3f1f2d-a83f-4e9a-ba34-db10a68e9c6c" x="181" y="0" width="29" height="9"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{EXTENSAO_KM}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="f0e8fc9a-4e83-4e23-a959-85701a6a2513" x="210" y="0" width="33" height="9"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{RECEITA_TARIFA}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement uuid="f53b87cd-bf78-423c-8370-da117fbfe57e" x="327" y="0" width="45" height="9"/>
<textElement textAlignment="Right" verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{KM_RODADO}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="803a40d7-383b-4a69-98a3-fe5020830ac4" x="469" y="0" width="20" height="10"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{RECEITA_KM_2}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="938accbf-05a4-46f2-87a2-91891f82252f" x="530" y="0" width="35" height="10"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{PAX_KM_2}]]></textFieldExpression>
</textField>
<textField pattern="###0.00" isBlankWhenNull="true">
<reportElement uuid="cb5f2712-9b8e-409f-8d3b-daf613cf0c13" x="489" y="0" width="41" height="10"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font size="5"/>
</textElement>
<textFieldExpression><![CDATA[$F{PAX_OFERTADO}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="10" splitType="Immediate">
<staticText>
<reportElement uuid="f4025873-ca53-4e07-ba04-997d5df4df7b" x="0" y="0" width="131" height="10"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[Geral]]></text>
</staticText>
<textField pattern="#,##0.00">
<reportElement uuid="3bfef22c-0a77-422c-ac1d-f4d2535b46ff" x="210" y="0" width="33" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GERAL}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="29a87e9a-930a-417c-b568-f7e030a447ae" x="327" y="0" width="45" height="10"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{KM_RODADO_3}]]></textFieldExpression>
</textField>
</band>
</columnFooter>
<lastPageFooter>
<band height="50">
<textField>
<reportElement uuid="65466fe2-e993-4599-ad52-a3a5f8204050" x="0" y="0" width="801" height="50"/>
<textElement/>
<textFieldExpression><![CDATA["Abs.: Quantidade absoluta de passageiros da linha \nEquival.: Cálculo (Somatório Total km referente aos trechos dos bilhetes comprados desta linha / Somatório do Total km dos trechos da linha). \nMPA - Média Passageiro Analítico - Tot.Passageiros / Total de viagens MPE - Média Passageiro Equivalente = Equival. / Total de viagens \nPAX. Ofer: Passageiros ofertados - Tot. assentos oferecidos pelas viagens da linha) \nPAX. Trans: Passageiros por Km Transportado - Relação de passageiros por Km Rodado, é calculado pela seguinte formula (Equival. * Extensão Km Linha) \nI.A.P: Índice de Aproveitamento de Passageiro - Calculo pela seguinte fórmula ((Pax. Ofer Transp / Pax. ofer) * 100 )"]]></textFieldExpression>
</textField>
</band>
</lastPageFooter>
<noData>
<band height="50">
<textField>
<reportElement uuid="a640c0eb-ead8-4a2a-bda4-675165e8bc7d" x="0" y="13" width="801" height="20"/>
<textElement textAlignment="Center" markup="none">
<font size="11" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
</textField>
</band>
</noData>
</jasperReport>

View File

@ -1,8 +1,8 @@
<?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="RelatorioResumoLinhas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2"> <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="RelatorioResumoLinhas" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="efbc89d4-6f08-4ea5-802f-d4f48ed208e2">
<property name="ireport.zoom" value="3.138428376721017"/> <property name="ireport.zoom" value="3.138428376721017"/>
<property name="ireport.x" value="9"/> <property name="ireport.x" value="1946"/>
<property name="ireport.y" value="240"/> <property name="ireport.y" value="0"/>
<style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <style name="textStyle" isDefault="true" fontSize="6" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
<style name="table"> <style name="table">
<box> <box>
@ -35,6 +35,7 @@
<parameter name="USUARIO" class="java.lang.String"/> <parameter name="USUARIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/> <parameter name="FILTROS" class="java.lang.String"/>
<parameter name="GRUPORUTA_ID" class="java.lang.Integer"/> <parameter name="GRUPORUTA_ID" class="java.lang.Integer"/>
<parameter name="NOME_USUARIO" class="java.lang.String"/>
<queryString> <queryString>
<![CDATA[SELECT SUB.*, <![CDATA[SELECT SUB.*,
(NVL(SUB.PASSAGEIROS,0) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS PASSAGEIROS_MPA, (NVL(SUB.PASSAGEIROS,0) / DECODE(NVL(SUB.VIAGENS_TOTAL,0), 0, 1, NVL(SUB.VIAGENS_TOTAL,0))) AS PASSAGEIROS_MPA,
@ -442,54 +443,72 @@ ORDER BY SUB.DESCRUTA,
<band height="10"> <band height="10">
<staticText> <staticText>
<reportElement uuid="f949ef6f-903f-45d8-b89f-d16f49e67494" x="25" y="0" width="131" height="10"/> <reportElement uuid="f949ef6f-903f-45d8-b89f-d16f49e67494" x="25" y="0" width="131" height="10"/>
<textElement/> <textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[ Sub Total:]]></text> <text><![CDATA[ Sub Total:]]></text>
</staticText> </staticText>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="041e4886-2c87-4687-8f2e-f2fbbe18729d" x="235" y="0" width="33" height="10"/> <reportElement uuid="041e4886-2c87-4687-8f2e-f2fbbe18729d" x="235" y="0" width="33" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_INT}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_TARIFA_INT}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="43aee237-4e26-4dd9-bf69-f61fbf345828" x="268" y="0" width="27" height="10"/> <reportElement uuid="43aee237-4e26-4dd9-bf69-f61fbf345828" x="268" y="0" width="27" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_SEGURO_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_SEGURO_2}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="da6f1964-eb77-40bf-ba65-6f09ee4e703f" x="295" y="0" width="35" height="10"/> <reportElement uuid="da6f1964-eb77-40bf-ba65-6f09ee4e703f" x="295" y="0" width="35" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_2}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="13c20f2f-6815-4c5e-a756-62a635c6129b" x="330" y="0" width="37" height="10"/> <reportElement uuid="13c20f2f-6815-4c5e-a756-62a635c6129b" x="330" y="0" width="37" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_2}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="59b3f3b3-7353-406e-a096-2e1dc48b7484" x="367" y="0" width="40" height="10"/> <reportElement uuid="59b3f3b3-7353-406e-a096-2e1dc48b7484" x="367" y="0" width="40" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TOTAL_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_TOTAL_2}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="a3767a6a-79b9-4478-b3e4-b162ebd8b6c4" x="407" y="0" width="15" height="10"/> <reportElement uuid="a3767a6a-79b9-4478-b3e4-b162ebd8b6c4" x="407" y="0" width="15" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_2}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="f8ff7dd1-5302-477c-9218-4a1f26f0e100" x="422" y="0" width="18" height="10"/> <reportElement uuid="f8ff7dd1-5302-477c-9218-4a1f26f0e100" x="422" y="0" width="18" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_EXTRA_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_EXTRA_2}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="643a74d1-fc89-4246-b384-91b38e32c618" x="440" y="0" width="25" height="10"/> <reportElement uuid="643a74d1-fc89-4246-b384-91b38e32c618" x="440" y="0" width="25" height="10"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="5"/> <font size="5" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_TOTAL_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_TOTAL_2}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="6b176547-673b-4b46-8c0c-911763d52325" x="465" y="0" width="45" height="10"/> <reportElement uuid="6b176547-673b-4b46-8c0c-911763d52325" x="465" y="0" width="45" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{KM_RODADO_2}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{KM_RODADO_2}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
@ -525,7 +544,7 @@ ORDER BY SUB.DESCRUTA,
<textField> <textField>
<reportElement uuid="5585fe48-2797-482a-8008-0e472178c77e" x="156" y="0" width="79" height="10"/> <reportElement uuid="5585fe48-2797-482a-8008-0e472178c77e" x="156" y="0" width="79" height="10"/>
<textElement> <textElement>
<font size="5"/> <font size="5" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{INTERESTADUAL}.equals( "S" )?"Linhas Interestaduais":"Linhas Intermunicipais"]]></textFieldExpression> <textFieldExpression><![CDATA[$F{INTERESTADUAL}.equals( "S" )?"Linhas Interestaduais":"Linhas Intermunicipais"]]></textFieldExpression>
</textField> </textField>
@ -553,54 +572,72 @@ ORDER BY SUB.DESCRUTA,
<band height="13"> <band height="13">
<staticText> <staticText>
<reportElement uuid="eb3f487a-567e-4e6c-8859-09279ab6e95c" x="25" y="3" width="131" height="10"/> <reportElement uuid="eb3f487a-567e-4e6c-8859-09279ab6e95c" x="25" y="3" width="131" height="10"/>
<textElement/> <textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[ Total do Grupo:]]></text> <text><![CDATA[ Total do Grupo:]]></text>
</staticText> </staticText>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="db1cd701-47d4-441a-ab78-f9e7aa686ad0" x="235" y="3" width="33" height="10"/> <reportElement uuid="db1cd701-47d4-441a-ab78-f9e7aa686ad0" x="235" y="3" width="33" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GRP}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GRP}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="b0221c98-0ea2-4982-ad3d-129e4a91eb94" x="268" y="3" width="27" height="10"/> <reportElement uuid="b0221c98-0ea2-4982-ad3d-129e4a91eb94" x="268" y="3" width="27" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_SEGURO_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_SEGURO_1}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="a5aecb48-d419-406a-b4ab-3dad24491fea" x="295" y="3" width="35" height="10"/> <reportElement uuid="a5aecb48-d419-406a-b4ab-3dad24491fea" x="295" y="3" width="35" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_1}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="dc6ef510-1db0-4682-b6f3-13e31ef5a838" x="330" y="3" width="37" height="10"/> <reportElement uuid="dc6ef510-1db0-4682-b6f3-13e31ef5a838" x="330" y="3" width="37" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_1}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="fb906a2d-72ab-4301-ada9-002950616b02" x="367" y="3" width="40" height="10"/> <reportElement uuid="fb906a2d-72ab-4301-ada9-002950616b02" x="367" y="3" width="40" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TOTAL_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_TOTAL_1}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="2e01f4b5-2734-4b58-a01f-859148abe053" x="407" y="3" width="15" height="10"/> <reportElement uuid="2e01f4b5-2734-4b58-a01f-859148abe053" x="407" y="3" width="15" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_1}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="c4065256-4776-41b7-9d17-0d7a9e8e4de9" x="422" y="3" width="18" height="10"/> <reportElement uuid="c4065256-4776-41b7-9d17-0d7a9e8e4de9" x="422" y="3" width="18" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_EXTRA_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_EXTRA_1}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="1a602ed2-d5d6-4ded-b707-c7e683b0587b" x="440" y="3" width="25" height="10"/> <reportElement uuid="1a602ed2-d5d6-4ded-b707-c7e683b0587b" x="440" y="3" width="25" height="10"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="5"/> <font size="5" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_TOTAL_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_TOTAL_1}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="a63b3e4d-5cc2-44c0-8e6c-7cb541ddf940" x="465" y="3" width="45" height="10"/> <reportElement uuid="a63b3e4d-5cc2-44c0-8e6c-7cb541ddf940" x="465" y="3" width="45" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{KM_RODADO_1}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{KM_RODADO_1}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
@ -636,7 +673,7 @@ ORDER BY SUB.DESCRUTA,
<textField> <textField>
<reportElement uuid="8ff26ab0-49ff-4c80-8c96-9a7eefa0c38a" x="156" y="3" width="79" height="10"/> <reportElement uuid="8ff26ab0-49ff-4c80-8c96-9a7eefa0c38a" x="156" y="3" width="79" height="10"/>
<textElement> <textElement>
<font size="5"/> <font size="5" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{GRUPO_LINHA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{GRUPO_LINHA}]]></textFieldExpression>
</textField> </textField>
@ -649,7 +686,7 @@ ORDER BY SUB.DESCRUTA,
<pageHeader> <pageHeader>
<band height="83" splitType="Stretch"> <band height="83" splitType="Stretch">
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="4c19b162-dfd6-48b7-b393-b7203a1bcd68" mode="Transparent" x="0" y="21" width="300" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="4c19b162-dfd6-48b7-b393-b7203a1bcd68" mode="Opaque" x="0" y="21" width="300" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -657,7 +694,7 @@ ORDER BY SUB.DESCRUTA,
<textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{NOME_RELATORIO}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="886fdbb8-b6c4-4ba1-98b8-15d9047cec7f" mode="Transparent" x="0" y="35" width="156" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="886fdbb8-b6c4-4ba1-98b8-15d9047cec7f" mode="Opaque" x="0" y="35" width="156" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -665,7 +702,7 @@ ORDER BY SUB.DESCRUTA,
<textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.periodo}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="18ea34bb-d251-4e11-8589-235007cb2544" mode="Transparent" x="156" y="35" width="82" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="18ea34bb-d251-4e11-8589-235007cb2544" mode="Opaque" x="156" y="35" width="82" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -673,7 +710,7 @@ ORDER BY SUB.DESCRUTA,
<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy" isBlankWhenNull="false">
<reportElement uuid="68db054c-7950-4088-9373-de44bff98b7c" mode="Transparent" x="372" y="35" width="138" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="68db054c-7950-4088-9373-de44bff98b7c" mode="Opaque" x="300" y="35" width="140" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -681,15 +718,15 @@ ORDER BY SUB.DESCRUTA,
<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="b137a935-0ee3-4e32-9f1e-81eaae50fb0c" mode="Transparent" x="238" y="35" width="62" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="b137a935-0ee3-4e32-9f1e-81eaae50fb0c" mode="Opaque" x="238" y="35" width="62" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Justified" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.periodoA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="06a3d1b5-6685-4431-9578-dc0df27ee598" mode="Transparent" x="0" y="1" width="300" height="20" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="06a3d1b5-6685-4431-9578-dc0df27ee598" mode="Opaque" x="0" y="0" width="300" height="22" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -697,38 +734,38 @@ ORDER BY SUB.DESCRUTA,
<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression> <textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false"> <textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="false">
<reportElement uuid="ee4f1d8d-ab87-49b7-af10-578709b54e88" mode="Transparent" x="695" y="2" width="106" height="19" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="ee4f1d8d-ab87-49b7-af10-578709b54e88" mode="Opaque" x="736" y="0" width="66" height="22" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="87a53987-9821-4624-b0e0-e28617218944" x="514" y="2" width="181" height="19"/> <reportElement uuid="87a53987-9821-4624-b0e0-e28617218944" mode="Opaque" x="623" y="0" width="113" height="22" backcolor="#CDCDCD"/>
<textElement textAlignment="Right"> <textElement>
<font size="9" isBold="true"/> <font size="9" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.dataHora}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="43a80a09-d61c-47e9-bf58-4463f67dae6f" mode="Transparent" x="623" y="22" width="113" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="43a80a09-d61c-47e9-bf58-4463f67dae6f" mode="Opaque" x="623" y="22" width="113" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.pagina}+" "+$V{PAGE_NUMBER}+" "+$R{cabecalho.de}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="aba1011b-5b9f-4f9f-82da-b60daa0aec6e" mode="Transparent" x="623" y="35" width="178" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="aba1011b-5b9f-4f9f-82da-b60daa0aec6e" mode="Opaque" x="623" y="35" width="113" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.impressorPor}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false"> <textField pattern="" isBlankWhenNull="false">
<reportElement uuid="3aa0af99-e71b-4318-aec2-b466c14702db" mode="Transparent" x="0" y="52" width="156" height="14" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="3aa0af99-e71b-4318-aec2-b466c14702db" mode="Opaque" x="0" y="52" width="156" height="14" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none"> <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
@ -736,7 +773,7 @@ ORDER BY SUB.DESCRUTA,
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression> <textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="cbbf0c9d-061e-4da8-bfa8-4edf2affada5" x="156" y="52" width="645" height="14"/> <reportElement uuid="cbbf0c9d-061e-4da8-bfa8-4edf2affada5" mode="Opaque" x="156" y="52" width="646" height="14" backcolor="#CDCDCD"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
@ -746,13 +783,42 @@ ORDER BY SUB.DESCRUTA,
<reportElement uuid="db16cef4-cd72-45c5-8469-459c9ab3e032" x="0" y="75" width="801" height="1"/> <reportElement uuid="db16cef4-cd72-45c5-8469-459c9ab3e032" x="0" y="75" width="801" height="1"/>
</line> </line>
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false"> <textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement uuid="636d549e-b5c2-4b0e-84a7-a80b2e3c88ca" mode="Transparent" x="736" y="22" width="65" height="13" forecolor="#000000" backcolor="#FFFFFF"/> <reportElement uuid="636d549e-b5c2-4b0e-84a7-a80b2e3c88ca" mode="Opaque" x="736" y="22" width="66" height="13" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none"> <textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/> <font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/> <paragraph lineSpacing="Single"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="9ce80888-bea4-4acd-8c1a-48cf84eea55f" mode="Opaque" x="736" y="35" width="66" height="17" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{NOME_USUARIO}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="3802f512-09c5-45e4-b263-8189334db5ee" mode="Opaque" x="300" y="0" width="323" height="22" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="0a06a181-0daf-4c95-92f9-2379807b1041" mode="Opaque" x="300" y="16" width="323" height="19" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
<textField pattern="" isBlankWhenNull="true">
<reportElement uuid="74eef871-dcd5-47e4-8249-f7511fb682fc" mode="Opaque" x="440" y="33" width="183" height="19" forecolor="#000000" backcolor="#CDCDCD"/>
<textElement verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="9" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
</textField>
</band> </band>
</pageHeader> </pageHeader>
<columnHeader> <columnHeader>
@ -1009,7 +1075,7 @@ ORDER BY SUB.DESCRUTA,
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
<reportElement uuid="9c07acec-d267-4686-b7b0-edbb1899fc95" x="25" y="0" width="131" height="16"/> <reportElement uuid="9c07acec-d267-4686-b7b0-edbb1899fc95" x="25" y="0" width="131" height="16"/>
<textElement textAlignment="Center" verticalAlignment="Middle"/> <textElement verticalAlignment="Middle"/>
<textFieldExpression><![CDATA[$F{DESCRUTA}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{DESCRUTA}]]></textFieldExpression>
</textField> </textField>
<textField isBlankWhenNull="true"> <textField isBlankWhenNull="true">
@ -1105,54 +1171,72 @@ ORDER BY SUB.DESCRUTA,
<band height="10" splitType="Immediate"> <band height="10" splitType="Immediate">
<staticText> <staticText>
<reportElement uuid="f4025873-ca53-4e07-ba04-997d5df4df7b" x="25" y="0" width="131" height="10"/> <reportElement uuid="f4025873-ca53-4e07-ba04-997d5df4df7b" x="25" y="0" width="131" height="10"/>
<textElement/> <textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[ Geral]]></text> <text><![CDATA[ Geral]]></text>
</staticText> </staticText>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="3bfef22c-0a77-422c-ac1d-f4d2535b46ff" x="235" y="0" width="33" height="10"/> <reportElement uuid="3bfef22c-0a77-422c-ac1d-f4d2535b46ff" x="235" y="0" width="33" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GERAL}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_TARIFA_GERAL}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="e3f91e91-6944-48d1-a237-38e52e0a8d7a" x="268" y="0" width="27" height="10"/> <reportElement uuid="e3f91e91-6944-48d1-a237-38e52e0a8d7a" x="268" y="0" width="27" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_SEGURO_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_SEGURO_3}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00" isBlankWhenNull="true"> <textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="7142b0c4-f126-4565-9b85-a83dd631612e" x="295" y="0" width="35" height="10"/> <reportElement uuid="7142b0c4-f126-4565-9b85-a83dd631612e" x="295" y="0" width="35" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_EMBARQUE_3}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="8d8798a7-a0c3-41ef-b9c8-06b40b8196e3" x="330" y="0" width="37" height="10"/> <reportElement uuid="8d8798a7-a0c3-41ef-b9c8-06b40b8196e3" x="330" y="0" width="37" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_PEDAGIO_3}]]></textFieldExpression>
</textField> </textField>
<textField pattern="#,##0.00"> <textField pattern="#,##0.00">
<reportElement uuid="7cb22254-3c7c-4ed3-9c90-2a3dac05e8e0" x="367" y="0" width="40" height="10"/> <reportElement uuid="7cb22254-3c7c-4ed3-9c90-2a3dac05e8e0" x="367" y="0" width="40" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{RECEITA_TOTAL_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{RECEITA_TOTAL_3}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="7d747ce5-937c-48ee-9fdb-6f346ff4446b" x="407" y="0" width="15" height="10"/> <reportElement uuid="7d747ce5-937c-48ee-9fdb-6f346ff4446b" x="407" y="0" width="15" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_3}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="2284552a-20c3-494b-a40c-6237001ef20b" x="422" y="0" width="18" height="10"/> <reportElement uuid="2284552a-20c3-494b-a40c-6237001ef20b" x="422" y="0" width="18" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_EXTRA_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_EXTRA_3}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="da8315b5-044f-40eb-88d7-c75acc2fc01d" x="440" y="0" width="25" height="10"/> <reportElement uuid="da8315b5-044f-40eb-88d7-c75acc2fc01d" x="440" y="0" width="25" height="10"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="5"/> <font size="5" isBold="true"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$V{VIAGENS_TOTAL_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{VIAGENS_TOTAL_3}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="29a87e9a-930a-417c-b568-f7e030a447ae" x="465" y="0" width="45" height="10"/> <reportElement uuid="29a87e9a-930a-417c-b568-f7e030a447ae" x="465" y="0" width="45" height="10"/>
<textElement textAlignment="Right"/> <textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{KM_RODADO_3}]]></textFieldExpression> <textFieldExpression><![CDATA[$V{KM_RODADO_3}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>