<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PrintOptions.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="43487,3236286458" ReportOptions.Description.Text="" ReportOptions.LastChange="44596,3657079051" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="QryEmpresa" DataSetName="QryEmpresa"/>
    <item DataSet="QryVenda" DataSetName="QryVenda"/>
  </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="'_001'"/>
    <item Name="Layout" Value="'imprimircupom.fr3'"/>
    <item Name="PastaFotos" Value="'C:\Sisplan\Fotos'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'1'"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="C:\Sisplan\Base\14732F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=C:\Sisplan\Base\14732F.FDB&#13;&#10;Server=192.168.15.25&#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="05704C6566740304010470546F70038000"/>
    <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="88" Top="24"/>
    <TfrxFDQuery Name="QryVenda" UserName="QryVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT V.CODVEN, V.DATA, IT.CODIGO, P.DESCRICAO, E.NOME, R.CODREP, R.NOME AS NOME_REP                                                                                                &#13;&#10;FROM VENDA_001 V&#13;&#10;INNER JOIN ITVENDA_001 IT ON (IT.CODVEN = V.CODVEN)&#13;&#10;INNER JOIN PRODUTO_001 P ON (P.CODIGO = IT.CODIGO)&#13;&#10;INNER JOIN ENTIDADE_001 E ON (E.CODCLI = V.CODCLI)&#13;&#10;INNER JOIN REPRESEN_001 R ON (R.CODREP = V.CODREP)  &#13;&#10;WHERE V.CODVEN = :CODVEN                                                                            &#13;&#10;  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="208" Top="212">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;VENDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="75" PaperHeight="3610" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="366,61441" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0">
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="0" Top="2,33859" Width="56,69295" Height="18,89765" DataField="CODIGO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;CODIGO&#34;]"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="60,47248" Top="2,33859" Width="56,69295" Height="18,89765" DataField="DESC_COR" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;DESC_COR&#34;]"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="120,94496" Top="2,33859" Width="56,69295" Height="18,89765" DataField="TAM" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[tbRelatorio.&#34;TAM&#34;]"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="181,41744" Top="2,33859" Width="56,69295" Height="18,89765" DataField="QTDE" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[tbRelatorio.&#34;QTDE&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="529,1342" Width="245,66945">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="3,77953" Width="653,85869" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Sisplan Sistemas e Planejamento LTDA - (47) 3380-6100  - "/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="0" Top="3,77953" Width="347,71676" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[&#60;vNivel&#62;] - [&#60;vNivelDesc&#62;]"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="650,5201" Top="3,77953" Width="105,82684" Height="11,33859" Hyperlink.Value="https://sisplansistemas.com.br/" Font.Charset="1" Font.Color="16711680" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="www.sisplansistemas.com.br"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="217,51979" Left="0" Top="18,89765" Width="245,66945">
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="109,01577" Width="219,21274" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="CUPOM DE TROCA"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="-1,33859" Top="3,10235" Width="219,21274" Height="18,89765" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_FANTASIA&#34;]"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="351,49629" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="468,66172" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="585,82715" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="3,77953" Top="39,89765" Width="211,65368" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="TELEFONE: [QryEmpresa.&#34;EMP_TELEFONE&#34;]"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="3,77953" Top="57,57483" Width="219,21274" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[&#60;QryEmpresa.&#34;EMP_ENDERECO&#34;&#62;],[ &#60;QryEmpresa.&#34;EMP_NUMERO&#34;&#62;],[&#60;QryEmpresa.&#34;EMP_BAIRRO&#34;&#62;],[&#60;QryEmpresa.&#34;EMP_CIDADE&#34;&#62;]"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="3,77953" Top="76,47248" Width="219,21274" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="CNPJ: [QryEmpresa.&#34;EMP_CNPJ&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="QryVendaDATA" IndexTag="1" AllowVectorExport="True" Left="0" Top="151,1812" Width="154,96073" Height="11,33859" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="DATA: [QryVenda.&#34;DATA&#34;]"/>
      <TfrxMemoView Name="Memo22" IndexTag="1" AllowVectorExport="True" Left="0" Top="173,63791" Width="154,96073" Height="11,33859" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="CLIENTE: [QryVenda.&#34;NOME&#34;]"/>
      <TfrxMemoView Name="Memo24" IndexTag="1" AllowVectorExport="True" Left="0" Top="196,31509" Width="154,96073" Height="11,33859" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="VENDEDOR: [QryVenda.&#34;NOME_REP&#34;]"/>
      <TfrxMemoView Name="Memo26" IndexTag="1" AllowVectorExport="True" Left="166,29932" Top="151,1812" Width="154,96073" Height="11,33859" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="VENDA: [QryVenda.&#34;CODVEN&#34;]"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="298,58287" Width="245,66945" Condition="tbRelatorio.&#34;VENDA&#34;">
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="0" Top="28,67718" Width="56,69295" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CÓDIGO"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="60,47248" Top="28,67718" Width="56,69295" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="COR"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="120,94496" Top="28,67718" Width="56,69295" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="TAM"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="181,41744" Top="28,67718" Width="56,69295" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="QTDE"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="0" Top="3,77953" Width="226,7718" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ITENS"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="56,69295" Left="0" Top="411,96877" Width="245,66945">
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="3,77953" Top="26,45671" Width="234,33086" Height="22,67718" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="A TROCA PODERÁ SER FEITA DENTRO DE 30 DIAS APÓS A COMPRA DO PRODUTO."/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
