<?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="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="44450,0364803704" ReportOptions.Description.Text="" ReportOptions.LastChange="44830,6110360069" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;totQtde : integer;&#13;&#10;valor : real;&#13;&#10;&#13;&#10;procedure MasterData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;// ttQtde := totQtde + StrToInt(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,'''','0'));&#13;&#10; //valor := &#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;   //Memo11.text := FormatFloat('#,##0.00',valor);&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;//valor := StrToFloat(&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;);&#13;&#10;end." ShowProgress="False" StoreInDFM="False">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="FDQuery1" DataSetName="FDQuery1"/>
  </Datasets>
  <Variables>
    <item Name="Empresa" Value="'_007'"/>
    <item Name="Layout" Value="'relvenda.FR3'"/>
    <item Name="PastaFotos" Value="'\\SERVIDOR_5\sisplan\FOTO'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'7'"/>
    <item Name="TELA_ORDENACAO" Value="'RelVenda'"/>
    <item Name="CLIENTE" Value="''"/>
    <item Name="TABELA" Value="''"/>
    <item Name="CANCELADA" Value="''"/>
    <item Name="VENDA" Value="''"/>
    <item Name="PRODUTO" Value="''"/>
    <item Name="TIPOVENDA" Value="''"/>
    <item Name="MARCA" Value="''"/>
    <item Name="ORDEM_ORDENACAO" Value="'0'"/>
    <item Name="VENDEDOR" Value="''"/>
    <item Name="BUSCAPOR" Value="''"/>
    <item Name="EMISSAODE" Value="'2022-09-19'"/>
    <item Name="EMISSAOATE" Value="'2022-09-19'"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="D:\Sisplan\Base\14201F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=D:\Sisplan\Base\14201F.FDB&#13;&#10;Server=192.168.1.100&#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="05704C65667402300470546F700240"/>
    <TfrxFDQuery Name="FDQuery1" UserName="FDQuery1" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT &#13;&#10;  EMP_FANTASIA, EMP_NOME, EMP_PAT, EMP_LOGO, EMP_CNPJ, EMP_ENDERECO, &#13;&#10;EMP_NUMERO, EMP_BAIRRO, EMP_CIDADE, EMP_ESTADO, EMP_CEP      &#13;&#10;FROM EMPRESA WHERE EMP_ID = :EMP_ID" MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="124" Top="64">
      <Parameters>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;emp_id&#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="">
    <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="275,90569" Width="718,1107" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" Filter="&#60;tbRelatorio.&#34;CODIGO&#34;&#62; &#60;&#62; ''" RowCount="0">
      <TfrxMemoView Name="tbRelatorioCODIGO" IndexTag="1" AllowVectorExport="True" Left="16,7953" Top="1,77953" Width="83,14966" Height="18,89765" DataField="CODIGO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="[tbRelatorio.&#34;CODIGO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioDESCRICAO" IndexTag="1" AllowVectorExport="True" Left="103,16543" Top="1,77953" Width="430,86642" Height="18,89765" DataField="DESCRICAO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" WordWrap="False" Text="[tbRelatorio.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioTAM" IndexTag="1" AllowVectorExport="True" Left="539,20501" Top="1,77953" Width="45,35436" Height="18,89765" DataField="TAM" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[tbRelatorio.&#34;TAM&#34;]"/>
      <TfrxMemoView Name="tbRelatorioVAL_ITEM" IndexTag="1" AllowVectorExport="True" Left="590,57514" Top="1,77953" Width="60,47248" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[tbRelatorio.&#34;VAL_ITEM&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="tbRelatorioQUANTIDADE" IndexTag="1" AllowVectorExport="True" Left="654,7248" Top="1,89765" Width="52,91342" Height="18,89765" DataSetName="itVenda" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[tbRelatorio.&#34;QUANTIDADE&#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="66,35436" Left="0" ParentFont="False" Top="185,19697" Width="718,1107" Condition="tbRelatorio.&#34;CODVEN&#34;" KeepTogether="True">
      <TfrxMemoView Name="Memo27" IndexTag="1" AllowVectorExport="True" Left="0,77953" Top="44,35436" Width="718,1107" Height="22,67718" 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" Fill.BackColor="12632256" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="tbRelatorioCODVEN" IndexTag="1" AllowVectorExport="True" Left="1,55906" Top="9,55906" Width="147,40167" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Venda: [tbRelatorio.&#34;CODVEN&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="tbRelatorioREP_NOME" IndexTag="1" AllowVectorExport="True" Left="1,74799" Top="28,45671" Width="355,27582" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Vendedor: [tbRelatorio.&#34;CODREP&#34;] - [tbRelatorio.&#34;REP_NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo1" IndexTag="1" AllowVectorExport="True" Left="363,39394" Top="28,23624" Width="355,27582" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Cliente: [tbRelatorio.&#34;CODCLI&#34;] - [tbRelatorio.&#34;CLI_NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="16,45671" Top="45,91342" 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="Memo3" AllowVectorExport="True" Left="102,82684" Top="46,45671" 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="Memo4" AllowVectorExport="True" Left="539,20501" Top="47,23624" 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="haCenter" ParentFont="False" Text="Tam"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="590,57514" Top="47,23624" Width="60,47248" 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="Preço"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="654,7248" Top="47,23624" Width="52,91342" 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="Memo9" IndexTag="1" AllowVectorExport="True" Left="174,21274" Top="9,55906" Width="143,62214" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Frame.Typ="0" Text="Valor: [tbRelatorio.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo10" IndexTag="1" AllowVectorExport="True" Left="322,08689" Top="9,33859" Width="188,9765" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Data: [tbRelatorio.&#34;DATA&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo30" IndexTag="1" AllowVectorExport="True" Left="517,79561" Top="9,33859" Width="64,25201" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Situação:"/>
      <TfrxMemoView Name="Memo32" IndexTag="1" AllowVectorExport="True" Left="582,04762" Top="9,33859" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="32768" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[iif(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = '1','Devolução',iif(&#60;tbRelatorio.&#34;TIPO_VENDA&#34;&#62; = '1','Fechada','Aberta'))]">
        <Highlights>
          <item Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = '1'" FillType="ftBrush" Frame.Typ="0" uin="1"/>
          <item Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="1" Condition="(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; &#60;&#62; '1')and (&#60;tbRelatorio.&#34;TIPO_VENDA&#34;&#62; = '0')" FillType="ftBrush" Frame.Typ="0" uin="2"/>
        </Highlights>
      </TfrxMemoView>
    </TfrxGroupHeader>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="665,19728" Width="718,1107">
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="0" Top="5,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"/>
    </TfrxPageFooter>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="321,26005" Width="718,1107" OnBeforePrint="GroupFooter1OnBeforePrint">
      <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="4,55133" Top="3,77953" Width="105,82684" 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" ParentFont="False" VAlign="vaCenter" Text="QTDE: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo12" IndexTag="1" AllowVectorExport="True" Left="589,60668" 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" ParentFont="False" VAlign="vaCenter" Text="VALOR LIQ: [SUM(&#60;tbRelatorio.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo13" IndexTag="1" AllowVectorExport="True" Left="120,17347" Top="3,77953" Width="181,41744" 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" ParentFont="False" VAlign="vaCenter" Text="VALOR BRUTO: [SUM(&#60;tbrelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;  ,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo25" IndexTag="1" AllowVectorExport="True" Left="318,83488" Top="3,77953" Width="105,82684" 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" ParentFont="False" VAlign="vaCenter" Text="DESC.: [SUM((&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;+&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo26" IndexTag="1" AllowVectorExport="True" Left="459,22078" Top="3,77953" Width="105,82684" 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" ParentFont="False" VAlign="vaCenter" Text="ACRESC.: [(SUM(&#60;tbRelatorio.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1)-(SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62; - &#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;-&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;,MasterData1,1)))]"/>
    </TfrxGroupFooter>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37,7953" Left="0" Top="374,17347" Width="718,1107"/>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="170,07885" Left="0" Top="472,44125" Width="718,1107">
      <TfrxMemoView Name="Memo15" IndexTag="1" AllowVectorExport="True" Left="385,35467" Top="24,44094" Width="328,81911" 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" VAlign="vaCenter" Text="VALOR BRUTO: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo17" IndexTag="1" AllowVectorExport="True" Left="385,35467" Top="48,35436" Width="328,81911" 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" VAlign="vaCenter" Text="DESCONTO:  [SUM(&#60;tbrelatorio.&#34;DESC_ITEM&#34;&#62;+&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo16" IndexTag="1" AllowVectorExport="True" Left="385,35467" Top="0" Width="328,81911" 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" VAlign="vaCenter" Text="QTDE TOTAL: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo22" IndexTag="1" AllowVectorExport="True" Left="385,51206" Top="71,81107" Width="328,81911" 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" VAlign="vaCenter" Text="ACRÉSCIMO: [(SUM(&#60;tbRelatorio.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1)-(SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62; - &#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;-&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;,MasterData1,1)))]"/>
      <TfrxMemoView Name="Memo24" IndexTag="1" AllowVectorExport="True" Left="385,51206" Top="95,72449" Width="328,81911" 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" VAlign="vaCenter" Text="VALOR LÍQUIDO VENDAS:  [SUM(&#60;tbRelatorio.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo31" IndexTag="1" AllowVectorExport="True" Left="385,51206" Top="118,72449" Width="328,81911" 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" VAlign="vaCenter" Text="VALOR DEV: [SUM(iif(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = '1',&#60;tbRelatorio.&#34;VALOR&#34;&#62;,'0'))]"/>
      <TfrxMemoView Name="Memo33" IndexTag="1" AllowVectorExport="True" Left="385,51206" Top="143,62214" Width="328,81911" 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" VAlign="vaCenter" Text="VALOR LIQ-DEV: [SUM(&#60;tbRelatorio.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - 2*SUM(iif(&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = '1',&#60;tbRelatorio.&#34;VALOR&#34;&#62;,'0'))]"/>
    </TfrxReportSummary>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="104,03154" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="616,85869" Top="27,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" WordWrap="False" VAlign="vaCenter" Text="Pag.: [&#60;Page#&#62;] / [&#60;TotalPages#&#62;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="617,07916" Top="38,55906" 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="[Usuario]"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="0" Top="77,57483" Width="714,33117" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" 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="121,77953" Top="5,44094" Width="483,77984" Height="41,57483" 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="[FDQuery1.&#34;EMP_NOME&#34;]-[FDQuery1.&#34;EMP_CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="617,07916" Top="16,88188" 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>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="121,77953" Top="43,67718" Width="483,77984" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[FDQuery1.&#34;EMP_ENDERECO&#34;], [FDQuery1.&#34;EMP_NUMERO&#34;], [FDQuery1.&#34;EMP_BAIRRO&#34;], [FDQuery1.&#34;EMP_CIDADE&#34;]([FDQuery1.&#34;EMP_ESTADO&#34;]) - [FDQuery1.&#34;EMP_CEP&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxPictureView Name="Picture2" AllowVectorExport="True" Left="6,22047" Top="3,77953" Width="105,82684" Height="68,03154" Center="True" DataField="EMP_LOGO" DataSetName="tbEmpresa" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="617,07916" Top="51,23624" 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="[Layout]"/>
    </TfrxReportTitle>
  </TfrxReportPage>
</TfrxReport>
