<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" DotMatrixReport="False" EngineOptions.SilentMode="True" EngineOptions.NewSilentMode="simSilent" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PrintOptions.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="43487,3236286458" ReportOptions.Description.Text="" ReportOptions.LastChange="45104,7307240509" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end." ShowProgress="False" StoreInDFM="False">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="QryEmpresa" DataSetName="QryEmpresa"/>
    <item DataSet="qryFechada" DataSetName="qryFechada"/>
  </Datasets>
  <Variables>
    <item Name=" Sisplan"/>
    <item Name="vUsuario" Value="'SISPLAN'"/>
    <item Name="vLayout" Value="''"/>
    <item Name="vNivel" Value="''"/>
    <item Name="vNivelDesc" Value="''"/>
    <item Name="vPastaFotos" Value="'C:\sisplan\..\Foto\'"/>
    <item Name="vPath" Value="'C:\sisplan'"/>
    <item Name="vTipoBanco" Value="'F'"/>
    <item Name="Empresa" Value="'_004'"/>
    <item Name="Layout" Value="'relvendaresumido.FR3'"/>
    <item Name="PastaFotos" Value="'\\192.168.25.190\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'4'"/>
    <item Name="EMISSAOATE" Value="'2023-06-05'"/>
    <item Name="RADIONFCE" Value="''"/>
    <item Name="TELA_ORDENACAO" Value="'RelVenda'"/>
    <item Name="CLIENTE" Value="''"/>
    <item Name="RADIOOP" Value="''"/>
    <item Name="ORDEM_ORDENACAO" Value="'1'"/>
    <item Name="VENDEDOR" Value="''"/>
    <item Name="CAIXAECF" Value="''"/>
    <item Name="EMISSAODE" Value="'2023-06-01'"/>
    <item Name="TABELA" Value="''"/>
    <item Name="DEVOLVIDO" Value="'true'"/>
    <item Name="CANCELADA" Value="'true'"/>
    <item Name="VENDA" Value="''"/>
    <item Name="AGRUPADA" Value="'true'"/>
    <item Name="PRODUTO" Value="''"/>
    <item Name="TIPOVENDA" Value="''"/>
    <item Name="EMITIDO" Value="'true'"/>
    <item Name="MARCA" Value="''"/>
    <item Name="PENDENTE" Value="'true'"/>
    <item Name="TIPO_ITEM" Value="'P'"/>
    <item Name="USR_CAIXA" Value="''"/>
    <item Name="GRUPO" Value="''"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="C:\Sisplan\Base\13459F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=C:\Sisplan\Base\13459F.FDB&#13;&#10;Server=192.168.25.190&#13;&#10;Port=3051&#13;&#10;user_name=SYSDBA&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB&#13;&#10;CharacterSet=UTF8" LoginPrompt="False" Connected="false" PropData="05704C65667402280470546F700214"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA WHERE EMP_ID = :EMP_ID  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="120" Top="156">
      <Parameters>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryFechada" UserName="qryFechada" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT FECHADA, CODVEN                              &#13;&#10;FROM VENDA_001 WHERE CODVEN IN (:CODVEN)  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="696" Top="128">
      <Parameters>
        <item Name="CODVEN" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="566,9295" Width="718,1107">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="3,77953" Width="718,1107" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Sisplan Sistemas e Planejamento LTDA - (47) 3380-6100 - www.sisplansistemas.com.br"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="0" Top="3,77953" Width="347,71676" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[Page#]"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="100,35436" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="619,06339" Top="12,67718" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Pag.: [&#60;Page#&#62;] / [&#60;TotalPages#&#62;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="619,28386" Top="24,11812" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[vUsuario]"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="31,89765" Width="718,1107" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="RELATÓRIO DE VENDAS"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="109,60637" Top="2,44094" Width="498,89796" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Date" AllowVectorExport="True" Left="619,28386" Top="2,44094" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Date] - [Time]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxPictureView Name="Picture1" AllowVectorExport="True" Left="6,22047" Top="0" Width="105,82684" Height="68,03154" Center="True" DataField="EMP_LOGO" DataSet="QryEmpresa" DataSetName="QryEmpresa" Frame.Typ="0" HightQuality="True" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="619,28386" Top="36,7953" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[vLayout]"/>
      <TfrxMemoView Name="EMISSAODE" IndexTag="1" AllowVectorExport="True" Left="241,88992" Top="64,25201" Width="283,46475" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="/[Copy(&#60;EMISSAOATE&#62;,5,2)]/[Copy(&#60;EMISSAOATE&#62;,1,4)]"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="264,5671" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" Filter="&#60;tbRelatorio.&#34;CODIGO&#34;&#62; &#60;&#62; ''" RowCount="0">
      <TfrxMemoView Name="Memo17" IndexTag="1" AllowVectorExport="True" Left="0" Top="2" Width="718,1107" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Style="fsDot" Frame.Typ="8" Frame.Width="0,5" ParentFont="False" WordWrap="False" Text="">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="tbRelatorioCODIGO" IndexTag="1" AllowVectorExport="True" Left="1,7953" Top="0,77953" Width="83,14966" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;CODIGO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioDESCRICAO" IndexTag="1" AllowVectorExport="True" Left="89,16543" Top="0,77953" Width="287,24428" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioTAM" IndexTag="1" AllowVectorExport="True" Left="496,40971" Top="0,77953" Width="34,01577" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;TAM&#34;]"/>
      <TfrxMemoView Name="tbRelatorioVAL_ITEM" IndexTag="1" AllowVectorExport="True" Left="529,77984" Top="0,77953" Width="86,92919" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;DESC_ITEM&#34;]"/>
      <TfrxMemoView Name="tbRelatorioQUANTIDADE" IndexTag="1" AllowVectorExport="True" Left="670,7248" Top="0,89765" Width="41,57483" Height="18,89765" DataSetName="itVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo15" IndexTag="1" AllowVectorExport="True" Left="376,64595" Top="0,77953" Width="113,3859" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;COR&#34;] - [tbRelatorio.&#34;DESC_COR&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo29" IndexTag="1" AllowVectorExport="True" Left="625,18151" Top="0,77953" Width="45,35436" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;VAL_ITEM&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Height="19,11812" Left="0" ParentFont="False" Top="181,41744" Width="718,1107" Condition="tbRelatorio.&#34;CODIGO&#34;">
      <TfrxMemoView Name="tbRelatorioCODVEN" IndexTag="1" AllowVectorExport="True" Left="1,55906" Top="0,22047" Width="147,40167" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Fill.ForeColor="255" Highlight.Frame.Typ="0" Text="[IIF(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1, 'Devolução', 'Venda')]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="49,13389" Left="0" Top="332,59864" Width="718,1107">
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="0" Top="3,77953" Width="714,33117" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo11" IndexTag="1" AllowVectorExport="True" Left="136,12616" Top="3,77953" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Qtde: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo12" IndexTag="1" AllowVectorExport="True" Left="585,82715" Top="3,77953" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor Líq: [IIF(&#60;qryFechada.&#34;FECHADA&#34;&#62; = 1, ((SUM(&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;,MasterData1)) - (&#60;tbRelatorio.&#34;DESC_VENDA&#34;&#62;+(SUM(&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;,MasterData1)))), 0)]"/>
      <TfrxMemoView Name="Memo13" IndexTag="1" AllowVectorExport="True" Left="286,02649" Top="3,77953" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor: [SUM(&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;  ,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo32" IndexTag="1" AllowVectorExport="True" Left="435,92682" Top="3,77953" Width="143,62214" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Tot. Desc.: [&#60;tbRelatorio.&#34;DESC_VENDA&#34;&#62;+(SUM(&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;,MasterData1))]"/>
    </TfrxGroupFooter>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19,11812" Left="0" Top="222,99227" Width="718,1107" Condition="tbRelatorio.&#34;CODIGO&#34;" ReprintOnNewPage="True">
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="0,22047" Width="718,1107" Height="18,89765" Fill.BackColor="15000804" Frame.Typ="0" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="1,45671" Top="0" Width="83,14966" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Código"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="88,82684" Top="0" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Descrição"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="496,40971" Top="0" Width="34,01577" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Tam"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="529,77984" Top="0" Width="86,92919" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Desc. Item."/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="670,7248" Top="0" Width="41,57483" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Qtde"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="376,64595" Top="0" Width="113,3859" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Cor"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="625,18151" Top="0" Width="45,35436" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor"/>
    </TfrxGroupHeader>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="102,04731" Left="0" Top="442,20501" Width="718,1107">
      <TfrxMemoView Name="Memo18" IndexTag="1" AllowVectorExport="True" Left="510,23655" Top="3" Width="207,87415" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde: [SUM(IIF(&#60;qryFechada.&#34;FECHADA&#34;&#62; = 1, &#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;, 0),MasterData1)] "/>
      <TfrxMemoView Name="Memo27" IndexTag="1" AllowVectorExport="True" Left="510,23655" Top="21,89765" Width="207,87415" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Bruto: [SUM(IIF(&#60;qryFechada.&#34;FECHADA&#34;&#62; = 1, &#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;,0),MasterData1)]"/>
      <TfrxMemoView Name="Memo28" IndexTag="1" AllowVectorExport="True" Left="510,23655" Top="40,7953" Width="207,87415" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Líq: [(SUM(IIF(&#60;qryFechada.&#34;FECHADA&#34;&#62; = 1, (&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;-&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;),0),MasterData1)-(IIF(&#60;qryFechada.&#34;FECHADA&#34;&#62; = 1, &#60;tbRelatorio.&#34;DESC_VENDA&#34;&#62;,0)))]"/>
      <TfrxMemoView Name="Memo33" IndexTag="1" AllowVectorExport="True" Left="510,23655" Top="59,69295" Width="207,87415" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde Dev: [SUM(IIF(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1, &#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;, 0),MasterData1)] "/>
      <TfrxMemoView Name="Memo34" IndexTag="1" AllowVectorExport="True" Left="510,23655" Top="78,5906" Width="207,87415" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Dev: [(SUM(IIF(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1, (&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;-&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;),0),MasterData1)-(IIF(&#60;qryFechada.&#34;FECHADA&#34;&#62; = 1, &#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62;,0)))]"/>
    </TfrxReportSummary>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="309,92146" Width="718,1107"/>
  </TfrxReportPage>
</TfrxReport>
