<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.10.0.final using JasperReports Library version 6.10.0-unknown  -->
<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_PEDIDOS_POR_SITUACAO" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="782" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" uuid="210a903e-d23a-4029-82fa-a9a7857f3711">
	<property name="ireport.scriptlethandling" value="0"/>
	<property name="ireport.encoding" value="UTF-8"/>
	<import value="net.sf.jasperreports.engine.*"/>
	<import value="java.util.*"/>
	<import value="net.sf.jasperreports.engine.data.*"/>
	<parameter name="LOGO_RELATORIO" class="net.sf.jasperreports.engine.JRImageRenderer" 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="NOME_EMPRESA" class="java.lang.String" isForPrompting="false"/>
	<parameter name="DATA_INICIAL" class="java.util.Date"/>
	<parameter name="DATA_FINAL" class="java.util.Date"/>
	<parameter name="SUBREPORT_DIR_OUTR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["E:\\Projetos\\Projeto Mentor\\Mentor\\relatorios\\outros\\subreports\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="FECHO" class="java.lang.String" isForPrompting="false"/>
	<parameter name="ID_SIT_PED_INICIAL" class="java.lang.Long"/>
	<parameter name="ID_SIT_PED_FINAL" class="java.lang.Long"/>
	<parameter name="ID_CLIENTE_INICIAL" class="java.lang.Long"/>
	<parameter name="ID_CLIENTE_FINAL" class="java.lang.Long"/>
	<parameter name="ID_GRUPO_SIT_INICIAL" class="java.lang.Long" isForPrompting="false"/>
	<parameter name="ID_GRUPO_SIT_FINAL" class="java.lang.Long" isForPrompting="false"/>
	<parameter name="SUB_DIR_OTHERS" class="java.lang.String" isForPrompting="false"/>
	<parameter name="P_EXIBIR_VALORES_IMPOSTOS" class="java.lang.Short"/>
	<parameter name="P_FILTRAR_SITUACAO_CANCELADOS" class="java.lang.Short"/>
	<queryString>
		<![CDATA[select  distinct
    s.id_situacao_pedidos,s.descricao
from pedido p
    inner join unidade_fat_cliente u on u.id_unidade_fat_cliente = p.id_unidade_fat_cliente
    inner join situacao_pedidos s on s.id_situacao_pedidos = p.id_situacao_pedido
    LEFT join  grupo_de_situacoes_grupo gr ON (gr.id_situacao_pedidos = s.id_situacao_pedidos)
    LEFT JOIN  grupo_de_situacoes g on (g.id_grupo_de_situacoes = gr.id_grupo_de_situacoes)
where
((S.id_situacao_pedidos between $P{ID_SIT_PED_INICIAL} AND $P{ID_SIT_PED_FINAL}
 AND ($P{P_FILTRAR_SITUACAO_CANCELADOS} <> 1 
 OR  S.id_situacao_pedidos IN(Select SP.id_situacao_pedidos From situacao_pedidos SP Where UPPER(SP.descricao) Like '%PEDIDO CANCELADO%')))
or
g.id_grupo_de_situacoes between $P{ID_GRUPO_SIT_INICIAL} AND $P{ID_GRUPO_SIT_FINAL})
and p.data_previsao_saida between $P{DATA_INICIAL} AND $P{DATA_FINAL}
AND u.id_cliente between $P{ID_CLIENTE_INICIAL} AND $P{ID_CLIENTE_FINAL}]]>
	</queryString>
	<field name="ID_SITUACAO_PEDIDOS" class="java.lang.Integer"/>
	<field name="DESCRICAO" class="java.lang.String"/>
	<variable name="V_TOTALIZADOR_GERAL" class="java.lang.Double" calculation="Sum"/>
	<variable name="V_TOTALIZADOR_GERAL_COM_IMPOSTOS" class="java.lang.Double" calculation="Sum"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="55" splitType="Stretch">
			<image onErrorType="Blank">
				<reportElement key="image-1" x="131" y="1" width="154" height="52" uuid="919225db-0cb7-4266-bb9e-d94a553df35c"/>
				<imageExpression><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
			</image>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-1" x="286" y="9" width="279" height="17" uuid="337857b7-abd5-4f88-9ccb-994a73c3f202"/>
				<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"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-1" x="565" y="16" width="35" height="14" uuid="673d8dd4-9edf-4041-bacc-c36ba340a6b8"/>
				<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="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Data :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-2" x="565" y="32" width="35" height="14" uuid="ee7ddab8-2f8f-44cd-ae74-de1f0c899f22"/>
				<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="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Hora :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-3" x="290" y="33" width="27" height="12" uuid="5e0fd592-12d0-43de-bbbd-93705f6be067"/>
				<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"/>
				</textElement>
				<text><![CDATA[CNPJ :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-4" x="399" y="33" width="77" height="12" uuid="4f779282-c975-464b-bcf9-477061c7d6f5"/>
				<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"/>
				</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-4" x="318" y="33" width="80" height="12" uuid="c7d7b41f-91cf-4db1-9d66-3a4efbbaa2a0"/>
				<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-5" x="477" y="33" width="85" height="12" uuid="70cd88a3-b700-469f-9bd9-2317f1cf345f"/>
				<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>
			<textField evaluationTime="Report" pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement key="textField-6" x="600" y="16" width="66" height="14" uuid="90f8bfe0-767c-4655-bf98-ddd771969852"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="HH.mm.ss" isBlankWhenNull="false">
				<reportElement key="textField-7" x="600" y="30" width="66" height="16" uuid="e0f650ed-c596-4422-8596-1d4cd160734b"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="54" splitType="Stretch">
			<staticText>
				<reportElement key="staticText-5" x="0" y="10" width="782" height="19" uuid="1c1b84d9-7f0d-439f-a7af-53136a0e465a"/>
				<box>
					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.5" lineStyle="Solid"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Listagem Pedidos por Situação]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-15" x="17" y="31" width="47" height="11" uuid="0e79fef2-39dc-4047-88bd-d914a6bb9e2d"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Data Inicial:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-16" x="17" y="43" width="47" height="11" uuid="080eca30-b4f6-4eb9-98c9-a6bc42083500"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Data Final:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-17" x="144" y="31" width="47" height="11" uuid="f07313dc-8eed-47df-a5c1-5ea467a76502"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Sit. Inicial:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-18" x="144" y="43" width="47" height="11" uuid="63244568-e339-4009-b0d2-51cbb3980ebc"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Sit. Final:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-19" x="260" y="31" width="56" height="11" uuid="d726db8d-7912-4622-95f2-d89fb46df852"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Cliente Inicial:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-20" x="260" y="43" width="56" height="11" uuid="1521f014-0f66-4e33-a509-300dc5672162"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Cliente Final:]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement key="textField" x="65" y="31" width="67" height="11" uuid="5d1e6283-a9d6-4e1f-9fd6-07c18e3a1f10"/>
				<textElement textAlignment="Center">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement key="textField" x="65" y="43" width="67" height="11" uuid="4ea11d2c-b9f4-498a-9185-880c076189dd"/>
				<textElement textAlignment="Center">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="193" y="31" width="55" height="11" uuid="6ce946c8-a055-4c6f-8a6e-d1c02057d138"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_SIT_PED_INICIAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="193" y="43" width="55" height="11" uuid="80857e0f-4de5-41f2-a56a-cad9882181c4"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_SIT_PED_FINAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="318" y="31" width="63" height="11" uuid="a4c712d8-0540-4e86-8a8d-d916439aa19b"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_CLIENTE_INICIAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="317" y="43" width="63" height="11" uuid="ee30577a-e290-411a-a656-81f3bfc7401f"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_CLIENTE_FINAL}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="18" splitType="Stretch">
			<rectangle>
				<reportElement key="rectangle-1" x="0" y="0" width="782" height="12" backcolor="#CCCCCC" uuid="2287c6a4-50b6-4237-9479-58bbe7f340a9"/>
				<graphicElement>
					<pen lineWidth="0.5" lineStyle="Solid"/>
				</graphicElement>
			</rectangle>
			<staticText>
				<reportElement key="staticText-14" x="2" y="1" width="41" height="10" uuid="7390e050-94ab-4f82-9c48-4c85d6bf7773"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Situação:]]></text>
			</staticText>
			<textField isBlankWhenNull="false">
				<reportElement key="textField" x="46" y="1" width="694" height="10" uuid="7f5889ad-facc-4562-a6ff-1f6e55aa7863"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{ID_SITUACAO_PEDIDOS}.toString()+" - "+$F{DESCRICAO}]]></textFieldExpression>
			</textField>
			<subreport isUsingCache="true">
				<reportElement key="subreport-1" x="0" y="13" width="782" height="2" uuid="857fc66d-61fc-409b-bbdd-12c26b348ab7"/>
				<subreportParameter name="ID_CLIENTE_FINAL">
					<subreportParameterExpression><![CDATA[$P{ID_CLIENTE_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_SIT_PED">
					<subreportParameterExpression><![CDATA[$F{ID_SITUACAO_PEDIDOS}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="ID_CLIENTE_INICIAL">
					<subreportParameterExpression><![CDATA[$P{ID_CLIENTE_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_INICIAL">
					<subreportParameterExpression><![CDATA[$P{DATA_INICIAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="DATA_FINAL">
					<subreportParameterExpression><![CDATA[$P{DATA_FINAL}]]></subreportParameterExpression>
				</subreportParameter>
				<subreportParameter name="P_EXIBIR_VALORES_IMPOSTOS">
					<subreportParameterExpression><![CDATA[$P{P_EXIBIR_VALORES_IMPOSTOS}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<returnValue subreportVariable="V_TOTALIZADOR_PEDIDO_SITUACAO" toVariable="V_TOTALIZADOR_GERAL" calculation="Sum"/>
				<returnValue subreportVariable="V_TOTALIZADOR_PEDIDO_SITUACAO_COM_IMPOSTOS" toVariable="V_TOTALIZADOR_GERAL_COM_IMPOSTOS" calculation="Sum"/>
				<subreportExpression><![CDATA[$P{SUB_DIR_OTHERS} + "SUB_OUTROS_PEDIDOS_POR_SITUACAO.jasper"]]></subreportExpression>
			</subreport>
			<line>
				<reportElement key="line-5" positionType="Float" x="0" y="16" width="782" height="1" uuid="24987a96-fc1c-4b22-ac7b-991d5f9b95e2"/>
				<graphicElement>
					<pen lineWidth="0.25"/>
				</graphicElement>
			</line>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="26" splitType="Stretch">
			<staticText>
				<reportElement key="staticText-33" x="581" y="0" width="160" height="14" uuid="1443eb4f-bf53-4074-9dda-5b394eda7db5"/>
				<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"/>
				<text><![CDATA[]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-25" x="740" y="12" width="17" height="14" uuid="97acb54a-dc76-44ce-bd7e-d6927e9144c4"/>
				<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="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" isBlankWhenNull="true">
				<reportElement key="textField-26" x="765" y="12" width="17" height="14" uuid="443c5567-799a-48aa-b202-b28bc830bc76"/>
				<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="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-34" x="757" y="12" width="8" height="14" uuid="462e2df4-36ff-464a-8402-86a5eee1f6de"/>
				<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="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[/]]></text>
			</staticText>
			<textField isBlankWhenNull="false" hyperlinkType="RemotePage">
				<reportElement key="textField-27" x="581" y="12" width="160" height="14" forecolor="#0099FF" uuid="e47c5c08-7eeb-4407-bda8-f4c0d494218e"/>
				<textElement textAlignment="Center">
					<font size="9" isItalic="true" isUnderline="true"/>
				</textElement>
				<textFieldExpression><![CDATA["www.touchcomp.com.br"]]></textFieldExpression>
				<hyperlinkReferenceExpression><![CDATA["HTTP://WWW.touchcomp.com.br"]]></hyperlinkReferenceExpression>
			</textField>
		</band>
	</pageFooter>
	<lastPageFooter>
		<band height="26" splitType="Stretch">
			<staticText>
				<reportElement key="staticText-7" x="581" y="0" width="160" height="14" uuid="0ff39421-f7d8-4bef-ba5f-4768361e5055"/>
				<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"/>
				<text><![CDATA[Touch Comp]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-10" x="740" y="12" width="17" height="14" uuid="ec1b1492-d6c2-483f-83b5-bfed02a32d24"/>
				<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="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" isBlankWhenNull="true">
				<reportElement key="textField-11" x="765" y="12" width="17" height="14" uuid="726dbfba-2d3d-4dc2-b020-bb0b49926731"/>
				<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="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-8" x="757" y="12" width="8" height="14" uuid="4ab41dad-b8a4-413a-a2e4-329bb4da2271"/>
				<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="Middle">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[/]]></text>
			</staticText>
			<textField isBlankWhenNull="false" hyperlinkType="RemotePage">
				<reportElement key="textField-12" x="581" y="12" width="160" height="14" forecolor="#0099FF" uuid="63ee7ba0-29b4-4d12-a152-d119b362af17"/>
				<textElement textAlignment="Center">
					<font size="9" isItalic="true" isUnderline="true"/>
				</textElement>
				<textFieldExpression><![CDATA["www.touchcomp.com.br"]]></textFieldExpression>
				<hyperlinkReferenceExpression><![CDATA["HTTP://WWW.touchcomp.com.br"]]></hyperlinkReferenceExpression>
			</textField>
		</band>
	</lastPageFooter>
	<summary>
		<band height="33" splitType="Stretch">
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement key="textField-13" x="0" y="10" width="782" height="23" isRemoveLineWhenBlank="true" uuid="1e27672b-e35d-461c-98f6-4c56cfd15573"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="html"/>
				<textFieldExpression><![CDATA[$P{FECHO}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="#,##0.00#" isBlankWhenNull="true">
				<reportElement key="textField" x="726" y="0" width="54" height="10" uuid="262102cf-4d8e-483d-93ff-55b9d48787ff">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<box>
					<topPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{V_TOTALIZADOR_GERAL}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-6" x="465" y="0" width="100" height="10" uuid="85f8797c-63d5-4f44-b100-9bc91a8766ca"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Totalizador Geral:]]></text>
			</staticText>
			<line>
				<reportElement x="590" y="0" width="192" height="1" uuid="1e44841b-8050-4ebc-908f-da463922a12c"/>
			</line>
			<textField isStretchWithOverflow="true" pattern="#,##0.00#" isBlankWhenNull="true">
				<reportElement key="textField" x="625" y="0" width="101" height="10" uuid="e58a91eb-eb3c-4d08-b4d1-027a6f4ec8cd">
					<printWhenExpression><![CDATA[$P{P_EXIBIR_VALORES_IMPOSTOS}==1]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{V_TOTALIZADOR_GERAL_COM_IMPOSTOS}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="145" splitType="Stretch">
			<image>
				<reportElement key="image-2" x="131" y="0" width="154" height="52" uuid="ee9b3fbd-911b-4a18-ab31-102ff0280d08"/>
				<imageExpression><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
			</image>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-14" x="286" y="8" width="279" height="17" uuid="8fbe5400-fef0-4e07-9f33-fc8b565d6186"/>
				<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"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-21" x="565" y="15" width="35" height="14" uuid="767963fa-b826-4b33-9b1c-4bf7efd205dd"/>
				<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="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Data :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-22" x="565" y="31" width="35" height="14" uuid="09d9e439-129f-44a3-a910-a48437298cc7"/>
				<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="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Hora :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-23" x="290" y="32" width="27" height="12" uuid="6240a702-fdeb-4090-9cb1-af51a0c080a1"/>
				<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"/>
				</textElement>
				<text><![CDATA[CNPJ :]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-24" x="399" y="32" width="77" height="12" uuid="b99ec907-6dcc-41d6-aa44-44609f09537f"/>
				<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"/>
				</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement key="textField-15" x="318" y="32" width="80" height="12" uuid="627b8429-e9f9-4dd2-b361-7b4d703d02ef"/>
				<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-16" x="477" y="32" width="85" height="12" uuid="b1f224c0-a3e0-4076-8798-e84ad78218b8"/>
				<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>
			<textField evaluationTime="Report" pattern="dd/MM/yyyy" isBlankWhenNull="false">
				<reportElement key="textField-17" x="600" y="15" width="66" height="14" uuid="ad27997d-1927-4486-81c7-a3f993c96d0e"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="HH.mm.ss" isBlankWhenNull="false">
				<reportElement key="textField-18" x="600" y="29" width="66" height="16" uuid="116e1345-f358-4207-a7bd-0c22c3307a72"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="staticText-25" x="0" y="55" width="782" height="19" uuid="8a97ef61-e148-4f5b-ac3a-ebd9095ef48f"/>
				<box>
					<pen lineWidth="0.5" lineStyle="Solid"/>
					<topPen lineWidth="0.5" lineStyle="Solid"/>
					<leftPen lineWidth="0.5" lineStyle="Solid"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid"/>
					<rightPen lineWidth="0.5" lineStyle="Solid"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Listagem Pedidos por Situação]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-32" positionType="Float" x="0" y="116" width="782" height="29" uuid="e293d1ff-062e-4a33-87c6-745e6f805113"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None">
					<font size="15"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Não Existe Pedido cadastrado dentre os Filtros selecionados]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-35" x="17" y="76" width="47" height="11" uuid="de41d04a-7f6e-4851-906c-415a9f6bac56"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Data Inicial:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-36" x="17" y="88" width="47" height="11" uuid="6c5c6d42-95f4-45f6-94c0-737a21d42627"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Data Final:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-37" x="144" y="76" width="47" height="11" uuid="d3ee0f47-cefd-45b9-b428-5bbaafea3dbe"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Sit. Inicial:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-38" x="144" y="88" width="47" height="11" uuid="2cbebced-7300-4732-820a-5412f1ac5d91"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Sit. Final:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-39" x="260" y="76" width="56" height="11" uuid="ad1eb45c-8f56-4979-9049-b700d6eb4e0a"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Cliente Inicial:]]></text>
			</staticText>
			<staticText>
				<reportElement key="staticText-40" x="260" y="88" width="56" height="11" uuid="ddc51179-6cbc-4176-9584-b70650d9f29c"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="true"/>
				</textElement>
				<text><![CDATA[Cliente Final:]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement key="textField-28" x="65" y="76" width="67" height="11" uuid="44b2f100-d1ff-4788-a667-526cd20f9809"/>
				<textElement textAlignment="Center">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_INICIAL}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement key="textField-29" x="65" y="88" width="67" height="11" uuid="f0d8e0f0-e858-4442-8e38-4d600bd980b8"/>
				<textElement textAlignment="Center">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DATA_FINAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField-30" x="193" y="76" width="55" height="11" uuid="2af062c0-e7f5-44b0-9683-868f160ccc28"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_SIT_PED_INICIAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField-31" x="193" y="88" width="55" height="11" uuid="5f46e75b-0afd-4cce-ad9c-c478fa60073f"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_SIT_PED_FINAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField-32" x="318" y="76" width="63" height="11" uuid="c7d9e696-fd14-4996-9662-0e4f1bcf250d"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_CLIENTE_INICIAL}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="textField-33" x="318" y="88" width="63" height="11" uuid="36e4c911-a785-42ab-b8b2-13fd20b498e3"/>
				<textElement>
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{ID_CLIENTE_FINAL}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
