<?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="RelatorioIndiceIRK" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ae2cbb01-bc79-4d18-8206-3b59273fe793">
	<property name="ireport.zoom" value="1.8181818181818352"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="diferencaReceitaNegativa" forecolor="#000000">
		<conditionalStyle>
			<conditionExpression><![CDATA[($F{diferencaReceitas}.compareTo(BigDecimal.ZERO)) < 1]]></conditionExpression>
			<style forecolor="#FF0000"/>
		</conditionalStyle>
	</style>
	<parameter name="NOMBEMPRESA" class="java.lang.String"/>
	<parameter name="DATA_INICIO" class="java.sql.Timestamp">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="DATA_FINAL" class="java.sql.Timestamp"/>
	<parameter name="USUARIO_ID" class="java.lang.String"/>
	<parameter name="LINHA_FILTRO" class="java.lang.String"/>
	<parameter name="SERVICO_FILTRO" class="java.lang.String"/>
	<parameter name="TOTAL_PASSAGENS" class="java.math.BigDecimal"/>
	<parameter name="TOTAL_TOTAL" class="java.math.BigDecimal"/>
	<parameter name="TOTAL_VIAGEM" class="java.math.BigDecimal"/>
	<parameter name="TOTAL_KM_RODADO" class="java.math.BigDecimal"/>
	<parameter name="DESCGRUPO" class="java.lang.String"/>
	<parameter name="NOME_USUARIO" class="java.lang.String"/>
	<parameter name="RELATORIOLIST" class="java.util.List"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="irk" class="java.math.BigDecimal"/>
	<field name="totalViagem" class="java.math.BigDecimal"/>
	<field name="grupoRuta" class="java.lang.String"/>
	<field name="kmRodado" class="java.math.BigDecimal"/>
	<field name="total" class="java.math.BigDecimal"/>
	<field name="extensao" class="java.math.BigDecimal"/>
	<field name="sentido" class="java.lang.String"/>
	<field name="hora" class="java.lang.String"/>
	<field name="passagens" class="java.math.BigDecimal"/>
	<field name="rsViagem" class="java.math.BigDecimal"/>
	<field name="descRuta" class="java.lang.String"/>
	<field name="servico" class="java.lang.Integer"/>
	<field name="irkMinimo" class="java.math.BigDecimal"/>
	<field name="receitaMinima" class="java.math.BigDecimal"/>
	<field name="diferencaReceitas" class="java.math.BigDecimal"/>
	<field name="prefixoLinha" class="java.lang.String"/>
	<field name="descDestinoTrecho" class="java.lang.String"/>
	<field name="descOrigemTrecho" class="java.lang.String"/>
	<field name="passageiros" class="java.math.BigDecimal"/>
	<field name="tipoServico" class="java.lang.String"/>
	<variable name="total_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
	</variable>
	<variable name="totalViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{totalViagem}]]></variableExpression>
	</variable>
	<variable name="kmRodado_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{kmRodado}]]></variableExpression>
	</variable>
	<variable name="irk_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Average">
		<variableExpression><![CDATA[$F{irk}]]></variableExpression>
	</variable>
	<variable name="rsViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{rsViagem}]]></variableExpression>
	</variable>
	<variable name="media_rsViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{rsViagem}]]></variableExpression>
	</variable>
	<variable name="media_irk_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta">
		<variableExpression><![CDATA[$P{TOTAL_TOTAL}.divide( $P{TOTAL_KM_RODADO}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
	</variable>
	<variable name="linha_total_group" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" incrementType="Group" incrementGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$V{total_group}]]></variableExpression>
	</variable>
	<variable name="linhas_totalViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" incrementType="Group" incrementGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$V{totalViagem_group}]]></variableExpression>
	</variable>
	<variable name="linha_kmRodado_group" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" incrementType="Group" incrementGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$V{kmRodado_group}]]></variableExpression>
	</variable>
	<variable name="linha_rsViagem_group" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" incrementType="Group" incrementGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$V{rsViagem_group}]]></variableExpression>
	</variable>
	<variable name="TOTAL_VIAGEM" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{rsViagem}]]></variableExpression>
	</variable>
	<variable name="media_group_irk" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta">
		<variableExpression><![CDATA[$V{total_group}.divide( $V{kmRodado_group}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
	</variable>
	<variable name="linha_media_irk_group" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta">
		<variableExpression><![CDATA[$V{linha_total_group}.divide( $V{linha_kmRodado_group}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
	</variable>
	<variable name="total_ruta" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
	</variable>
	<variable name="totalViagem_ruta" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" calculation="Sum">
		<variableExpression><![CDATA[$F{totalViagem}]]></variableExpression>
	</variable>
	<variable name="kmRodado_ruta" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" calculation="Sum">
		<variableExpression><![CDATA[$F{kmRodado}]]></variableExpression>
	</variable>
	<variable name="media_ruta_irk" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta">
		<variableExpression><![CDATA[$V{total_ruta}.divide( $V{kmRodado_ruta}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
	</variable>
	<variable name="totalReceitaMinima_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{receitaMinima}]]></variableExpression>
	</variable>
	<variable name="receitaMinima_ruta" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" calculation="Sum">
		<variableExpression><![CDATA[$F{receitaMinima}]]></variableExpression>
	</variable>
	<variable name="kmRodado_total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{kmRodado}]]></variableExpression>
	</variable>
	<variable name="receita_total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{totalViagem}]]></variableExpression>
	</variable>
	<variable name="irk_total" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta">
		<variableExpression><![CDATA[$V{receita_total}.divide( $V{kmRodado_total}, 2, BigDecimal.ROUND_HALF_UP )]]></variableExpression>
	</variable>
	<variable name="receitaMinima_total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{receitaMinima}]]></variableExpression>
	</variable>
	<variable name="diferencaReceitas_ruta" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta">
		<variableExpression><![CDATA[$V{total_ruta}.subtract($V{receitaMinima_ruta})]]></variableExpression>
	</variable>
	<variable name="diferencaReceitas_group" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta">
		<variableExpression><![CDATA[$V{total_group}.subtract($V{totalReceitaMinima_group})]]></variableExpression>
	</variable>
	<variable name="diferencaReceitas_total" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta">
		<variableExpression><![CDATA[$V{receita_total}.subtract($V{receitaMinima_total})]]></variableExpression>
	</variable>
	<variable name="passageiros_total" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{passageiros}]]></variableExpression>
	</variable>
	<variable name="passageiros_total_group" class="java.math.BigDecimal" resetType="Group" resetGroup="groupRuta" calculation="Sum">
		<variableExpression><![CDATA[$F{passageiros}]]></variableExpression>
	</variable>
	<variable name="passageiros_total_ruta" class="java.math.BigDecimal" resetType="Group" resetGroup="ruta" calculation="Sum">
		<variableExpression><![CDATA[$F{passageiros}]]></variableExpression>
	</variable>
	<group name="groupRuta">
		<groupExpression><![CDATA[$F{grupoRuta}]]></groupExpression>
		<groupHeader>
			<band height="14">
				<textField isBlankWhenNull="true">
					<reportElement uuid="f1171f5c-2175-4176-82b0-c1a31f78f1d3" x="0" y="0" width="69" height="14"/>
					<textElement>
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{grupoRuta}]]></textFieldExpression>
				</textField>
				<line>
					<reportElement uuid="6e1204b5-dc16-40df-b592-9046e0b31a14" x="1" y="-1" width="801" height="1"/>
				</line>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="14">
				<line>
					<reportElement uuid="8dd18564-6d32-4232-a0fd-f39054849109" positionType="Float" x="0" y="1" width="802" height="1"/>
				</line>
				<textField>
					<reportElement uuid="a7c33cf2-944b-4bd1-bb55-72ab698cc599" x="0" y="2" width="69" height="11"/>
					<textElement>
						<font size="8" isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{group.total}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="27802809-5617-44e5-a89b-cc64e8bde961" x="402" y="0" width="69" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_group}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="25f0464f-b216-44bd-aad1-d1b4f4dbe0ea" x="471" y="0" width="57" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{kmRodado_group}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="d6bdd9c3-6810-4f3b-8b0a-6d90a8abbb2c" x="334" y="0" width="68" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{media_group_irk}]]></textFieldExpression>
				</textField>
				<line>
					<reportElement uuid="736a47e0-7471-44d8-98df-c61d122bf3ac" x="0" y="13" width="802" height="1"/>
				</line>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="e251dac9-9a7b-4db2-a22e-18cb0efce359" x="582" y="0" width="66" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{totalReceitaMinima_group}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement uuid="0ed57298-1a00-4584-8ed1-e4c1af2947b8" x="648" y="0" width="79" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{diferencaReceitas_group}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00">
					<reportElement uuid="bf1d2a62-1178-40bc-bb7b-30bcdf1727c0" x="528" y="0" width="54" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{irkMinimo}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0;-#,##0" isBlankWhenNull="true">
					<reportElement uuid="1c992ccd-05a7-4e56-9711-0b62b67b3baf" x="288" y="0" width="46" height="11"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{passageiros_total_group}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="ruta">
		<groupExpression><![CDATA[$F{descRuta}]]></groupExpression>
		<groupHeader>
			<band height="14">
				<textField isBlankWhenNull="true">
					<reportElement uuid="5d48a200-7033-4282-af5c-98c5b290afea" x="0" y="0" width="202" height="14"/>
					<textElement>
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{descRuta}+ " - " + $F{prefixoLinha}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="11">
				<line>
					<reportElement uuid="34ef9a09-219c-47d9-aa44-4e2a5be2ffb6" positionType="Float" x="0" y="1" width="802" height="1"/>
				</line>
				<textField>
					<reportElement uuid="f83c3bc8-2151-4ca1-b06c-fa127b8f7089" x="0" y="2" width="69" height="9"/>
					<textElement>
						<font size="6" isBold="true" isItalic="false"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{ruta.total}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="47bdfe76-1b48-45e6-8cb1-53feb9e40340" x="402" y="1" width="69" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_ruta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="005958bd-8753-49f7-83ed-995568c33644" x="471" y="1" width="57" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{kmRodado_ruta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="abae3006-9685-42e5-952b-15321d7f0063" x="334" y="1" width="68" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{media_ruta_irk}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement uuid="56419660-3457-4fe0-8d94-162d8da7ba8f" x="648" y="1" width="79" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{diferencaReceitas_ruta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
					<reportElement uuid="5322dfac-066d-4943-8d06-4c43a779c289" x="582" y="1" width="66" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{receitaMinima_ruta}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0.00;-#,##0.00">
					<reportElement uuid="c0069721-3330-46a5-9174-be54c6360491" x="528" y="1" width="54" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{irkMinimo}]]></textFieldExpression>
				</textField>
				<textField pattern="#,##0;-#,##0" isBlankWhenNull="true">
					<reportElement uuid="b541fe11-dc8b-44d5-a4c9-72bff5a4105a" x="288" y="1" width="46" height="9"/>
					<textElement textAlignment="Right">
						<font size="6" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{passageiros_total_ruta}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="91" splitType="Stretch">
			<textField>
				<reportElement uuid="2523431f-2c2c-4a2b-a34f-785b8ea8f9dd" mode="Opaque" x="0" y="15" width="657" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.titulo.relatorio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9bb1d24c-1a5c-4281-b900-d35779e00807" mode="Opaque" x="0" y="30" width="49" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.periodo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="eac5ed08-4a34-42e5-807e-2d40be1cc0f5" mode="Opaque" x="49" y="30" width="608" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy").format($P{DATA_INICIO}) + " à " + new SimpleDateFormat("dd/MM/yyyy").format($P{DATA_FINAL})]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="77235663-6b8a-411f-89be-24b315b65adb" mode="Opaque" x="657" y="0" width="66" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="cf1bcbcf-84b8-4d90-bbc7-22d9c7186952" mode="Opaque" x="657" y="15" width="98" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.pagina}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="efdae9bf-3550-4620-acd0-20c9c7b0e3b1" mode="Opaque" x="723" y="0" width="79" height="15" backcolor="#CDCDCD"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="4070d457-cdcc-434e-8e50-5494a05815f9" mode="Opaque" x="755" y="15" width="25" height="15" backcolor="#CDCDCD"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+" de"]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="26156964-8733-4ad1-96fd-2ae8414636b7" mode="Opaque" x="780" y="15" width="22" height="15" backcolor="#CDCDCD"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="27a77abc-db13-4836-9261-8208f3825802" x="0" y="60" width="802" height="1"/>
			</line>
			<textField>
				<reportElement uuid="06a43567-1fd2-4c86-a0cc-443618ddf965" mode="Opaque" x="0" y="45" width="802" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{header.filtro} + $R{header.filtro.linha} +  "   ( " + $P{LINHA_FILTRO} + " )  " + $R{header.filtro.servico} +  "   ( " + $P{SERVICO_FILTRO} + " )  " + $R{header.filtro.grupo}  +  "   ( " + $P{DESCGRUPO} + " )  "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c0f124b2-3691-4f49-9b86-69d76f249584" x="37" y="80" width="32" height="10"/>
				<textElement markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.hora}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="30b30f3d-c4f3-40a2-825a-812ae5475414" x="256" y="80" width="32" height="10"/>
				<textElement textAlignment="Center" markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.setido}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="723b5317-9cfc-4722-900f-5d94c2050b39" x="402" y="80" width="69" height="10"/>
				<textElement textAlignment="Right" markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.total}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="b97305e9-580b-4cdb-a5f2-eae59e567ec7" x="471" y="80" width="57" height="10"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.km.rodad}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="f9fd6d4e-46da-4f69-a9bd-6e4183f317b4" x="334" y="80" width="68" height="10"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.irk}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="f7a61ca8-00fd-400d-b1c4-e22f5295941f" x="70" y="80" width="132" height="10"/>
				<textElement markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.linha}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5f633340-6d79-46a6-a540-6eb09b2f7f8e" mode="Opaque" x="657" y="30" width="66" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="e87d0055-94ea-4d7a-900e-24944a6c5f0f" mode="Opaque" x="0" y="0" width="657" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{NOMBEMPRESA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="da09a6c8-d710-4967-8595-5b5111cc3b4c" mode="Opaque" x="723" y="30" width="79" height="15" backcolor="#CDCDCD"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{USUARIO_ID}+"-"+$P{NOME_USUARIO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="d7da670e-b8ce-4f71-9315-40333034e9b2" x="528" y="80" width="54" height="10"/>
				<textElement textAlignment="Right" markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.irkMinimo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="70957eaa-5277-457d-ab37-ba812c97a0a4" x="582" y="80" width="66" height="10"/>
				<textElement textAlignment="Right" markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.receitaMinima}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="fce223f2-9740-4250-9921-b9ef733b2f2c" x="648" y="80" width="79" height="10"/>
				<textElement textAlignment="Right" markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.diferencaReceitas}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="9961f2c4-054b-4b99-8515-df6dbe13dd02" x="0" y="80" width="37" height="10"/>
				<textElement markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.servico}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="dc5f8cf0-661b-42ea-89c5-1d188b7f56a2" x="288" y="80" width="46" height="10"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.passageiros}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="e2363c9c-3380-4c18-8589-eea80fbab227" x="202" y="80" width="53" height="10"/>
				<textElement textAlignment="Center" markup="none">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.tipoServico}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="11" splitType="Stretch">
			<textField pattern="#,##0.00;-#,##0.00">
				<reportElement uuid="f75ac988-7ec6-4d13-a51e-3a9f933eee66" style="diferencaReceitaNegativa" x="402" y="0" width="69" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="ac86ec2e-f3d6-4841-b40f-7b37d53c3f04" style="diferencaReceitaNegativa" x="37" y="0" width="32" height="11"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{hora}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00">
				<reportElement uuid="8c3fd018-651e-4cb3-96da-7c33a0c8db83" style="diferencaReceitaNegativa" x="334" y="0" width="68" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{irk}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="d5b5f4cf-5f24-4f8c-8a81-b86bc0420d08" style="diferencaReceitaNegativa" x="256" y="0" width="32" height="11"/>
				<textElement textAlignment="Center">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{sentido}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="3850d6a2-d8f1-4e97-9dfb-b93b8ef5472f" style="diferencaReceitaNegativa" x="70" y="0" width="132" height="11"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descRuta}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="50584682-eedc-4aa4-a78a-9eb8a5b7a426" style="diferencaReceitaNegativa" x="582" y="0" width="66" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{receitaMinima}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="2abcbea0-fc74-453c-a86e-7d7e1a3c6845" style="diferencaReceitaNegativa" x="648" y="0" width="79" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{diferencaReceitas}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00">
				<reportElement uuid="4001b02b-ebe4-437d-8a5a-3b4dfa3e247c" style="diferencaReceitaNegativa" x="528" y="0" width="54" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{irkMinimo}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00">
				<reportElement uuid="e1bac278-5cfb-4732-8e2d-2973b3e847e4" style="diferencaReceitaNegativa" x="471" y="0" width="57" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{kmRodado}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="db659017-3127-465c-a237-45c9d808239c" style="diferencaReceitaNegativa" x="0" y="0" width="37" height="11"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0;-#,##0">
				<reportElement uuid="d40d7b49-a758-4c9d-8690-536e28421010" style="diferencaReceitaNegativa" x="288" y="0" width="46" height="11"/>
				<textElement textAlignment="Right">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{passageiros}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="c6775b6c-61fd-447c-80ab-e8b7e000e27b" style="diferencaReceitaNegativa" x="202" y="0" width="53" height="11"/>
				<textElement textAlignment="Center">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tipoServico}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<lastPageFooter>
		<band/>
	</lastPageFooter>
	<summary>
		<band height="14" splitType="Stretch">
			<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="7bbb0c46-57d5-449b-ac94-15eba31bae5b" positionType="Float" x="402" y="0" width="69" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{receita_total}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="6813f5a3-1810-4b53-82ea-3df08df9548f" x="0" y="0" width="69" height="14"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{total.geral}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="c89eabd5-2f70-4834-a49a-a44efa77b8c8" positionType="Float" x="334" y="0" width="68" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{irk_total}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="a2d7e658-d200-4e09-856c-b88cbee79521" positionType="Float" x="582" y="0" width="66" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{receitaMinima_total}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement uuid="35ac2bb4-6e35-4eb1-8d97-85d441aadfe7" positionType="Float" x="648" y="0" width="79" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{diferencaReceitas_total}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00">
				<reportElement uuid="e45e3972-83b7-43f8-8160-f5bad9d38c0e" x="528" y="0" width="54" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{irkMinimo}]]></textFieldExpression>
			</textField>
			<textField pattern="#,##0.00;-#,##0.00" isBlankWhenNull="true">
				<reportElement uuid="0497b315-b7d5-436d-9e66-144db5dec2c1" positionType="Float" x="471" y="0" width="57" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{kmRodado_total}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0;-#,##0" isBlankWhenNull="true">
				<reportElement uuid="adfa7fb1-a180-4f4e-8d10-5f7182a29413" positionType="Float" x="288" y="0" width="46" height="14"/>
				<textElement textAlignment="Right">
					<font size="6" isBold="true" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{passageiros_total}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="20">
			<textField>
				<reportElement uuid="3429e199-e682-4e28-b2ce-1bc9f2d031b2" x="0" y="0" width="840" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
