<?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="OUTROS_APURACAO_ICMS_ENTRADAS" pageWidth="594" pageHeight="842" columnWidth="536" leftMargin="29" rightMargin="29" topMargin="20" bottomMargin="20" uuid="e4de6e44-6757-4591-a3d2-b68a2124764d">
	<property name="ireport.scriptlethandling" value="0"/>
	<property name="ireport.encoding" value="UTF-8"/>
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="109"/>
	<import value="net.sf.jasperreports.engine.*"/>
	<import value="java.util.*"/>
	<import value="net.sf.jasperreports.engine.data.*"/>
	<parameter name="NOME_EMPRESA" class="java.lang.String" isForPrompting="false"/>
	<parameter name="CNPJ_NOME" class="java.lang.String" isForPrompting="false"/>
	<parameter name="INSCRICAO_ESTADUAL_NOME" class="java.lang.String" isForPrompting="false"/>
	<parameter name="LOGO" class="java.lang.String" isForPrompting="false"/>
	<parameter name="LOGO_RELATORIO" class="net.sf.jasperreports.engine.JRImageRenderer" isForPrompting="false"/>
	<parameter name="imagens" class="java.util.List"/>
	<parameter name="FECHO" class="java.lang.String"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["D:\\Projetos\\Projeto Mentor\\MentorDenis\\reports\\mercado\\gestaovendas\\logistica\\mapaclientes\\"]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="indice" class="java.lang.Character"/>
	<field name="nome" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.nome]]></fieldDescription>
	</field>
	<field name="identificador" class="java.lang.Long">
		<fieldDescription><![CDATA[pessoa.identificador]]></fieldDescription>
	</field>
	<field name="distancia" class="java.lang.Double">
		<fieldDescription><![CDATA[pessoa.distanciaKm]]></fieldDescription>
	</field>
	<field name="latitude" class="java.lang.Double">
		<fieldDescription><![CDATA[pessoa.latitude]]></fieldDescription>
	</field>
	<field name="longitude" class="java.lang.Double">
		<fieldDescription><![CDATA[pessoa.longitude]]></fieldDescription>
	</field>
	<field name="logradouro" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.logradouro]]></fieldDescription>
	</field>
	<field name="cep" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.cep]]></fieldDescription>
	</field>
	<field name="numero" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.numero]]></fieldDescription>
	</field>
	<field name="bairro" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.bairro]]></fieldDescription>
	</field>
	<field name="complemento" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.complemento]]></fieldDescription>
	</field>
	<field name="cidade" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.cidade.descricao]]></fieldDescription>
	</field>
	<field name="uf" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.cidade.uf.sigla]]></fieldDescription>
	</field>
	<field name="pais" class="java.lang.String">
		<fieldDescription><![CDATA[pessoa.endereco.cidade.uf.pais.descricao]]></fieldDescription>
	</field>
	<variable name="dataRel" class="java.util.Date">
		<initialValueExpression><![CDATA[new java.util.Date()]]></initialValueExpression>
	</variable>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="72" splitType="Stretch">
			<textField isBlankWhenNull="true">
				<reportElement key="textField-7" x="155" y="8" width="279" height="17" uuid="90df2e21-8132-4d55-b2ae-3d7ba9771d4f"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-21" x="159" y="32" width="27" height="12" uuid="621323c7-1ce8-4b9a-8392-5bf0f6b8aaf4"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font size="8" isBold="true" isItalic="true" pdfFontName="Helvetica-BoldOblique"/>
				</textElement>
				<text><![CDATA[CNPJ :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-22" x="268" y="32" width="77" height="12" uuid="1af939fd-269c-4342-bc8c-5e8fc8e579ba"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font size="8" isBold="true" isItalic="true" pdfFontName="Helvetica-BoldOblique"/>
				</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-10" x="187" y="32" width="80" height="12" uuid="c1d9930e-a73d-415e-a370-f6b201b45fd9"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{CNPJ_NOME}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-11" x="346" y="32" width="85" height="12" uuid="fe54bee9-b6cf-45b9-9d01-48d2ed6255a1"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{INSCRICAO_ESTADUAL_NOME}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement key="image-1" x="0" y="0" width="154" height="52" uuid="3917761c-e7c9-4bbf-a39a-229e53a6c903"/>
				<imageExpression><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="-1" y="52" width="536" height="20" uuid="54327539-719e-4991-9246-9b16331b13a1"/>
				<textElement textAlignment="Center">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Mapeamento de clientes]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="67" splitType="Stretch">
			<staticText>
				<reportElement x="0" y="0" width="55" height="12" uuid="59e75b15-3697-44c6-a675-680dbaaa75d3"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Cliente:]]></text>
			</staticText>
			<rectangle>
				<reportElement x="320" y="0" width="34" height="12" backcolor="#000000" uuid="da6038c2-57ab-47cb-aeeb-76d5a1c5a880"/>
			</rectangle>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="58" y="0" width="26" height="12" uuid="357cadaa-29d2-4d5d-bfd0-d148f34406cc"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{identificador}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="84" y="0" width="202" height="12" uuid="364c77ff-2fd8-4b84-ad18-ab1cb3bf23ea"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nome}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="286" y="0" width="31" height="12" uuid="5e5af80a-8b71-4a0d-a7d4-6bc3b4d04adc"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Indice:]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="320" y="0" width="34" height="12" forecolor="#FFFFFF" uuid="41b14a2f-cf5f-4536-a3b7-141a2c84445e"/>
				<textElement textAlignment="Center">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{indice}.toString()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="12" width="55" height="12" uuid="601dff09-4b09-4bc7-8d34-a3c319df2f2f"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Distancia:]]></text>
			</staticText>
			<staticText>
				<reportElement x="141" y="12" width="46" height="12" uuid="5564ad3b-5556-47a4-a318-796c729a00c7"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Latitude:]]></text>
			</staticText>
			<staticText>
				<reportElement x="268" y="12" width="49" height="12" uuid="9b9964d2-9408-4be9-b16b-7c336ddbaba0"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Longitude:]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="58" y="12" width="54" height="12" uuid="81dc19cc-39b2-4b3b-a1a5-b9300bd3bfcd"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{distancia}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="187" y="12" width="57" height="12" uuid="b366c458-53fd-4cbd-b8bd-b692dc91abc0"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{latitude}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="320" y="12" width="53" height="12" uuid="21a80399-5266-4d77-9a92-37132db6fcac"/>
				<textElement textAlignment="Right">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{longitude}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="24" width="55" height="12" uuid="d26f607d-ba6a-422d-8e5c-d37518db4604"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Logradouro:]]></text>
			</staticText>
			<staticText>
				<reportElement x="268" y="24" width="49" height="12" uuid="54eb8bb0-739f-441a-b29d-0fd280cdb838"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Número:]]></text>
			</staticText>
			<staticText>
				<reportElement x="411" y="24" width="64" height="12" uuid="c5a94c17-1122-4a25-bfe7-34be3380ce48"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Complemento:]]></text>
			</staticText>
			<staticText>
				<reportElement x="-1" y="36" width="56" height="12" uuid="e090b9d7-e26d-4e32-afde-f50b5f2be5b2"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Bairro:]]></text>
			</staticText>
			<staticText>
				<reportElement x="268" y="36" width="49" height="12" uuid="db6ccbed-8969-47c0-9f42-f7a197f44feb"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[Cidade:]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="48" width="55" height="12" uuid="d7ff28b1-8dc8-40f3-b9c2-d5bfee9aa54b"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[CEP:]]></text>
			</staticText>
			<staticText>
				<reportElement x="268" y="48" width="49" height="12" uuid="3febc36b-ffd2-48f2-8d3f-b0830be69dfc"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[País:]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="58" y="24" width="208" height="12" uuid="b0c72164-caf2-4602-bdcb-227cf35b6245"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{logradouro}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="58" y="36" width="207" height="12" uuid="5714e35b-4f4e-4033-9342-e4e2253ea96d"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{bairro}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="187" y="48" width="79" height="12" uuid="99c2369a-c728-445d-b4f4-051b5491e9f1"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{uf}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="320" y="48" width="215" height="12" uuid="dcfa447b-35ab-4c15-ab56-7f143c45fec8"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{pais}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="320" y="36" width="215" height="12" uuid="cb939e90-f63f-4fa4-9728-68f784013e94"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cidade}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="320" y="24" width="91" height="12" uuid="bf889fa3-9bf1-4d8e-a9d2-40770fb00a96"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{numero}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="477" y="24" width="58" height="12" uuid="c63fb5ae-5a3d-4315-8176-7e70ff8369ea"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{complemento}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="141" y="48" width="45" height="12" uuid="d3cef7a8-94e0-4496-869e-53fe49442ab8"/>
				<textElement textAlignment="Right">
					<font size="8" isBold="true"/>
				</textElement>
				<text><![CDATA[UF:]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="58" y="47" width="82" height="13" uuid="a98cb5c8-d388-4532-a233-e246a8d2d43c"/>
				<textElement>
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cep}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="64" width="535" height="1" uuid="24fd76da-7b93-4a85-9eef-6bade275efdd"/>
			</line>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="62" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement positionType="Float" x="-1" y="42" width="536" height="20" uuid="b6a2602c-0dc0-46af-9a7b-2aa8e0093da5"/>
				<textElement textAlignment="Center" markup="html"/>
				<textFieldExpression><![CDATA[$P{FECHO}]]></textFieldExpression>
			</textField>
			<subreport>
				<reportElement x="-1" y="0" width="536" height="42" uuid="00745e31-8490-4d51-b005-bb8df8a213c9"/>
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{imagens})]]></dataSourceExpression>
				<subreportExpression><![CDATA["SUB_BEANS_IMPRESSAO_MAPA.jasper"]]></subreportExpression>
			</subreport>
		</band>
	</summary>
</jasperReport>
