<?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="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="44110,3966951852" ReportOptions.Description.Text="" ReportOptions.LastChange="45064,7224635185" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;vDinheiro : Real;&#13;&#10;&#13;&#10;procedure MasterData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;    if Frac(&#60;Line&#62; / 2) = 0.5 then&#13;&#10;        fundoVendas.Color := clBtnFace&#13;&#10;    else&#13;&#10;        fundoVendas.Color := clWhite;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MasterData2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Frac(&#60;Line&#62; / 2) = 0.5 then&#13;&#10;    fundoEntradas.Color := clBtnFace&#13;&#10;  else&#13;&#10;    fundoEntradas.Color := clWhite;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MasterData3OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Frac(&#60;Line&#62; / 2) = 0.5 then&#13;&#10;    fundoSaidas.Color := clBtnFace&#13;&#10;  else&#13;&#10;    fundoSaidas.Color := clWhite;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MasterData4OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Frac(&#60;Line&#62; / 2) = 0.5 then&#13;&#10;    fundoresumo.Color := clBtnFace&#13;&#10;  else&#13;&#10;    fundoresumo.Color := clWhite;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MasterData6OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;  begin&#13;&#10;     vDinheiro := VDinheiro;&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;    vDinheiro := &#60;qryTroco.&#34;VALOR&#34;&#62;;&#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="qryEmpresa" DataSetName="qryEmpresa"/>
    <item DataSet="qryVenda" DataSetName="qryVenda"/>
    <item DataSet="qryEntradas" DataSetName="qryEntradas"/>
    <item DataSet="qrySaidas" DataSetName="qrySaidas"/>
    <item DataSet="qryResulEnt" DataSetName="qryResulEnt"/>
    <item DataSet="qryResulVen" DataSetName="qryResulVen"/>
    <item DataSet="qryResulSai" DataSetName="qryResulSai"/>
    <item DataSet="qryTroco" DataSetName="qryTroco"/>
    <item DataSet="qryGamby" DataSetName="qryGamby"/>
    <item DataSet="qryDevol" DataSetName="qryDevol"/>
    <item DataSet="qrySaldoAnterior" DataSetName="qrySaldoAnterior"/>
  </Datasets>
  <Variables>
    <item Name="Empresa" Value="'_003'"/>
    <item Name="Layout" Value="'caixa.fr3'"/>
    <item Name="PastaFotos" Value="'\\192.168.10.211\Sisplan\Foto\'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'3'"/>
    <item Name="DATA" Value="'2023-05-17'"/>
    <item Name="TELA_ORDENACAO" Value="''"/>
    <item Name="NR_CAIXA" Value="'001'"/>
    <item Name=" New Category1"/>
    <item Name="Teste" Value="SUM(&#60;qryVenda.&#34;VALOR&#34;&#62;+&#60;qryEntradas.&#34;VALOR&#34;&#62;)-&#60;qrySaidas.&#34;VALOR&#34;&#62;,0))"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="C:\Sisplan\Base\11554F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=C:\Sisplan\Base\11554F.FDB&#13;&#10;Server=192.168.10.211&#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="05704C6566740310010470546F7003C400"/>
    <TfrxFDQuery Name="qryEmpresa" UserName="qryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA WHERE EMP_PAT = :EMP_PAT                                                                                   " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="EMP_ID=EMP_ID" Left="374,4" Top="196">
      <Parameters>
        <item Name="EMP_PAT" DataType="ftString" Expression="&#60;Empresa&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryVenda" UserName="qryVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;	VENDA.NRCAIXA,&#13;&#10;	VENDA.CODVEN,&#13;&#10;	VENDA.DATA,&#13;&#10; MOEDA.CODMOE,   &#13;&#10;	MOEDA.DESCRICAO,&#13;&#10;	SUM(ITCONDIVENDA.VALOR) VALOR,&#13;&#10;	REPRESEN.NOME VENDEDOR,&#13;&#10;	VENDA.EMP_ID,  &#13;&#10;ENT.NOME                  &#13;&#10;FROM&#13;&#10;	CONDIVENDA_001 CONDIVENDA&#13;&#10;INNER JOIN VENDA_001 VENDA ON&#13;&#10;	VENDA.CODVEN = CONDIVENDA.CDVENDA&#13;&#10;	AND CONDIVENDA.EMP_ID = VENDA.EMP_ID&#13;&#10;INNER JOIN ENTIDADE_001 ENT&#13;&#10;ON ENT.CODCLI = VENDA.CODCLI                                                             &#13;&#10;INNER JOIN REPRESEN_001 REPRESEN ON&#13;&#10;	VENDA.CODREP = REPRESEN.CODREP&#13;&#10;INNER JOIN MOEDA_001 MOEDA ON&#13;&#10;	MOEDA.CODMOE = CONDIVENDA.CDMOEDA&#13;&#10;INNER JOIN ITCONDIVENDA_001 ITCONDIVENDA ON&#13;&#10;	ITCONDIVENDA.CDCONDIVENDA = CONDIVENDA.CDCONDIVENDA&#13;&#10;	AND ITCONDIVENDA.CDVENDA = CONDIVENDA.CDVENDA&#13;&#10;	AND ITCONDIVENDA.EMP_ID = CONDIVENDA.EMP_ID&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA.DATA = :DATA&#13;&#10;	AND VENDA.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA.FECHADA = 1&#13;&#10;	AND VENDA.EMP_ID = :EMP_ID&#13;&#10;	AND (VENDA.OP_FISCAL = 0&#13;&#10;	OR VENDA.OP_FISCAL IS NULL)&#13;&#10;GROUP BY&#13;&#10;	VENDA.NRCAIXA,&#13;&#10;	VENDA.CODVEN,&#13;&#10;	VENDA.DATA,&#13;&#10;	MOEDA.DESCRICAO,&#13;&#10;	REPRESEN.NOME,&#13;&#10;	VENDA.EMP_ID,&#13;&#10; MOEDA.CODMOE,  &#13;&#10; ENT.NOME                   &#13;&#10;ORDER BY&#13;&#10;	VENDA.NRCAIXA,&#13;&#10;	VENDA.CODVEN,&#13;&#10;	VENDA.DATA,&#13;&#10;	MOEDA.DESCRICAO,  &#13;&#10;ENT.NOME                  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="NRCAIXA=NRCAIXA;DATA=DATA;EMP_ID=EMP_ID" Left="579,2" Top="196">
      <Parameters>
        <item Name="DATA" DataType="ftDateTime" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryEntradas" UserName="qryEntradas" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;	VENDA_FECHAMENTO.ORDEM,&#13;&#10;	VENDA_FECHAMENTO.DATA,&#13;&#10;	VENDA_FECHAMENTO.TIPO,&#13;&#10;	VENDA_FECHAMENTO.LANCAMENTO,&#13;&#10;	VENDA_FECHAMENTO.DESCRICAO,&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	MOEDA.DESCRICAO DESCMOEDA,&#13;&#10;	RECEBER.DT_VENCTO,&#13;&#10;	SUM(VENDA_FECHAMENTO.VALOR) VALOR,&#13;&#10;	SUM(RECEBER.JUROS) JUROS,&#13;&#10;	SUM(RECEBER.DESCONTO) DESCONTO,&#13;&#10;	SUM(RECEBER.VAL_ORIGIN) VALOR_ORIG,&#13;&#10;	VENDA_FECHAMENTO.DUPLICATA,&#13;&#10;	VENDA_FECHAMENTO.DT_FECHAMENTO ,&#13;&#10;	VENDA_FECHAMENTO.NRCAIXA,&#13;&#10;	VENDA_FECHAMENTO.EMP_ID&#13;&#10;FROM&#13;&#10;	VENDA_FECHAMENTO_001 VENDA_FECHAMENTO&#13;&#10;LEFT JOIN MOEDA_001 MOEDA ON&#13;&#10;	(MOEDA.CODMOE = VENDA_FECHAMENTO.MOEDA)&#13;&#10;LEFT JOIN RECEBER_001 RECEBER ON&#13;&#10;	(RECEBER.NUMERO = VENDA_FECHAMENTO.DUPLICATA&#13;&#10;	AND RECEBER.EMP_ID = VENDA_FECHAMENTO.EMP_ID)&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA_FECHAMENTO.TIPO &#60;&#62; 'S'&#13;&#10;	AND VENDA_FECHAMENTO.DATA = :DATA&#13;&#10;	AND VENDA_FECHAMENTO.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA_FECHAMENTO.EMP_ID = :EMP_ID&#13;&#10; AND VENDA_FECHAMENTO.DESCRICAO &#60;&#62; 'TROCO PARA O DIA SEGUINTE'    &#13;&#10;GROUP BY&#13;&#10;	VENDA_FECHAMENTO.ORDEM,&#13;&#10;	VENDA_FECHAMENTO.DATA,&#13;&#10;	VENDA_FECHAMENTO.TIPO,&#13;&#10;	VENDA_FECHAMENTO.DESCRICAO,&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	MOEDA.DESCRICAO,&#13;&#10;	VENDA_FECHAMENTO.LANCAMENTO,&#13;&#10;	VENDA_FECHAMENTO.DUPLICATA,&#13;&#10;	VENDA_FECHAMENTO.DT_FECHAMENTO,&#13;&#10;	RECEBER.DT_VENCTO ,&#13;&#10;	VENDA_FECHAMENTO.NRCAIXA,&#13;&#10;	VENDA_FECHAMENTO.EMP_ID&#13;&#10;ORDER BY&#13;&#10;	VENDA_FECHAMENTO.DESCRICAO  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="DATA=DATA;NRCAIXA=NRCAIXA;EMP_ID=EMP_ID" Left="476,8" Top="196">
      <Parameters>
        <item Name="DATA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qrySaidas" UserName="qrySaidas" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="           SELECT VENDA_FECHAMENTO.ORDEM, VENDA_FECHAMENTO.DATA, VENDA_FECHAMENTO.TIPO, VENDA_FECHAMENTO.LANCAMENTO, &#13;&#10;VENDA_FECHAMENTO.DESCRICAO, VENDA_FECHAMENTO.MOEDA, MOEDA.DESCRICAO DESCMOEDA, RECEBER.DT_VENCTO, &#13;&#10;SUM(VENDA_FECHAMENTO.VALOR) VALOR, &#13;&#10;SUM(RECEBER.JUROS) JUROS, &#13;&#10;SUM(RECEBER.DESCONTO) DESCONTO, &#13;&#10;SUM(RECEBER.VAL_ORIGIN) VALOR_ORIG, &#13;&#10;VENDA_FECHAMENTO.DUPLICATA, VENDA_FECHAMENTO.DT_FECHAMENTO ,&#13;&#10;VENDA_FECHAMENTO.NRCAIXA,VENDA_FECHAMENTO.EMP_ID     &#13;&#10;FROM  VENDA_FECHAMENTO_001 VENDA_FECHAMENTO &#13;&#10;LEFT JOIN MOEDA_001   MOEDA   ON (MOEDA.CODMOE   = VENDA_FECHAMENTO.MOEDA) &#13;&#10;LEFT JOIN RECEBER_001 RECEBER ON (RECEBER.NUMERO = VENDA_FECHAMENTO.DUPLICATA AND RECEBER.EMP_ID = VENDA_FECHAMENTO.EMP_ID) &#13;&#10;WHERE 1=1&#13;&#10;AND VENDA_FECHAMENTO.TIPO = 'S'  &#13;&#10;AND VENDA_FECHAMENTO.DATA = :DATA        &#13;&#10;AND VENDA_FECHAMENTO.NRCAIXA = :NRCAIXA&#13;&#10;AND VENDA_FECHAMENTO.EMP_ID = :EMP_ID&#13;&#10;---AND VENDA_FECHAMENTO.DESCRICAO &#60;&#62; 'DINHEIRO'                                                                                                   &#13;&#10; GROUP BY VENDA_FECHAMENTO.ORDEM, VENDA_FECHAMENTO.DATA, VENDA_FECHAMENTO.TIPO, VENDA_FECHAMENTO.DESCRICAO, &#13;&#10; VENDA_FECHAMENTO.MOEDA, MOEDA.DESCRICAO, VENDA_FECHAMENTO.LANCAMENTO, &#13;&#10; VENDA_FECHAMENTO.DUPLICATA, VENDA_FECHAMENTO.DT_FECHAMENTO, RECEBER.DT_VENCTO &#13;&#10; ,VENDA_FECHAMENTO.NRCAIXA,VENDA_FECHAMENTO.EMP_ID    &#13;&#10; ORDER BY VENDA_FECHAMENTO.DESCRICAO  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="DATA=DATA;NRCAIXA=NRCAIXA;EMP_ID=EMP_ID" Left="681,6" Top="196">
      <Parameters>
        <item Name="DATA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryResulEnt" UserName="qryResulEnt" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="qryGamby" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	SUM(VENDA_FECHAMENTO.VALOR) VALOR&#13;&#10;FROM&#13;&#10;	VENDA_FECHAMENTO_001 VENDA_FECHAMENTO&#13;&#10;LEFT JOIN MOEDA_001 MOEDA ON&#13;&#10;	(MOEDA.CODMOE = VENDA_FECHAMENTO.MOEDA)&#13;&#10;LEFT JOIN RECEBER_001 RECEBER ON&#13;&#10;	(RECEBER.NUMERO = VENDA_FECHAMENTO.DUPLICATA&#13;&#10;	AND RECEBER.EMP_ID = VENDA_FECHAMENTO.EMP_ID)&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA_FECHAMENTO.TIPO = 'E'&#13;&#10;	AND VENDA_FECHAMENTO.DATA = :DATA&#13;&#10;	AND VENDA_FECHAMENTO.NRCAIXA = :NRCAIXA&#13;&#10; AND VENDA_FECHAMENTO.EMP_ID = :EMP_ID&#13;&#10; AND VENDA_FECHAMENTO.MOEDA = :MOEDA&#13;&#10; 	AND VENDA_FECHAMENTO.DESCRICAO &#60;&#62; 'TROCO PARA O DIA SEGUINTE'     &#13;&#10;GROUP BY&#13;&#10;	VENDA_FECHAMENTO.MOEDA  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="476,8" Top="272">
      <Parameters>
        <item Name="DATA" DataType="ftDateTime" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
        <item Name="MOEDA" DataType="ftString" Expression="&#60;qryGamby.&#34;CDMOEDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryResulVen" UserName="qryResulVen" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="qryGamby" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10; MOEDA.CODMOE,    &#13;&#10;	SUM(ITCONDIVENDA.VALOR) VALOR&#13;&#10;FROM&#13;&#10;	CONDIVENDA_001 CONDIVENDA&#13;&#10;INNER JOIN VENDA_001 VENDA ON&#13;&#10;	VENDA.CODVEN = CONDIVENDA.CDVENDA&#13;&#10;	AND CONDIVENDA.EMP_ID = VENDA.EMP_ID&#13;&#10;INNER JOIN REPRESEN_001 REPRESEN ON&#13;&#10;	VENDA.CODREP = REPRESEN.CODREP&#13;&#10;INNER JOIN MOEDA_001 MOEDA ON&#13;&#10;	MOEDA.CODMOE = CONDIVENDA.CDMOEDA&#13;&#10;INNER JOIN ITCONDIVENDA_001 ITCONDIVENDA ON&#13;&#10;	ITCONDIVENDA.CDCONDIVENDA = CONDIVENDA.CDCONDIVENDA&#13;&#10;	AND ITCONDIVENDA.CDVENDA = CONDIVENDA.CDVENDA&#13;&#10;	AND ITCONDIVENDA.EMP_ID = CONDIVENDA.EMP_ID&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA.DATA = :DATA&#13;&#10;	AND VENDA.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA.FECHADA = 1&#13;&#10;	AND VENDA.EMP_ID = :EMP_ID&#13;&#10;	AND (VENDA.OP_FISCAL = 0&#13;&#10;	OR VENDA.OP_FISCAL IS NULL)&#13;&#10; AND CONDIVENDA.CDMOEDA = :MOEDA                                                                                                &#13;&#10;GROUP BY&#13;&#10; MOEDA.CODMOE  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="579,2" Top="272">
      <Parameters>
        <item Name="DATA" DataType="ftDateTime" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
        <item Name="MOEDA" DataType="ftString" Expression="&#60;qryGamby.&#34;CDMOEDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryResulSai" UserName="qryResulSai" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="qryGamby" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	SUM(VENDA_FECHAMENTO.VALOR) VALOR&#13;&#10;FROM&#13;&#10;	VENDA_FECHAMENTO_001 VENDA_FECHAMENTO&#13;&#10;LEFT JOIN MOEDA_001 MOEDA ON&#13;&#10;	(MOEDA.CODMOE = VENDA_FECHAMENTO.MOEDA)&#13;&#10;LEFT JOIN RECEBER_001 RECEBER ON&#13;&#10;	(RECEBER.NUMERO = VENDA_FECHAMENTO.DUPLICATA&#13;&#10;	AND RECEBER.EMP_ID = VENDA_FECHAMENTO.EMP_ID)&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA_FECHAMENTO.TIPO = 'S'&#13;&#10;	AND VENDA_FECHAMENTO.DATA = :DATA&#13;&#10;	AND VENDA_FECHAMENTO.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA_FECHAMENTO.EMP_ID = :EMP_ID&#13;&#10;	AND VENDA_FECHAMENTO.DUPLICATA IS NULL&#13;&#10;	AND VENDA_FECHAMENTO.MOEDA = :MOEDA                        &#13;&#10;GROUP BY&#13;&#10;	VENDA_FECHAMENTO.MOEDA    " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="681,6" Top="272">
      <Parameters>
        <item Name="DATA" DataType="ftDateTime" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
        <item Name="MOEDA" DataType="ftString" Expression="&#60;qryGamby.&#34;CDMOEDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryTroco" UserName="qryTroco" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;	VENDA_FECHAMENTO.ORDEM,&#13;&#10;	VENDA_FECHAMENTO.DATA,&#13;&#10;	VENDA_FECHAMENTO.TIPO,&#13;&#10;	VENDA_FECHAMENTO.LANCAMENTO,&#13;&#10;	VENDA_FECHAMENTO.DESCRICAO,&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	MOEDA.DESCRICAO DESCMOEDA,&#13;&#10;	RECEBER.DT_VENCTO,&#13;&#10;	SUM(VENDA_FECHAMENTO.VALOR) VALOR,&#13;&#10;	SUM(RECEBER.JUROS) JUROS,&#13;&#10;	SUM(RECEBER.DESCONTO) DESCONTO,&#13;&#10;	SUM(RECEBER.VAL_ORIGIN) VALOR_ORIG,&#13;&#10;	VENDA_FECHAMENTO.DUPLICATA,&#13;&#10;	VENDA_FECHAMENTO.DT_FECHAMENTO ,&#13;&#10;	VENDA_FECHAMENTO.NRCAIXA,&#13;&#10;	VENDA_FECHAMENTO.EMP_ID&#13;&#10;FROM&#13;&#10;	VENDA_FECHAMENTO_001 VENDA_FECHAMENTO&#13;&#10;LEFT JOIN MOEDA_001 MOEDA ON&#13;&#10;	(MOEDA.CODMOE = VENDA_FECHAMENTO.MOEDA)&#13;&#10;LEFT JOIN RECEBER_001 RECEBER ON&#13;&#10;	(RECEBER.NUMERO = VENDA_FECHAMENTO.DUPLICATA&#13;&#10;	AND RECEBER.EMP_ID = VENDA_FECHAMENTO.EMP_ID)&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA_FECHAMENTO.TIPO = 'E'&#13;&#10;	AND VENDA_FECHAMENTO.DATA = :DATA&#13;&#10;	AND VENDA_FECHAMENTO.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA_FECHAMENTO.EMP_ID = :EMP_ID&#13;&#10; AND VENDA_FECHAMENTO.DESCRICAO = 'TROCO PARA O DIA SEGUINTE'                                                                                                                                      &#13;&#10;GROUP BY&#13;&#10;	VENDA_FECHAMENTO.ORDEM,&#13;&#10;	VENDA_FECHAMENTO.DATA,&#13;&#10;	VENDA_FECHAMENTO.TIPO,&#13;&#10;	VENDA_FECHAMENTO.DESCRICAO,&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	MOEDA.DESCRICAO,&#13;&#10;	VENDA_FECHAMENTO.LANCAMENTO,&#13;&#10;	VENDA_FECHAMENTO.DUPLICATA,&#13;&#10;	VENDA_FECHAMENTO.DT_FECHAMENTO,&#13;&#10;	RECEBER.DT_VENCTO ,&#13;&#10;	VENDA_FECHAMENTO.NRCAIXA,&#13;&#10;	VENDA_FECHAMENTO.EMP_ID&#13;&#10;ORDER BY&#13;&#10;	VENDA_FECHAMENTO.DESCRICAO  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="376" Top="276">
      <Parameters>
        <item Name="DATA" DataType="ftDate" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryGamby" UserName="qryGamby" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT CD.CDMOEDA, M.DESCRICAO, V.DATA                           &#13;&#10;FROM CONDIVENDA_001 CD&#13;&#10;INNER JOIN VENDA_001 V &#13;&#10;ON V.CODVEN = CD.CDVENDA&#13;&#10;INNER JOIN MOEDA_001 M&#13;&#10;ON CD.CDMOEDA = M.CODMOE&#13;&#10;WHERE V.DATA = :DATA                         &#13;&#10;GROUP BY CD.CDMOEDA, M.DESCRICAO, V.DATA                                                                                                                   " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="280" Top="276">
      <Parameters>
        <item Name="DATA" DataType="ftDate" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryDevol" UserName="qryDevol" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="qryVenda" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10; MOEDA.CODMOE,    &#13;&#10;	SUM(ITCONDIVENDA.VALOR) VALOR&#13;&#10;FROM&#13;&#10;	CONDIVENDA_001 CONDIVENDA&#13;&#10;INNER JOIN VENDA_001 VENDA ON&#13;&#10;	VENDA.CODVEN = CONDIVENDA.CDVENDA&#13;&#10;	AND CONDIVENDA.EMP_ID = VENDA.EMP_ID&#13;&#10;INNER JOIN REPRESEN_001 REPRESEN ON&#13;&#10;	VENDA.CODREP = REPRESEN.CODREP&#13;&#10;INNER JOIN MOEDA_001 MOEDA ON&#13;&#10;	MOEDA.CODMOE = CONDIVENDA.CDMOEDA&#13;&#10;INNER JOIN ITCONDIVENDA_001 ITCONDIVENDA ON&#13;&#10;	ITCONDIVENDA.CDCONDIVENDA = CONDIVENDA.CDCONDIVENDA&#13;&#10;	AND ITCONDIVENDA.CDVENDA = CONDIVENDA.CDVENDA&#13;&#10;	AND ITCONDIVENDA.EMP_ID = CONDIVENDA.EMP_ID&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA.DATA = :DATA&#13;&#10;	AND VENDA.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA.FECHADA = 1&#13;&#10;	AND MOEDA.CODMOE = '4'&#13;&#10;	AND VENDA.EMP_ID = :EMP_ID&#13;&#10;	AND (VENDA.OP_FISCAL = 0&#13;&#10;	OR VENDA.OP_FISCAL IS NULL)                                                                                               &#13;&#10;GROUP BY&#13;&#10; MOEDA.CODMOE  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="280" Top="344">
      <Parameters>
        <item Name="DATA" DataType="ftDateTime" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftString" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qrySaldoAnterior" UserName="qrySaldoAnterior" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="qryGamby" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;	VENDA_FECHAMENTO.MOEDA,&#13;&#10;	SUM(VENDA_FECHAMENTO.VALOR) VALOR&#13;&#10;FROM&#13;&#10;	VENDA_FECHAMENTO_001 VENDA_FECHAMENTO&#13;&#10;LEFT JOIN MOEDA_001 MOEDA ON&#13;&#10;	(MOEDA.CODMOE = VENDA_FECHAMENTO.MOEDA)&#13;&#10;LEFT JOIN RECEBER_001 RECEBER ON&#13;&#10;	(RECEBER.NUMERO = VENDA_FECHAMENTO.DUPLICATA&#13;&#10;	AND RECEBER.EMP_ID = VENDA_FECHAMENTO.EMP_ID)&#13;&#10;WHERE&#13;&#10;	1 = 1&#13;&#10;	AND VENDA_FECHAMENTO.TIPO = 'E'&#13;&#10;	AND VENDA_FECHAMENTO.DATA = CAST(:DATA AS DATE) - 1&#13;&#10;	AND VENDA_FECHAMENTO.NRCAIXA = :NRCAIXA&#13;&#10;	AND VENDA_FECHAMENTO.EMP_ID = :EMP_ID&#13;&#10;	AND VENDA_FECHAMENTO.DUPLICATA IS NULL&#13;&#10;	AND VENDA_FECHAMENTO.MOEDA = :MOEDA&#13;&#10;	AND VENDA_FECHAMENTO.DESCRICAO = 'TROCO PARA O DIA SEGUINTE'&#13;&#10;GROUP BY&#13;&#10;	VENDA_FECHAMENTO.MOEDA  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="376" Top="348">
      <Parameters>
        <item Name="DATA" DataType="ftDateTime" Expression="&#60;tbRelatorio.&#34;DATA&#34;&#62;"/>
        <item Name="NRCAIXA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NRCAIXA&#34;&#62;"/>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;EMP_ID&#34;&#62;"/>
        <item Name="MOEDA" DataType="ftString" Expression="&#60;qryGamby.&#34;CDMOEDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="320" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Color="536870911" Frame.ShadowColor="536870911" Frame.Typ="0" LargeDesignHeight="True" 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="26,45671" Left="0" Top="1145,19759" Width="755,906" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qryVenda" DataSetName="qryVenda" RowCount="0">
      <TfrxShapeView Name="fundoVendas" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="26,45671" Fill.ForeColor="536870911" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="qryVendaCODVEN" IndexTag="1" AllowVectorExport="True" Left="3,55906" Top="2,55906" Width="56,69295" Height="18,89765" DataField="CODVEN" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryVenda.&#34;CODVEN&#34;]"/>
      <TfrxMemoView Name="qryVendaDATA" IndexTag="1" AllowVectorExport="True" Left="64,82684" Top="2,55906" Width="68,03154" Height="18,89765" DataField="DATA" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryVenda.&#34;DATA&#34;]"/>
      <TfrxMemoView Name="qryVendaDESCRICAO" IndexTag="1" AllowVectorExport="True" Left="138,9765" Top="2,55906" Width="173,85838" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryVenda.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="qryVendaVENDEDOR" IndexTag="1" AllowVectorExport="True" Left="480,79561" Top="2,45671" Width="181,41744" Height="18,89765" StretchMode="smActualHeight" DataField="VENDEDOR" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryVenda.&#34;VENDEDOR&#34;]"/>
      <TfrxMemoView Name="qryVendaCODMOE" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="3,23624" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[qryVenda.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo63" IndexTag="1" AllowVectorExport="True" Left="313,70099" Top="0,67718" Width="162,51979" Height="18,89765" StretchMode="smActualHeight" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryVenda.&#34;NOME&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" Fill.BackColor="-16777194" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="23,32282" Left="0" Top="1054,48887" Width="755,906" ReprintOnNewPage="True">
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="22,67718" Fill.BackColor="-16777216" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo9" IndexTag="1" AllowVectorExport="True" Left="0" Top="0,88188" Width="755,906" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Vendas"/>
    </TfrxHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="1194,33148" Width="755,906">
      <TfrxMemoView Name="Memo10" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="0" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;qryVenda.&#34;VALOR&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo12" IndexTag="1" AllowVectorExport="True" Left="623,62245" Top="0" Width="41,57483" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Total:"/>
    </TfrxGroupFooter>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26,45671" Left="0" Top="517,79561" Width="755,906" OnBeforePrint="MasterData2OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qryEntradas" DataSetName="qryEntradas" RowCount="0">
      <TfrxShapeView Name="fundoEntradas" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="26,45671" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo15" IndexTag="1" AllowVectorExport="True" Left="9,33859" Top="2,55906" Width="419,52783" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntradas.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo17" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="3,23624" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[qryEntradas.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo57" IndexTag="1" AllowVectorExport="True" Left="434,64595" Top="2,55906" Width="222,99227" Height="18,89765" DataField="DESCMOEDA" DataSet="qryEntradas" DataSetName="qryEntradas" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryEntradas.&#34;DESCMOEDA&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header2" FillType="ftBrush" Fill.BackColor="-16777194" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="27,10235" Left="0" Top="423,30736" Width="755,906" ReprintOnNewPage="True">
      <TfrxShapeView Name="Shape2" AllowVectorExport="True" Left="-0,22047" Top="0" Width="755,906" Height="22,67718" Fill.BackColor="-16777216" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo18" IndexTag="1" AllowVectorExport="True" Left="0" Top="1,88188" Width="755,906" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Entradas"/>
    </TfrxHeader>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="49,13389" Left="0" Top="566,9295" Width="755,906">
      <TfrxMemoView Name="Memo19" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="26,45671" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[(SUM(&#60;qryEntradas.&#34;VALOR&#34;&#62;,MasterData2))+(SUM(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;,MasterData4,1))]"/>
      <TfrxMemoView Name="Memo20" IndexTag="1" AllowVectorExport="True" Left="626,62245" Top="26,45671" Width="41,57483" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Total:"/>
      <TfrxMemoView Name="Memo79" IndexTag="1" AllowVectorExport="True" Left="7,55906" Top="0" Width="419,52783" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[IIF(SUM(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;,MasterData4,1)&#62;0,'FUNDO DE CAIXA','')]"/>
      <TfrxMemoView Name="Memo80" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="0" Width="79,37013" Height="18,89765" DataSet="qryEntradas" DataSetName="qryEntradas" 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" ParentFont="False" Text="[IIF(SUM(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;,MasterData4,1)&#62;0,SUM(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;,MasterData4,1),'')]"/>
      <TfrxMemoView Name="Memo81" IndexTag="1" AllowVectorExport="True" Left="434,64595" Top="0" Width="222,99227" Height="18,89765" DataSet="qrySaldoAnterior" DataSetName="qrySaldoAnterior" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[IIF(SUM(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;,MasterData4,1)&#62;0,'DINHEIRO','')]"/>
    </TfrxGroupFooter>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" Fill.BackColor="-16777194" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="21,67718" Left="0" Top="472,44125" Width="755,906" Condition="qryEntradas.&#34;EMP_ID&#34;">
      <TfrxMemoView Name="Memo21" IndexTag="1" AllowVectorExport="True" Left="7,55906" Top="2,10235" Width="408,18924" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Meio de Pagamento"/>
      <TfrxMemoView Name="Memo25" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="2,77953" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor"/>
      <TfrxMemoView Name="Memo61" IndexTag="1" AllowVectorExport="True" Left="434,64595" Top="3,77953" Width="222,99227" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Desc. Moeda"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26,45671" Left="0" Top="733,22882" Width="755,906" OnBeforePrint="MasterData3OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qrySaidas" DataSetName="qrySaidas" RowCount="0">
      <TfrxShapeView Name="fundoSaidas" AllowVectorExport="True" Left="0" Top="1,77953" Width="755,906" Height="22,67718" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo22" IndexTag="1" AllowVectorExport="True" Left="9,33859" Top="2,55906" Width="419,52783" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qrySaidas.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo23" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="3,23624" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[iif(&#60;qrySaidas.&#34;MOEDA&#34;&#62; = 0,&#60;qrySaidas.&#34;VALOR&#34;&#62;, &#60;qrySaidas.&#34;VALOR&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo58" IndexTag="1" AllowVectorExport="True" Left="434,64595" Top="2,55906" Width="222,99227" Height="18,89765" DataField="DESCMOEDA" DataSet="qrySaidas" DataSetName="qrySaidas" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qrySaidas.&#34;DESCMOEDA&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header3" FillType="ftBrush" Fill.BackColor="-16777194" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19,54329" Left="0" Top="638,74057" Width="755,906" ReprintOnNewPage="True">
      <TfrxShapeView Name="Shape9" AllowVectorExport="True" Left="0" Top="-3,77953" Width="755,906" Height="22,67718" Fill.BackColor="-16777216" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo68" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="-2" Width="755,906" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Saida"/>
    </TfrxHeader>
    <TfrxGroupFooter Name="GroupFooter3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="44,3859" Left="0" Top="782,36271" Width="755,906">
      <TfrxMemoView Name="Memo26" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="1" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;qrySaidas.&#34;VALOR&#34;&#62;,MasterData3)]"/>
      <TfrxMemoView Name="Memo27" IndexTag="1" AllowVectorExport="True" Left="626,62245" Top="1" Width="41,57483" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Total:"/>
      <TfrxMemoView Name="Memo82" IndexTag="1" AllowVectorExport="True" Left="210,90569" Top="22,67718" Width="332,59864" Height="18,89765" DataSetName="qryVenda" 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="haCenter" ParentFont="False" Text="[IIF(Sum(&#60;qryEntradas.&#34;VALOR&#34;&#62;, MasterData2) + Sum(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;, MasterData4, 1) - Sum(&#60;qrySaidas.&#34;VALOR&#34;&#62;, MasterData3) &#60;&#62; 0,&#13;&#10;  'Diferença: R$' + FormatFloat('#,##0.00', Sum(&#60;qryEntradas.&#34;VALOR&#34;&#62;, MasterData2) + Sum(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;, MasterData4, 1) - Sum(&#60;qrySaidas.&#34;VALOR&#34;&#62;, MasterData3)), '')]"/>
    </TfrxGroupFooter>
    <TfrxGroupHeader Name="GroupHeader3" FillType="ftBrush" Fill.BackColor="-16777194" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="680,3154" Width="755,906" Condition="qrySaidas.&#34;EMP_ID&#34;">
      <TfrxMemoView Name="Memo28" IndexTag="1" AllowVectorExport="True" Left="7,55906" Top="2,10235" Width="408,18924" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Meio de Pagamento"/>
      <TfrxMemoView Name="Memo29" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="2,77953" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor"/>
      <TfrxMemoView Name="Memo71" IndexTag="1" AllowVectorExport="True" Left="434,64595" Top="1,55906" Width="222,99227" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Desc. Moeda"/>
    </TfrxGroupHeader>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="88,91342" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="658,43352" Top="23,33859" 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="Memo31" AllowVectorExport="True" Left="658,65399" Top="34,77953" 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="Memo32" AllowVectorExport="True" Left="20,787415" Top="37,67718" Width="714,33117" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="RELATÓRIO DE FECHAMENTO DE CAIXA"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="121,77953" Top="1,66141" 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="[QryEmpresa.&#34;EMP_NOME&#34;]-[QryEmpresa.&#34;EMP_CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="658,65399" Top="13,10235" 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="Memo34" AllowVectorExport="True" Left="121,77953" Top="18,89765" 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="[QryEmpresa.&#34;EMP_ENDERECO&#34;], [QryEmpresa.&#34;EMP_NUMERO&#34;], [QryEmpresa.&#34;EMP_BAIRRO&#34;], [QryEmpresa.&#34;EMP_CIDADE&#34;]([QryEmpresa.&#34;EMP_ESTADO&#34;]) - [QryEmpresa.&#34;EMP_CEP&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxPictureView Name="Picture2" AllowVectorExport="True" Left="6,22047" Top="0" Width="105,82684" Height="68,03154" Center="True" DataField="EMP_LOGO" DataSetName="tbEmpresa" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="658,65399" Top="47,45671" 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]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="-3,77953" Top="61,14966" Width="718,1107" Height="26,45671" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaBottom" Text="Data: [tbRelatorio.&#34;DATA&#34;] Caixa: [tbRelatorio.&#34;NRCAIXA&#34;]"/>
      <TfrxShapeView Name="Shape7" AllowVectorExport="True" Left="-7,55906" Top="292,80334" Width="718,1107" Height="26,45671" Fill.ForeColor="536870911" Frame.Color="536870911" Frame.Typ="0"/>
    </TfrxReportTitle>
    <TfrxGroupHeader Name="GroupHeader5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="1099,84323" Width="755,906" Condition="qryVenda.&#34;EMP_ID&#34;">
      <TfrxMemoView Name="Memo2" IndexTag="1" AllowVectorExport="True" Left="3,55906" Top="1,77953" Width="56,69295" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Venda"/>
      <TfrxMemoView Name="Memo3" IndexTag="1" AllowVectorExport="True" Left="63,26778" Top="1,77953" Width="75,5906" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Data"/>
      <TfrxMemoView Name="Memo4" IndexTag="1" AllowVectorExport="True" Left="140,51979" Top="1,77953" Width="170,07885" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Meio Pagamento"/>
      <TfrxMemoView Name="Memo8" IndexTag="1" AllowVectorExport="True" Left="482,01608" Top="1,77953" Width="177,63791" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Vendedor"/>
      <TfrxMemoView Name="Memo7" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="1,77953" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor"/>
      <TfrxMemoView Name="Memo64" IndexTag="1" AllowVectorExport="True" Left="314,92146" Top="0" Width="158,74026" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Cliente"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26,45671" Left="0" Top="257,00804" Visible="False" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="qryGamby" DataSetName="qryGamby" RowCount="0">
      <TfrxShapeView Name="fundoresumo" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="26,45671" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo36" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="3,77953" Width="283,46475" Height="18,89765" DataSetName="qryAnterior" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryGamby.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo46" IndexTag="1" AllowVectorExport="True" Left="386,00031" Top="3,77953" Width="79,37013" Height="18,89765" DataSet="qryResulEnt" DataSetName="qryResulEnt" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[qryResulVen.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo48" IndexTag="1" AllowVectorExport="True" Left="476,62234667" Top="3,77953" Width="98,26778" Height="18,89765" DataSet="qryResulVen" DataSetName="qryResulVen" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;qryResulEnt.&#34;VALOR&#34;&#62;]"/>
      <TfrxMemoView Name="Memo50" IndexTag="1" AllowVectorExport="True" Left="577,85075333" Top="3,77953" Width="90,70872" Height="18,89765" DataField="VALOR" DataSet="qryResulSai" DataSetName="qryResulSai" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[qryResulSai.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo53" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="3,77953" Width="79,37013" Height="18,89765" DataSet="qryResulSai" DataSetName="qryResulSai" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[[IIF(&#60;qryGamby.&#34;CDMOEDA&#34;&#62;&#60;&#62; '14',(&#60;qryResulVen.&#34;VALOR&#34;&#62;+&#60;qryResulEnt.&#34;VALOR&#34;&#62;+&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;)-&#60;qryResulSai.&#34;VALOR&#34;&#62;),0]"/>
      <TfrxMemoView Name="Memo72" IndexTag="1" AllowVectorExport="True" Left="298,58287" Top="3,77953" Width="79,37013" Height="18,89765" DataSet="qryResulVen" DataSetName="qryResulVen" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41,57483" Left="0" Top="170,07885" Width="755,906">
      <TfrxShapeView Name="Shape10" AllowVectorExport="True" Left="0,44094" Top="21,89765" Width="755,906" Height="18,89765" Fill.BackColor="15000804" Frame.Typ="0"/>
      <TfrxShapeView Name="Shape6" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="22,67718" Fill.BackColor="-16777216" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo40" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="22,67718" Width="117,16543" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Forma de Pagamento"/>
      <TfrxMemoView Name="Memo42" IndexTag="1" AllowVectorExport="True" Left="386,00031" Top="22,67718" Width="79,37013" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Valor Venda"/>
      <TfrxMemoView Name="Memo43" IndexTag="1" AllowVectorExport="True" Left="476,62234667" Top="22,67718" Width="98,26778" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor entrada"/>
      <TfrxMemoView Name="Memo44" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="22,67718" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Saldo"/>
      <TfrxMemoView Name="Memo45" IndexTag="1" AllowVectorExport="True" Left="577,85075333" Top="22,67718" Width="90,70872" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor saida"/>
      <TfrxMemoView Name="Memo51" IndexTag="1" AllowVectorExport="True" Left="0,22047" Top="-0,11812" Width="755,906" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Resumo"/>
      <TfrxMemoView Name="Memo73" IndexTag="1" AllowVectorExport="True" Left="298,58287" Top="22,67718" Width="79,37013" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Saldo Anterior"/>
    </TfrxHeader>
    <TfrxGroupHeader Name="GroupHeader4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="234,33086" Width="755,906" Condition="&#60;qryGamby.&#34;CDMOEDA&#34;&#62;"/>
    <TfrxGroupFooter Name="GroupFooter4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="28,23624" Left="0" Top="306,14193" Width="755,906" Stretched="True">
      <TfrxMemoView Name="Memo38" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="283,46475" Height="18,89765" DataSetName="qryAnterior" 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;qryGamby.&#34;DESCRICAO&#34;&#62; = 'TROCA/DEVOLUCAO'" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[qryGamby.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo47" IndexTag="1" AllowVectorExport="True" Left="386,00031" Top="0" Width="79,37013" Height="18,89765" DataSet="qryResulVen" DataSetName="qryResulVen" 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="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;qryGamby.&#34;DESCRICAO&#34;&#62; = 'TROCA/DEVOLUCAO'" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[&#60;qryResulVen.&#34;VALOR&#34;&#62;]"/>
      <TfrxMemoView Name="Memo49" IndexTag="1" AllowVectorExport="True" Left="472,84281667" Top="0" Width="98,26778" Height="18,89765" DataSet="qryResulVen" DataSetName="qryResulVen" 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" ParentFont="False" Text="[iif(&#60;qryResulEnt.&#34;VALOR&#34;&#62;=0,'0,00',&#60;qryResulEnt.&#34;VALOR&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo52" IndexTag="1" AllowVectorExport="True" Left="574,07122333" Top="0" Width="90,70872" Height="18,89765" DataSet="qryResulSai" DataSetName="qryResulSai" 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" ParentFont="False" Text="[iif(&#60;qryResulSai.&#34;VALOR&#34;&#62;=0,'0,00',&#60;qryResulSai.&#34;VALOR&#34;&#62;)]"/>
      <TfrxShapeView Name="Shape5" AllowVectorExport="True" Left="1,22047" Top="2" Width="714,33117" Height="3,77953" Fill.ForeColor="536870911" Frame.Color="536870911" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo54" IndexTag="1" AllowVectorExport="True" Left="667,74057" Top="0" Width="79,37013" Height="18,89765" DataSet="qryResulSai" DataSetName="qryResulSai" 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;qryGamby.&#34;DESCRICAO&#34;&#62; = 'TROCA/DEVOLUCAO'" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[SUM(IIF(&#60;qryGamby.&#34;CDMOEDA&#34;&#62; &#60;&#62; 14,((&#60;qryResulVen.&#34;VALOR&#34;&#62;+&#60;qryResulEnt.&#34;VALOR&#34;&#62;+&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;)-&#60;qryResulSai.&#34;VALOR&#34;&#62;),0),MasterData4,1)]"/>
      <TfrxMemoView Name="Memo74" IndexTag="1" AllowVectorExport="True" Left="298,58287" Top="0" Width="79,37013" Height="18,89765" DataSet="qryResulVen" DataSetName="qryResulVen" 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="haCenter" ParentFont="False" Text="[iif(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;=0,'0,00',&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;)]"/>
    </TfrxGroupFooter>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41,57483" Left="0" Top="359,05535" Width="755,906" Stretched="True">
      <TfrxShapeView Name="Shape11" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="18,89765" Fill.BackColor="15000804" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo59" IndexTag="1" AllowVectorExport="True" Left="657,45702" Top="0" Width="98,26778" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Saldo Final"/>
      <TfrxMemoView Name="Memo60" IndexTag="1" AllowVectorExport="True" Left="656,45702" Top="19,89765" Width="98,26778" Height="18,89765" DataSetName="qryVenda" 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="haCenter" ParentFont="False" Text="[SUM(IIF(&#60;qryGamby.&#34;CDMOEDA&#34;&#62; &#60;&#62; 14,((&#60;qryResulVen.&#34;VALOR&#34;&#62;+&#60;qryResulEnt.&#34;VALOR&#34;&#62;+&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;)-&#60;qryResulSai.&#34;VALOR&#34;&#62;),0),MasterData4,1)]"/>
      <TfrxMemoView Name="Memo55" IndexTag="1" AllowVectorExport="True" Left="537,69326" Top="0" Width="98,26778" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="255" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Total Devol"/>
      <TfrxMemoView Name="Memo56" IndexTag="1" AllowVectorExport="True" Left="536,69326" Top="19,89765" Width="98,26778" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(IIF(&#60;qryGamby.&#34;CDMOEDA&#34;&#62; = 14,(&#60;qryResulVen.&#34;VALOR&#34;&#62;),0),MasterData4,1)]"/>
      <TfrxMemoView Name="Memo75" IndexTag="1" AllowVectorExport="True" Left="298,58287" Top="0" Width="79,37013" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Saldo Anterior"/>
      <TfrxMemoView Name="Memo76" IndexTag="1" AllowVectorExport="True" Left="298,58287" Top="19,89765" Width="79,37013" Height="18,89765" DataSetName="qryVenda" 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="haCenter" ParentFont="False" Text="[SUM(&#60;qrySaldoAnterior.&#34;VALOR&#34;&#62;,MasterData4,1)]"/>
      <TfrxMemoView Name="Memo77" IndexTag="1" AllowVectorExport="True" Left="386,00031" Top="0" Width="79,37013" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Troco"/>
      <TfrxMemoView Name="Memo78" IndexTag="1" AllowVectorExport="True" Left="386,00031" Top="19,89765" Width="79,37013" Height="18,89765" DataSetName="qryVenda" 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="haCenter" ParentFont="False" Text="[qryTroco.&#34;VALOR&#34;]"/>
    </TfrxFooter>
    <TfrxMasterData Name="MasterData5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37,7953" Left="0" Top="994,01639" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="qryEmpresa" DataSetName="qryEmpresa" RowCount="0">
      <TfrxMemoView Name="Memo62" AllowVectorExport="True" Left="3,77953" Top="7,23624" Width="740,78788" Height="26,45671" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=" Ass Caixa.: _______________________________Ass Gerente.: _______________________________"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header6" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="850,39425" Width="755,906">
      <TfrxShapeView Name="Shape8" AllowVectorExport="True" Left="-0,22047" Top="-0,64564" Width="755,906" Height="22,67718" Fill.BackColor="-16777216" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo65" IndexTag="1" AllowVectorExport="True" Left="-7,55906" Top="0,03154" Width="763,46506" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Troco"/>
    </TfrxHeader>
    <TfrxMasterData Name="MasterData6" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="948,66203" Width="755,906" OnBeforePrint="MasterData6OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="qryTroco" DataSetName="qryTroco" RowCount="0">
      <TfrxMemoView Name="Memo66" IndexTag="1" AllowVectorExport="True" Left="5,77953" Top="0,55906" Width="634,96104" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[qryTroco.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo67" IndexTag="1" AllowVectorExport="True" Left="665,19728" Top="1,77953" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;qryTroco.&#34;VALOR&#34;&#62;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader6" FillType="ftBrush" Fill.BackColor="-16777194" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="895,74861" Width="755,906" Condition="qrySaidas.&#34;EMP_ID&#34;">
      <TfrxMemoView Name="Memo69" IndexTag="1" AllowVectorExport="True" Left="7,55906" Top="2,10235" Width="408,18924" Height="18,89765" DataSetName="qryVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Meio de Pagamento"/>
      <TfrxMemoView Name="Memo70" IndexTag="1" AllowVectorExport="True" Left="671,5201" Top="2,77953" Width="79,37013" Height="18,89765" DataSetName="qryVenda" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor"/>
    </TfrxGroupHeader>
  </TfrxReportPage>
</TfrxReport>
