<?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="RelatorioLinhaOperacional" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="05f861f2-e7cd-40e1-9ba0-8f8cd2c3c35c">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="78"/>
	<parameter name="DATA_INICIAL" class="java.lang.String" isForPrompting="false">
		<parameterDescription><![CDATA[]]></parameterDescription>
	</parameter>
	<parameter name="DATA_FINAL" class="java.lang.String" isForPrompting="false"/>
	<parameter name="FILTROS" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="Linhas" class="java.lang.String"/>
	<field name="KMPadrao" class="java.math.BigDecimal"/>
	<field name="SRVExtra" class="java.lang.Integer"/>
	<field name="SRVTotal" class="java.lang.Integer"/>
	<field name="SRVNormal" class="java.lang.Integer"/>
	<field name="DescLinha" class="java.lang.String"/>
	<field name="KMTotal" class="java.math.BigDecimal"/>
	<variable name="SRVTotalNormal" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[$F{SRVNormal}]]></variableExpression>
	</variable>
	<variable name="SRVTotalExtra" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[$F{SRVExtra}]]></variableExpression>
	</variable>
	<variable name="SRVTotal" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[$F{SRVTotal}]]></variableExpression>
	</variable>
	<variable name="KMTotal" class="java.math.BigDecimal" calculation="Sum">
		<variableExpression><![CDATA[$F{KMTotal}]]></variableExpression>
	</variable>
	<group name="empresa">
		<groupExpression><![CDATA[]]></groupExpression>
		<groupHeader>
			<band/>
		</groupHeader>
		<groupFooter>
			<band/>
		</groupFooter>
	</group>
	<group name="data_venda">
		<groupExpression><![CDATA[]]></groupExpression>
		<groupHeader>
			<band height="22">
				<staticText>
					<reportElement x="376" y="1" width="55" height="20" uuid="5f3a69a7-463d-48ea-99af-f5446c6afd9e"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[SRV Extra]]></text>
				</staticText>
				<staticText>
					<reportElement x="321" y="1" width="55" height="20" uuid="27eb2510-ecb8-4c95-b976-10c318e20fd5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[SRV Normal]]></text>
				</staticText>
				<line>
					<reportElement x="0" y="0" width="555" height="1" uuid="47efb762-6148-45fa-892c-67687d0e52a9"/>
				</line>
				<staticText>
					<reportElement x="431" y="1" width="55" height="20" uuid="00b58cf4-caaa-4721-b08a-2303e6cf5cab"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[SRV Total]]></text>
				</staticText>
				<staticText>
					<reportElement x="247" y="1" width="74" height="20" uuid="ec08843f-04de-4891-abc8-14f015abf4e4"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[Extensão ]]></text>
				</staticText>
				<line>
					<reportElement x="0" y="21" width="555" height="1" uuid="b17d89e0-6b0b-4905-a5d7-8f5efaeba8b7"/>
				</line>
				<staticText>
					<reportElement x="0" y="1" width="52" height="20" uuid="b262d6ff-a3bc-4979-bad8-d1bdd50cdc26"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[Linha]]></text>
				</staticText>
				<staticText>
					<reportElement x="52" y="1" width="195" height="20" uuid="68fc8cc7-0228-48f5-b332-64aa4b34c560"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[Descrição ]]></text>
				</staticText>
				<staticText>
					<reportElement x="486" y="1" width="69" height="20" uuid="f2bb8e30-d37b-41f4-b8a9-cd80f669d0b1"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="9" isBold="true"/>
					</textElement>
					<text><![CDATA[KMTotal]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="23">
				<line>
					<reportElement positionType="Float" x="0" y="0" width="555" height="1" uuid="5942b8cb-4274-4ff4-be5c-ded9128456a4"/>
				</line>
				<textField>
					<reportElement x="321" y="1" width="55" height="22" uuid="c945c103-3acb-41e9-9187-80313803ca68"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{SRVTotalNormal}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="376" y="1" width="55" height="22" uuid="b8c3b74a-3e67-482e-a6f2-62a663be78f0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{SRVTotalExtra}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="431" y="1" width="55" height="22" uuid="9b262fa5-4f76-4ce1-917c-37b91750a400"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{SRVTotal}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="486" y="1" width="69" height="22" uuid="86e2d1a6-e575-426a-984f-d987e654a450"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="10" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{KMTotal}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="247" y="1" width="74" height="22" uuid="4e67232c-fb55-48c3-a8ce-064afe60c36d"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font isBold="true"/>
					</textElement>
					<text><![CDATA[TOTAL:]]></text>
				</staticText>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="73" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="0" width="247" height="20" uuid="68f4ea28-b08b-4655-ab65-5f181721909f"/>
				<textElement>
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[Kilometragem Programada]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement x="403" y="0" width="152" height="20" uuid="d0203404-283e-4281-a85f-9fe7c3f0e121"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="31" width="291" height="20" uuid="7adb9127-4696-4a5a-9ebb-ab4430744550"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Período: " + $P{DATA_INICIAL} + " a " + $P{DATA_FINAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="51" width="46" height="20" uuid="4edc7c1b-38fc-4738-a3eb-a8002b23ae18"/>
				<textElement verticalAlignment="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Filtros:]]></text>
			</staticText>
			<line>
				<reportElement positionType="Float" x="0" y="71" width="555" height="1" uuid="001cfcc7-c18f-4b8f-9bd1-01568512ca0c"/>
			</line>
			<textField>
				<reportElement x="46" y="51" width="509" height="20" uuid="9b9ca6f0-2531-42dc-8d40-e54c9dba2064"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="20" splitType="Stretch">
			<textField>
				<reportElement x="371" y="0" width="184" height="20" uuid="6a9bc57e-e736-4980-9a76-2c0c5f9da022"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Página " + $V{PAGE_NUMBER}+ " de " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="14" splitType="Stretch">
			<textField>
				<reportElement x="0" y="0" width="48" height="14" uuid="0f0cfa81-d8bf-407c-9551-341442765b6a"/>
				<textElement textAlignment="Right" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{Linhas}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="376" y="0" width="55" height="14" uuid="5da852ae-50a6-4f04-84ee-2ecf5e9bca9f"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{SRVExtra}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="52" y="0" width="195" height="14" uuid="1bba72dc-a585-48fb-8865-1247d00cac96"/>
				<textElement verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{DescLinha}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="321" y="0" width="55" height="14" uuid="2b3aed1c-0b1b-4e81-aea9-8d0298e1cd0d"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{SRVNormal}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="431" y="0" width="55" height="14" uuid="dd89894e-bbc7-4dce-9dd4-9b766c8b35fe"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{SRVTotal}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="247" y="0" width="74" height="14" uuid="bcc5ff65-5812-48d3-87c1-2dda80723857"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{KMPadrao}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="486" y="0" width="69" height="14" uuid="963e0594-8a28-4a8c-a7c2-d87a9ae27906"/>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{KMTotal}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
