<?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="RelatorioEncerramentoCheckin" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0e8aff42-5ba8-48ac-9950-da8178561888">
	<property name="ireport.zoom" value="1.7715610000000017"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<parameter name="TITULO" class="java.lang.String"/>
	<parameter name="PERIODO_SERVICO" class="java.lang.String"/>
	<parameter name="PERIODO_ENCERRAMENTO" class="java.lang.String"/>
	<parameter name="EMPRESA" class="java.lang.String"/>
	<field name="servico" class="java.lang.Integer"/>
	<field name="dataServico" class="java.lang.String"/>
	<field name="localidade" class="java.lang.String"/>
	<field name="dataEncerramento" class="java.lang.String"/>
	<field name="usuario" class="java.lang.String"/>
	<field name="imei" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band height="82" splitType="Stretch">
			<line>
				<reportElement uuid="481b2107-ee62-4815-8a89-8435d34384c8" x="0" y="76" width="555" height="1"/>
			</line>
			<textField isBlankWhenNull="true">
				<reportElement uuid="63ce47a3-7e94-42a2-8325-eceef777fbe2" x="111" y="40" width="444" height="15"/>
				<textElement verticalAlignment="Middle">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{PERIODO_ENCERRAMENTO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="46ecd1c0-ef3e-4274-9094-1b2dbed2fc43" x="0" y="40" width="111" height="15"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{header.periodo.encerramento}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="33327397-2913-4d10-a128-6e18a85a33c7" x="454" y="0" width="44" height="10"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.data.hora}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="17a5536e-1cf6-48d8-91ad-53d8148af1d6" x="0" y="56" width="111" height="15"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{header.empresa}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="be33ee08-3388-45c3-a0b0-29f482d37076" x="482" y="14" width="44" height="10"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{header.pagina} + "" + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement uuid="48f1a994-4bbe-4b8e-948f-81542fa792c3" x="111" y="56" width="444" height="15"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{EMPRESA}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement uuid="7f5ee01d-f86d-49a4-a2a1-f1c671621ef0" x="111" y="24" width="444" height="15"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="9"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{PERIODO_SERVICO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="9bc31956-04ad-43d0-bcee-08f7b5bf1145" x="0" y="0" width="454" height="20"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement uuid="4a51f623-fe84-4f71-8bfe-271f36619eb1" x="0" y="24" width="111" height="15"/>
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$R{header.periodo.servico}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy HH:mm">
				<reportElement uuid="34f65212-5ae5-4077-b4d8-64d55f0289a9" x="499" y="0" width="56" height="10"/>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement uuid="7883d71b-800c-4367-8c86-e8df1c9a8c35" x="526" y="14" width="29" height="10"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[" de " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band height="17" splitType="Stretch">
			<line>
				<reportElement uuid="cd1b96dd-2097-4af7-a025-7962bc5d7bee" x="0" y="14" width="555" height="1"/>
			</line>
			<textField>
				<reportElement uuid="61efe86a-3f69-4010-ad07-57ade030c3c3" x="0" y="0" width="86" height="14"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.servico}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="dbf216e4-6896-4a81-8391-6a51b2703155" x="86" y="0" width="94" height="14"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.data.servico}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="7812f684-2bdd-4642-84f2-426c0fa9f826" x="180" y="0" width="133" height="14"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.localidade}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="361896ac-9692-4a7b-bdb6-0e8192ada018" x="313" y="2" width="76" height="12"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.data.encerramento}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="16b6597c-c9e0-4ae9-a5d1-a92e508379ce" x="389" y="2" width="93" height="12"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.usuario.operacao}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="ad8c8aaf-5713-42e7-b61e-00a5fba49c18" x="482" y="2" width="73" height="12"/>
				<textElement>
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{detail.imei}]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="11" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="6ef05dfb-fea9-451c-a45a-1dc3f766af84" stretchType="RelativeToBandHeight" x="0" y="0" width="86" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{servico}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="bb3d4047-5bea-4a27-8fbe-0f3ffc8e2c61" stretchType="RelativeToBandHeight" x="86" y="0" width="94" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataServico}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="75f7f9d7-1565-4fb2-81ae-2155c588c756" stretchType="RelativeToBandHeight" x="180" y="0" width="133" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{localidade}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="8982fe97-4cd3-44b2-a173-d900407614b3" stretchType="RelativeToBandHeight" x="313" y="0" width="76" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataEncerramento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="b43ff719-78e5-42e4-a427-3740567f105e" stretchType="RelativeToBandHeight" x="482" y="0" width="73" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{imei}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement uuid="8717aa25-4e17-4dd3-84b9-9c7e37d80940" stretchType="RelativeToBandHeight" x="389" y="0" width="93" height="10"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
	<noData>
		<band height="20">
			<textField>
				<reportElement uuid="6320f11e-df43-4140-8144-55d84dc92ce6" x="0" y="0" width="555" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression><![CDATA[$R{msg.noData}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
