<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" DotMatrixReport="False" EngineOptions.DoublePass="True" 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="45040,4686437037" 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="QryParcelas" DataSetName="QryParcelas"/>
    <item DataSet="qryEntidade" DataSetName="qryEntidade"/>
  </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="'BaixasReceber.fr3'"/>
    <item Name="PastaFotos" Value="'\\192.168.25.190\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'4'"/>
    <item Name="LANCAMENTO" Value="''"/>
    <item Name="NUMERO" Value="'''33624C-1/4'''"/>
    <item Name="TELA_ORDENACAO" 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" LoginPrompt="False" Connected="false" PropData="05704C65667402640470546F70038400"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="                SELECT * FROM EMPRESA                                                  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="196" Top="132"/>
    <TfrxFDQuery Name="QryParcelas" UserName="QryParcelas" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT R.NUMERO, R.DT_VENCTO, R.DT_EMISSAO, MOE.CODMOE, MOE.DESCRICAO, R.NRO_CUPOM, R.VALOR, RB.DT_PAGTO, R.VALOR_PAGO, R.VALOR2, SUM(RB.DESCONTO) DESCONTO, SUM(RB.JUROS) JUROS                                                                                                                         &#13;&#10;FROM RECEBER_001 R    &#13;&#10;LEFT JOIN RECEBERB_001 RB ON (RB.NUMERO = R.NUMERO)&#13;&#10;LEFT JOIN MOEDA_001 MOE ON (MOE.CODMOE = RB.MOEDA) &#13;&#10;WHERE R.NUMERO = (:NUMERO)&#13;&#10;                                                                 GROUP BY R.NUMERO, R.DT_VENCTO, R.DT_EMISSAO, MOE.CODMOE, MOE.DESCRICAO, R.NRO_CUPOM, R.VALOR, RB.DT_PAGTO, R.VALOR_PAGO, R.VALOR2" MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="NUMERO=NUMERO" Left="384" Top="140">
      <Parameters>
        <item Name="NUMERO" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NUMERO&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryEntidade" UserName="qryEntidade" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;R.NUMERO,  &#13;&#10;R.CODCLI,&#13;&#10;E.NOME&#13;&#10;FROM RECEBER_001 R&#13;&#10;JOIN ENTIDADE_001 E ON E.CODCLI = R.CODCLI&#13;&#10;WHERE R.NUMERO = :NUMERO                                                    " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="NUMERO=NUMERO" Left="312" Top="260">
      <Parameters>
        <item Name="NUMERO" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NUMERO&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="72" PaperHeight="326" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="83,14966" Top="411,96877" Width="79,37013" Height="15,11812" DataSet="QryEmpresa" DataSetName="QryEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text=""/>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="113,3859" Width="234,33086"/>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="98,26778" Left="0" Top="136,06308" Width="234,33086" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0">
      <TfrxMemoView Name="tbRelatorioNUMERO" IndexTag="1" AllowVectorExport="True" Left="0" Top="11,33859" Width="68,03154" Height="11,33859" DataField="NUMERO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[tbRelatorio.&#34;NUMERO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioVALOR_TOTAL" IndexTag="1" AllowVectorExport="True" Left="68,03154" Top="11,33859" Width="52,91342" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryParcelas.&#34;VALOR2&#34;]"/>
      <TfrxMemoView Name="tbRelatorioVALOR_PAGO" IndexTag="1" AllowVectorExport="True" Left="120,94496" Top="11,33859" Width="52,91342" Height="11,33859" DataField="VALOR_PAGO" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[tbRelatorio.&#34;VALOR_PAGO&#34;]"/>
      <TfrxMemoView Name="QryParcelasDT_VENCTO" IndexTag="1" AllowVectorExport="True" Left="173,85838" Top="11,33859" Width="60,47248" Height="11,33859" DataField="DT_VENCTO" DataSet="QryParcelas" DataSetName="QryParcelas" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryParcelas.&#34;DT_VENCTO&#34;]"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="-0,22047" Top="25,45671" Width="234,33086" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4" Frame.Width="0,5"/>
      <TfrxMemoView Name="Memo1" IndexTag="1" AllowVectorExport="True" Left="0" Top="26,45671" Width="71,81107" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Forma de Pagto:"/>
      <TfrxMemoView Name="Memo2" IndexTag="1" AllowVectorExport="True" Left="0" Top="37,7953" Width="71,81107" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Desconto:"/>
      <TfrxMemoView Name="Memo3" IndexTag="1" AllowVectorExport="True" Left="0" Top="49,13389" Width="71,81107" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Juros:"/>
      <TfrxMemoView Name="Memo4" IndexTag="1" AllowVectorExport="True" Left="0" Top="60,47248" Width="71,81107" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Data de Emissão:"/>
      <TfrxMemoView Name="Memo5" IndexTag="1" AllowVectorExport="True" Left="0" Top="71,81107" Width="71,81107" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Data de Pagto:"/>
      <TfrxMemoView Name="Memo6" IndexTag="1" AllowVectorExport="True" Left="71,81107" Top="26,45671" Width="162,51979" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[&#60;tbRelatorio.&#34;MOEDA&#34;&#62;] - [&#60;tbRelatorio.&#34;DESC_MOEDA&#34;&#62;]"/>
      <TfrxMemoView Name="Memo7" IndexTag="1" AllowVectorExport="True" Left="71,81107" Top="37,7953" Width="162,51979" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;DESCONTO&#34;]"/>
      <TfrxMemoView Name="Memo8" IndexTag="1" AllowVectorExport="True" Left="71,81107" Top="49,13389" Width="162,51979" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;JUROS&#34;]"/>
      <TfrxMemoView Name="Memo9" IndexTag="1" AllowVectorExport="True" Left="71,81107" Top="60,47248" Width="162,51979" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[QryParcelas.&#34;DT_EMISSAO&#34;]"/>
      <TfrxMemoView Name="Memo10" IndexTag="1" AllowVectorExport="True" Left="71,81107" Top="71,81107" Width="162,51979" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;DT_PAGTO&#34;]"/>
      <TfrxMemoView Name="Memo11" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="68,03154" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="NÚMERO"/>
      <TfrxMemoView Name="Memo12" IndexTag="1" AllowVectorExport="True" Left="68,03154" Top="0" Width="52,91342" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="VALOR"/>
      <TfrxMemoView Name="Memo13" IndexTag="1" AllowVectorExport="True" Left="120,94496" Top="0" Width="52,91342" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="VLR PAGO"/>
      <TfrxMemoView Name="Memo14" IndexTag="1" AllowVectorExport="True" Left="173,85838" Top="0" Width="60,47248" Height="11,33859" DataSet="QryParcelas" DataSetName="QryParcelas" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="VENCTO"/>
      <TfrxMemoView Name="Memo18" IndexTag="1" AllowVectorExport="True" Left="0" Top="83,14966" Width="34,01577" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Cliente:"/>
      <TfrxMemoView Name="Memo19" IndexTag="1" AllowVectorExport="True" Left="34,01577" Top="83,14966" Width="200,31509" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntidade.&#34;NOME&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="34,01577" Left="0" Top="18,89765" Width="234,33086">
      <TfrxMemoView Name="QryEmpresaEMP_NOME" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="234,33086" Height="11,33859" DataSet="QryEmpresa" DataSetName="QryEmpresa" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_FANTASIA&#34;] - CNPJ: [QryEmpresa.&#34;EMP_CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo15" IndexTag="1" AllowVectorExport="True" Left="0" Top="15,11812" Width="234,33086" Height="15,11812" DataSet="QryEmpresa" DataSetName="QryEmpresa" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="RECIBO DE BAIXA">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxPageHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="257,00804" Width="234,33086">
      <TfrxMemoView Name="Memo16" IndexTag="1" AllowVectorExport="True" Left="68,03154" Top="7,55906" Width="52,91342" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="Total Pago:"/>
      <TfrxMemoView Name="Memo17" IndexTag="1" AllowVectorExport="True" Left="120,94496" Top="7,55906" Width="52,91342" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;tbRelatorio.&#34;valor_pAGO&#34;&#62;,MasterData1)]"/>
    </TfrxFooter>
  </TfrxReportPage>
</TfrxReport>
