<?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="RelatorioMovimentoPorOrgaoConcedente" pageWidth="842" pageHeight="842" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="6900d901-4f10-40bb-bc09-f9c1c7060dfc">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="163"/>
	<parameter name="ORGAO_CONCEDENTE" class="java.lang.String"/>
	<parameter name="DATA_DE" class="java.util.Date"/>
	<parameter name="DATA_ATE" class="java.util.Date"/>
	<parameter name="EMPRESA" class="java.lang.String"/>
	<parameter name="MUNICIPIO" class="java.lang.String"/>
	<parameter name="LINHA" class="java.lang.String"/>
	<parameter name="ENDERECO" class="java.lang.String"/>
	<parameter name="CNPJ" class="java.lang.String"/>
	<parameter name="INSCRICAO" class="java.lang.String"/>
	<field name="SECCOES" class="java.lang.String"/>
	<field name="KM" class="java.lang.String"/>
	<field name="SEQ" class="java.lang.String"/>
	<field name="SENTIDO" class="java.lang.String"/>
	<field name="TOTAL" class="java.lang.String"/>
	<field name="SOMA" class="java.lang.String"/>
	<field name="TARIFA" class="java.lang.String"/>
	<field name="SERVICO" class="java.lang.String"/>
	<group name="Secoes">
		<groupExpression><![CDATA[$F{SECCOES}]]></groupExpression>
		<groupHeader>
			<band height="21">
				<textField>
					<reportElement uuid="f75529ee-dc46-41e4-9219-382381c011d7" x="0" y="0" width="330" height="20"/>
					<textElement>
						<font size="7"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{SECCOES}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="160" splitType="Stretch">
			<textField>
				<reportElement uuid="c65887a6-a78a-400f-84bd-ed4d09a4b492" x="0" y="60" width="802" height="20"/>
				<textElement textAlignment="Center" markup="none">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.titulo.relatorio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5e67db14-e1ef-4e2a-a6a4-bd21adfc35ed" x="623" y="0" width="179" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c7da0bfc-d99f-4551-94c1-99cc5a0af80d" x="0" y="20" width="200" height="20"/>
				<textElement textAlignment="Center">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ORGAO_CONCEDENTE}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="1b824e4c-ebdd-4852-b29a-15320ab744b0" x="0" y="0" width="200" height="20"/>
				<textElement markup="none">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.poderConcedente}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="8770a74a-33a0-44f2-bebd-574588bcd4ae" x="423" y="20" width="200" height="20"/>
				<textElement textAlignment="Right" markup="none">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.periodo}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c2d86c3b-29b7-43e7-82c2-706eadd3e067" x="423" y="40" width="200" height="20"/>
				<textElement textAlignment="Right" markup="none">
					<font size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.ate}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="5c6c0a52-ecbb-4423-8a0a-24c789d8b3da" x="623" y="20" width="179" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{DATA_DE}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="02d93ca3-4d18-4440-940b-674ac21fd849" x="623" y="40" width="179" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{DATA_ATE}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="31137737-3d7a-450f-bd8f-ceaa97f463be" x="0" y="80" width="69" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="d9f51fd7-872b-45b6-ab47-7c69679db9ed" x="69" y="80" width="334" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="8a44071d-2677-4c75-8931-20c1f2306818" x="69" y="100" width="334" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{MUNICIPIO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="bbc0db06-9f0f-4989-82a2-bddb5479775d" x="0" y="100" width="69" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{header.municipio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="0a5e07fe-7388-4e38-9a2c-3fab33edf4a1" x="69" y="120" width="334" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{LINHA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="73ff499c-1cc2-4852-9b25-cb336d66e9fa" x="0" y="120" width="69" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{header.linha}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="ecce43f4-3f2a-4a15-ad05-067d4d5c66c4" x="472" y="80" width="330" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{ENDERECO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="f812fe0c-c355-4a5b-a6c9-098ee57642ae" x="403" y="80" width="69" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{header.endereco}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="bbaf5ea2-2d14-4210-a8b8-b8c92a90c8c8" x="472" y="100" width="330" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{CNPJ}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="8110a811-cc15-4678-965f-e7ec9ea3c2d2" x="403" y="100" width="69" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{header.cnpj}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="1d20d65c-da30-4749-b3e8-5d8c8b9a0c5d" x="403" y="120" width="69" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{header.inscricao}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="888d2a97-cb82-431f-bced-4012e8862e17" x="472" y="120" width="330" height="20"/>
				<textElement/>
				<textFieldExpression><![CDATA[$P{INSCRICAO}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<columnHeader>
		<band height="20" splitType="Stretch">
			<textField>
				<reportElement uuid="3f49eb55-2f9a-453a-8e4c-42b184c5fcde" x="0" y="0" width="330" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.seccoes}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="35962dfe-0b52-4db6-9c79-51e454b74e74" x="393" y="0" width="63" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.km}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="46aafef6-606e-49af-b43a-5176c821feec" x="456" y="0" width="63" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.sentido}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="979c5cf9-43a9-4924-9684-97d541a062c5" x="645" y="0" width="63" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.total}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2e945450-f777-46f5-9b2f-0475119c906b" x="519" y="0" width="63" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.soma}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="65c60056-fe02-4408-be7e-33cd73c22f9a" x="582" y="0" width="63" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.tarifa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5cda7c79-7c29-43cf-9452-80a1d982bc77" x="330" y="0" width="63" height="19"/>
				<textElement markup="none">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{column.header.servico}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="22" splitType="Stretch">
			<textField>
				<reportElement uuid="fbbcf767-7d17-4dac-969e-24b3df0d85eb" x="456" y="0" width="63" height="20"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SENTIDO}.equals("0") ? "VOLTA" : "IDA"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="2e380065-d3e6-4b7f-851c-0e166f7e5029" x="393" y="0" width="63" height="20"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{KM}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="c927d107-9d08-4346-aefc-86c60432a6ec" x="645" y="0" width="63" height="20"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{TOTAL}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="5cba3c34-c7e5-4ad1-b4dd-4ab2a241a89e" x="519" y="0" width="63" height="20"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SOMA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="af81d28f-5864-43dc-86c6-dba9673c7ff6" x="582" y="0" width="63" height="20"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{TARIFA}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="cfb35586-46e6-4022-81d7-c1c57cbd701c" x="330" y="0" width="63" height="20"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{SERVICO}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<noData>
		<band height="50">
			<textField>
				<reportElement uuid="867ed242-e94e-4141-b4a5-a434ade7b001" x="272" y="14" width="530" height="20"/>
				<textElement markup="none">
					<font size="11" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
