<?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="44109,5968623148" ReportOptions.Description.Text="" ReportOptions.LastChange="44764,6073428588" ScriptLanguage="PascalScript" ScriptText.Text="procedure MasterData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Frac(&#60;Line&#62; / 2) = 0.5 then&#13;&#10;   fundoItens.Color := clBtnFace&#13;&#10;  else&#13;&#10;   fundoItens.Color := clWhite;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure DetailData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Frac(&#60;Line&#62; / 2) = 0.5 then&#13;&#10;   fundoParcelas.Color := clBtnFace&#13;&#10;  else&#13;&#10;   fundoParcelas.Color := clWhite;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure ReportTitle1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; if (&#60;qryVenda.&#34;DEVOLUCAO&#34;&#62; = '1') then&#13;&#10; begin&#13;&#10;    Memo1.Text := 'Relatório de Devolução';&#13;&#10;    MasterData1.Font.Color := clRed;&#13;&#10; end;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." ShowProgress="False" StoreInDFM="False">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="qryEntidade" DataSetName="qryEntidade"/>
    <item DataSet="qryItens" DataSetName="qryItens"/>
    <item DataSet="qryEmpresa" DataSetName="qryEmpresa"/>
    <item DataSet="qryVenda" DataSetName="qryVenda"/>
    <item DataSet="qryPagamento" DataSetName="qryPagamento"/>
    <item DataSet="qryParcelas" DataSetName="qryParcelas"/>
  </Datasets>
  <Variables>
    <item Name="Empresa" Value="'_001'"/>
    <item Name="Layout" Value="'venda.fr3'"/>
    <item Name="PastaFotos" Value="''"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="Emp_id" Value="'1'"/>
    <item Name="CODVEN" Value="'2'"/>
    <item Name="TELA_ORDENACAO" Value="''"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDQuery Name="qryEntidade" UserName="qryEntidade" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT ENTIDADE.CODCLI, ENTIDADE.NOME,ENTIDADE.DDD_FONE, ENTIDADE.TELEFONE,&#13;&#10;ENTIDADE.ENDERECO,ENTIDADE.BAIRRO,ENTIDADE.NUMERO, CIDADE.NOME CIDADE                                                                                                        &#13;&#10;FROM ENTIDADE_001 ENTIDADE&#13;&#10;LEFT JOIN CADCEP_001 CADCEP ON CADCEP.CEP = ENTIDADE.CEP    &#13;&#10;LEFT JOIN CIDADE CIDADE ON CIDADE.CODIGO = CADCEP.CODMUN                                                                                                                            &#13;&#10;WHERE CODCLI = :CODCLI" MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODCLI=CODCLI" Left="176" Top="52">
      <Parameters>
        <item Name="CODCLI" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODCLI&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryItens" UserName="qryItens" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT ITVENDA.CODVEN,&#13;&#10;    ITVENDA.CODIGO,&#13;&#10;    PRODUTO.DESCRICAO,&#13;&#10;    ITVENDA.COR, CADCOR.DESCRICAO DESC_COR,&#13;&#10;    ITVENDA.TAM, &#13;&#10;    ITVENDA.QUANTIDADE, &#13;&#10;    ITVENDA.VALOR,&#13;&#10;    ITVENDA.DESC_ITEM,        &#13;&#10;    ITVENDA.VALOR_DESC,&#13;&#10;    ITVENDA.TOTAL,&#13;&#10;    ITVENDA.TOTAL_LIQ        &#13;&#10;FROM ITVENDA_001 ITVENDA&#13;&#10;LEFT JOIN PRODUTO_001 PRODUTO ON PRODUTO.CODIGO = ITVENDA.CODIGO&#13;&#10;LEFT JOIN CADCOR_001 CADCOR ON CADCOR.COR = ITVENDA.COR&#13;&#10;WHERE 1=1&#13;&#10;AND ITVENDA.CODVEN = :CODVEN AND ITVENDA.EMP_ID = :EMP_ID                                                               " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODVEN=CODVEN" Left="232" Top="52">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftUnknown" Expression="&#60;Emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="C:\Sisplan\Base\15034F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=C:\Sisplan\Base\15034F.FDB&#13;&#10;Server=127.0.0.1&#13;&#10;Port=3051&#13;&#10;user_name=SYSDBA&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB" LoginPrompt="False" Connected="false" PropData="05704C656674022C0470546F700234"/>
    <TfrxFDQuery Name="qryEmpresa" UserName="qryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT EMP_FANTASIA, EMP_PAT, EMP_LOGO FROM EMPRESA WHERE EMP_PAT = :EMP_PAT                                                                                                                                                                                                                                                                                                                                                         " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODCLI=CODCLI" Left="108" Top="52">
      <Parameters>
        <item Name="EMP_PAT" DataType="ftString" Expression="&#60;Empresa&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryVenda" UserName="qryVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT VENDA.*, REPRESEN.NOME AS VENDEDOR, TIPO_VENDA.DESCRICAO AS DESC_TIPO_VENDA FROM VENDA_001 VENDA           &#13;&#10;LEFT JOIN REPRESEN_001 REPRESEN ON VENDA.CODREP = REPRESEN.CODREP&#13;&#10;LEFT JOIN VENDA_TIPO_001 TIPO_VENDA ON VENDA.TIPO_VENDA = TIPO_VENDA.ID                                                 &#13;&#10;WHERE CODVEN = :CODVEN and EMP_ID = :EMP_ID&#13;&#10;  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODVEN=CODVEN" Left="284" Top="52">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftUnknown" Expression="&#60;Emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryPagamento" UserName="qryPagamento" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT CONDIV.CDMOEDA,&#13;&#10;       MOEDA.DESCRICAO,&#13;&#10;       CONDIV.CDCONDICAO,&#13;&#10;       CONDICAO.DESCRICAO DESC_CONDICAO,&#13;&#10;       CONDICAO.NRPAR,                               &#13;&#10;       CONDIV.CDVENDA, &#13;&#10;       CONDIV.VLVENDA,&#13;&#10;       CONDIV.CDCONDIVENDA,           &#13;&#10;       CONDIV.VLDESCONTO, &#13;&#10;       CONDIV.PRDESCONTO&#13;&#10; FROM CONDIVENDA_001 CONDIV            &#13;&#10; LEFT JOIN MOEDA_001 MOEDA ON (MOEDA.CODMOE = CONDIV.CDMOEDA)&#13;&#10; LEFT JOIN CONDICAO_001 CONDICAO ON (CONDICAO.CODCOND = CONDIV.CDCONDICAO)     &#13;&#10; WHERE CONDIV.CDVENDA = :CODVEN&#13;&#10; AND CONDIV.EMP_ID = :EMP_ID                                                                          " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODVEN=CODVEN" Left="352" Top="52">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftUnknown" Expression="&#60;Emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryParcelas" UserName="qryParcelas" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="qryPagamento" IgnoreDupParams="False" SQL.Text="SELECT ITCONDIV.*&#13;&#10; FROM ITCONDIVENDA_001 ITCONDIV                                                                                                                    &#13;&#10; WHERE CDVENDA = :CODVEN AND CDCONDIVENDA = :CDCONDIVENDA                                                                      " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CDVENDA=CDVENDA;CDITCONDIVENDA=CDCONDIVENDA" Left="428" Top="52">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;qryPagamento.&#34;CDVENDA&#34;&#62;"/>
        <item Name="CDCONDIVENDA" DataType="ftString" Expression="&#60;qryPagamento.&#34;CDCONDIVENDA&#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="">
    <TfrxHeader Name="Header2" FillType="ftBrush" Fill.BackColor="12632256" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18,89765" Left="0" Top="154,96073" Width="718,1107">
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="0" Top="2,22047" Width="718,1107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Cliente"/>
    </TfrxHeader>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" Fill.BackColor="-16777211" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="75,5906" Left="0" Top="18,89765" Width="718,1107" OnBeforePrint="ReportTitle1OnBeforePrint">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="171,968615" Top="17,89765" Width="374,17347" Height="18,89765" Font.Charset="1" Font.Color="-16777215" Font.Height="-13" Font.Name="Arial" Font.Style="7" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Relatório de [qryVenda.&#34;DESC_TIPO_VENDA&#34;]"/>
      <TfrxMemoView Name="Date" IndexTag="1" AllowVectorExport="True" Left="646,29963" Top="18,45671" Width="71,81107" Height="18,89765" Font.Charset="1" Font.Color="-16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Time]"/>
      <TfrxMemoView Name="Date1" IndexTag="1" AllowVectorExport="True" Left="646,29963" Top="0" Width="71,81107" Height="18,89765" Font.Charset="1" Font.Color="-16777215" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Date]"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="171,968615" Top="0,33859" Width="374,17347" Height="18,89765" Font.Charset="1" Font.Color="-16777215" Font.Height="-13" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[qryEmpresa.&#34;EMP_FANTASIA&#34;]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="257,66945" Top="41,57483" Width="177,63791" Height="26,45671" Font.Charset="1" Font.Color="-16777215" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Venda: [tbRelatorio.&#34;CODVEN&#34;]"/>
      <TfrxPictureView Name="Picture1" AllowVectorExport="True" Left="0" Top="0" Width="113,3859" Height="68,03154" DataField="EMP_LOGO" DataSet="qryEmpresa" DataSetName="qryEmpresa" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
    </TfrxReportTitle>
    <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="359,05535" Width="718,1107" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qryItens" DataSetName="qryItens" RowCount="0" Stretched="True">
      <TfrxShapeView Name="fundoItens" Align="baClient" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="22,67718" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="qryItensCODIGO" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="366,61441" Height="15,11812" StretchMode="smMaxHeight" DataSet="qryItens" DataSetName="qryItens" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryItens.&#34;CODIGO&#34;] - [qryItens.&#34;DESCRICAO&#34;] - [&#60;qryItens.&#34;DESC_COR&#34;&#62;] - [&#60;qryItens.&#34;TAM&#34;&#62;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo20" IndexTag="1" AllowVectorExport="True" Left="369,53556" Top="0" Width="56,69295" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[qryItens.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo21" IndexTag="1" AllowVectorExport="True" Left="485,59091" Top="0" Width="75,5906" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;qryItens.&#34;VALOR&#34;&#62;*&#60;qryItens.&#34;QUANTIDADE&#34;&#62;]"/>
      <TfrxMemoView Name="Memo22" IndexTag="1" AllowVectorExport="True" Left="633,79561" Top="0" Width="83,14966" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;qryItens.&#34;TOTAL_LIQ&#34;&#62;]"/>
      <TfrxMemoView Name="Memo55" IndexTag="1" AllowVectorExport="True" Left="429,86642" Top="0" Width="52,91342" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[qryItens.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo57" IndexTag="1" AllowVectorExport="True" Left="565,48856" Top="0" Width="64,25201" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;qryItens.&#34;DESC_ITEM&#34;&#62;+&#60;qryItens.&#34;VALOR_DESC&#34;&#62;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" Fill.BackColor="12632256" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18,89765" Left="0" Top="279,68522" Width="718,1107" ReprintOnNewPage="True">
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="0" Top="2" Width="718,1107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Itens"/>
    </TfrxHeader>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="60,69295" Left="0" Top="196,53556" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="qryEntidade" DataSetName="qryEntidade" RowCount="0">
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="51,94496" Top="6,91178884959509E-19" Width="657,63822" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="-1,2047" Top="0" Width="52,91342" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Nome: "/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="-1,2047" Top="13,89765" Width="71,81107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Telefone:"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="71,3859" Top="13,89765" Width="638,74057" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;DDD_FONE&#34;] - [qryEntidade.&#34;TELEFONE&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo50" AllowVectorExport="True" Left="-1,2047" Top="28,45671" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Endereço:"/>
      <TfrxMemoView Name="Memo51" AllowVectorExport="True" Left="75,5906" Top="28,45671" Width="634,96104" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[&#60;qryEntidade.&#34;ENDERECO&#34;&#62;], [&#60;qryEntidade.&#34;NUMERO&#34;&#62;] - [&#60;qryEntidade.&#34;BAIRRO&#34;&#62; ] - [qryEntidade.&#34;CIDADE&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo52" AllowVectorExport="True" Left="0" Top="45,57483" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Vendedor:"/>
      <TfrxMemoView Name="Memo53" AllowVectorExport="True" Left="79,37013" Top="45,57483" Width="631,18151" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryVenda.&#34;VENDEDOR&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="321,26005" Width="718,1107" Condition="&#60;qryItens.&#34;CODVEN&#34;&#62;" ReprintOnNewPage="True">
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="-0,22047" Top="0" Width="362,83488" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Produto"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="365,75603" Top="0" Width="56,69295" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Qtde"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="481,81138" Top="0" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Valor Bruto"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="630,01608" Top="0" Width="83,14966" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Total"/>
      <TfrxMemoView Name="Memo54" AllowVectorExport="True" Left="426,08689" Top="0" Width="52,91342" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Preço"/>
      <TfrxMemoView Name="Memo56" AllowVectorExport="True" Left="561,70903" Top="0" Width="64,25201" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Desconto"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="582,04762" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="qryPagamento" DataSetName="qryPagamento" KeepTogether="True" RowCount="0">
      <TfrxMemoView Name="Memo32" AllowVectorExport="True" Left="61,72449" Top="0" Width="147,40167" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryPagamento.&#34;CDMOEDA&#34;] - [qryPagamento.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="3,57483" Top="0" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Moeda:"/>
      <TfrxMemoView Name="Memo37" AllowVectorExport="True" Left="567,63018" Top="0" Width="86,92919" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor Total:"/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="True" Left="658,75634" Top="0" Width="56,69295" Height="15,11812" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;qryPagamento.&#34;VLVENDA&#34;&#62;]"/>
      <TfrxMemoView Name="Memo46" AllowVectorExport="True" Left="287,05535" Top="0" Width="154,96073" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryPagamento.&#34;CDCONDICAO&#34;] - [qryPagamento.&#34;DESC_CONDICAO&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo47" AllowVectorExport="True" Left="213,78757" Top="0" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Condição:"/>
      <TfrxMemoView Name="Memo48" AllowVectorExport="True" Left="547,69326" Top="0" Width="15,11812" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryPagamento.&#34;NRPAR&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo49" AllowVectorExport="True" Left="446,08689" Top="0" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haBlock" ParentFont="False" Text="Nr. Parcelas:"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header3" FillType="ftBrush" Fill.BackColor="12632256" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="17,33859" Left="0" Top="540,47279" Width="718,1107">
      <TfrxMemoView Name="Memo39" AllowVectorExport="True" Left="0" Top="0,22047" Width="718,1107" 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="Condições de Pagamento"/>
    </TfrxHeader>
    <TfrxDetailData Name="DetailData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,76376" Left="0" Top="619,84292" Width="718,1107" OnBeforePrint="DetailData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qryParcelas" DataSetName="qryParcelas" KeepTogether="True" RowCount="0">
      <TfrxShapeView Name="fundoParcelas" AllowVectorExport="True" Left="0,77953" Top="0" Width="718,1107" Height="15,11812" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo40" AllowVectorExport="True" Left="658,66203" Top="0,64564" Width="56,69295" Height="15,11812" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[qryParcelas.&#34;VALOR_PAGO&#34;]"/>
      <TfrxMemoView Name="Memo41" AllowVectorExport="True" Left="594,51237" Top="0,645639999999958" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor:"/>
      <TfrxMemoView Name="Memo42" AllowVectorExport="True" Left="362,17347" Top="0,645639999999958" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryParcelas.&#34;NRPARCELA&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo43" AllowVectorExport="True" Left="291,02381" Top="0,645639999999958" Width="68,03154" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Parcela:"/>
      <TfrxMemoView Name="Memo44" AllowVectorExport="True" Left="506,21305" Top="0,645639999999958" Width="83,14966" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryParcelas.&#34;VENCIMENTO&#34;]"/>
      <TfrxMemoView Name="Memo45" AllowVectorExport="True" Left="401,26809" Top="0,645639999999958" Width="102,04731" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Vencimento:"/>
    </TfrxDetailData>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="112,29932" Left="0" Top="404,40971" Width="718,1107">
      <TfrxMemoView Name="Memo58" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15790320" HAlign="haCenter" ParentFont="False" Text="Totais"/>
      <TfrxMemoView Name="Memo61" IndexTag="1" AllowVectorExport="True" Left="630,12647" Top="19,32282" Width="86,92919" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="[SUM(&#60;qryItens.&#34;QUANTIDADE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo62" AllowVectorExport="True" Left="483,77984" Top="18,89765" Width="143,62214" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="Total peças vendidas:"/>
      <TfrxMemoView Name="Memo63" AllowVectorExport="True" Left="483,77984" Top="37,50134" Width="143,62214" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="Total bruto:"/>
      <TfrxMemoView Name="Memo64" AllowVectorExport="True" Left="483,77984" Top="73,00268" Width="143,62214" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="Total desconto:"/>
      <TfrxMemoView Name="Memo65" AllowVectorExport="True" Left="483,77984" Top="90,60637" Width="143,62214" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="Total líquido:"/>
      <TfrxMemoView Name="Memo66" IndexTag="1" AllowVectorExport="True" Left="629,34694" Top="37,91342" Width="86,92919" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="[SUM(&#60;qryItens.&#34;TOTAL&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo67" IndexTag="1" AllowVectorExport="True" Left="628,34694" Top="72,70872" Width="86,92919" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="- [SUM(&#60;qryItens.&#34;VALOR_DESC&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo68" IndexTag="1" AllowVectorExport="True" Left="628,34694" Top="90,60637" Width="86,92919" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="[SUM(&#60;qryItens.&#34;TOTAL_LIQ&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo69" AllowVectorExport="True" Left="484,94527" Top="53,89765" Width="143,62214" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="Total acréscimo:"/>
      <TfrxMemoView Name="Memo70" IndexTag="1" AllowVectorExport="True" Left="629,34694" Top="54,89765" Width="86,92919" Height="15,11812" DataSet="qryItens" DataSetName="qryItens" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="[qryVenda.&#34;ACRES&#34;]"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
