<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.6.98" DotMatrixReport="False" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41244.3782061921" ReportOptions.Description.Text="" ReportOptions.LastChange="41911.6509601505" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C2600000020446174615365743D22436F6E6669672220446174615365744E616D653D22436F6E6669672200010C3A00000020446174615365743D22496E766F636965735061796D656E74732220446174615365744E616D653D22496E766F636965735061796D656E7473220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADODatabase Name="DB" LoginPrompt="False" PropData="05704C65667402260470546F700226"/>
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select * from VwFullInvoice where id = 62116 order by code                                                                 " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402670470546F7002260A506172616D65746572730100"/>
    <TfrxADOTable Name="Config" UserName="Config" CloseDataSource="True" FieldAliases.Text="" TableName="dbo.Config" Database="DB" PropData="05704C65667403A6000470546F700226"/>
    <TfrxADOQuery Name="InvociesPayments" UserName="InvociesPayments" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select * from VwInvoicePayments where InvoiceID = :MyInvID                " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403E4000470546F7002280A506172616D657465727301010C4C000000204E616D653D224D79496E764944222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B53514C2E262333343B4944262333343B262336323B220000"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="76" PaperHeight="297" PaperSize="2321" LeftMargin="7" RightMargin="7" TopMargin="2" BottomMargin="7" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="2" Height="207.42047" Left="0" ParentFont="False" Top="18.89765" Width="234.33086" Stretched="True">
      <TfrxMemoView Name="ConfigCompanyName" ShiftMode="smWhenOverlapped" Left="37.79527559" Top="0" Width="196.53543307" Height="15.11811024" ShowHint="False" StretchMode="smMaxHeight" DataField="CompanyName" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Config.&#34;CompanyName&#34;]"/>
      <TfrxMemoView Name="Memo1" Left="37.79527559" Top="15.11811024" Width="196.53543307" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="CONTRIBUINTE: [Config.&#34;Contribuinte&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="37.7952755905512" Top="30.23622047" Width="196.535433070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[Config.&#34;Address&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="37.7952755905512" Top="45.35433071" Width="196.535433070866" Height="15.1181102362205" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="&#60;&#60;[SQL.&#34;WHName&#34;]&#62;&#62;"/>
      <TfrxMemoView Name="Memo5" Left="37.7952755905512" Top="60.47244094" Width="196.535433070866" Height="15.1181102362205" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="Tel.: [Config.&#34;Tel&#34;]"/>
      <TfrxMemoView Name="Memo6" Left="37.7952755905512" Top="75.59055118" Width="196.535433070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="Fax.: [Config.&#34;Fax&#34;]"/>
      <TfrxLineView Name="Line2" Align="baLeft" Left="0" Top="90.70866142" Width="234.33070866" Height="0" ShowHint="False" Frame.Style="fsDot" Diagonal="True"/>
      <TfrxMemoView Name="Memo7" Align="baLeft" Left="0" Top="98.26771654" Width="158.74026" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[SQL.&#34;Date&#34;] [Time]"/>
      <TfrxMemoView Name="Memo8" Align="baLeft" Left="0" Top="113.38582677" Width="234.33070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="NUMBER: [SQL.&#34;ID&#34;]"/>
      <TfrxMemoView Name="Memo9" Align="baLeft" Left="0" Top="128.50393701" Width="329.43018" Height="15.11811024" ShowHint="False" DataField="Note" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[SQL.&#34;Note&#34;]"/>
      <TfrxMemoView Name="Memo10" Align="baLeft" Left="0" Top="143.622047244094" Width="329.43018" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="NOME DE CLIENTE: [SQL.&#34;ContactName&#34;]"/>
      <TfrxLineView Name="Line3" Align="baLeft" Left="0" Top="162.70235" Width="234.33070866" Height="0" ShowHint="False" Frame.Style="fsDot" Diagonal="True"/>
      <TfrxLineView Name="Line4" Align="baLeft" Left="0" Top="165.90235" Width="234.33070866" Height="0" ShowHint="False" Frame.Style="fsDot" Diagonal="True"/>
      <TfrxMemoView Name="Memo12" Left="82.59055118" Top="170.07874016" Width="45.35433071" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="FINAL"/>
      <TfrxMemoView Name="Memo13" Left="132.72440945" Top="170.07874016" Width="41.31023866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="QTD"/>
      <TfrxMemoView Name="Memo14" Left="179.41732283" Top="170.07874016" Width="52.91338583" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TOTAL"/>
      <TfrxLineView Name="Line5" Align="baLeft" Left="0" Top="186.70235" Width="234.33070866" Height="0" ShowHint="False" Frame.Style="fsDot" Diagonal="True"/>
      <TfrxLineView Name="Line7" Align="baLeft" Left="0" Top="189.10235" Width="234.33070866" Height="0" ShowHint="False" Frame.Style="fsDot" Diagonal="True"/>
      <TfrxMemoView Name="Memo11" Left="0" Top="170.07885" Width="45.35433071" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="INITIAL"/>
      <TfrxMemoView Name="Memo27" Left="50.35436" Top="170.07885" Width="26.45668071" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DISC"/>
      <TfrxPictureView Name="Picture1" Left="3.77953" Top="7.55906" Width="26.45671" Height="71.81107" ShowHint="False" HightQuality="False"/>
    </TfrxReportTitle>
    <TfrxReportSummary Name="ReportSummary1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="219.09901" Left="0" ParentFont="False" Top="468.66172" Width="234.33086">
      <TfrxLineView Name="Line1" Left="0" Top="7" Width="234.33070866" Height="0" ShowHint="False" Frame.Color="8421504" Frame.Style="fsDashDotDot" Frame.Width="0.1" Diagonal="True"/>
      <TfrxLineView Name="Line6" Align="baLeft" Left="0" Top="66.70841" Width="234.33070866" Height="0" ShowHint="False" Frame.Color="8421504" Frame.Style="fsDot" Frame.Width="0.1" Diagonal="True"/>
      <TfrxMemoView Name="Memo19" Left="141.73225906" Top="10.50841" Width="90.70868583" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Qty&#34;&#62;*&#60;SQL.&#34;SellingPrice&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo20" Left="61.18423" Top="10.50841" Width="75.17480071" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TOTAL"/>
      <TfrxMemoView Name="Memo21" Align="baLeft" Left="0" Top="87.90841" Width="234.33070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="OBRIGADO"/>
      <TfrxMemoView Name="Memo2" Align="baLeft" Left="0" Top="69.90841" Width="234.33070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="OPERADOR: [SQL.&#34;Operator&#34;]"/>
      <TfrxMemoView Name="Memo22" Align="baLeft" Left="0" Top="103.90841" Width="234.33070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="VOLTE SEMPRE"/>
      <TfrxMemoView Name="Memo23" Align="baCenter" Left="3.77960567" Top="119.90841" Width="226.77164866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="  [Config.&#34;CompanyName&#34;] PRESENTE NAS 18 PROVINCIAS"/>
      <TfrxMemoView Name="Memo24" Align="baLeft" Left="0" Top="135.30841" Width="234.33070866" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="A QUALIDADE E NOSSA TRADICAO"/>
      <TfrxMemoView Name="Memo25" Left="217.6" Top="189.10841" Width="13.68825" Height="11.69765" ShowHint="False" Font.Charset="1" Font.Color="-16777201" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="."/>
      <TfrxMemoView Name="Memo29" Left="7.55906" Top="11.33859" Width="45.35433071" Height="13.22834646" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SUM(&#60;SQL.&#34;Qty&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo30" Left="141.02050906" Top="27.23624" Width="90.70868583" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Paid_Amount&#34;]"/>
      <TfrxMemoView Name="Memo31" Left="60.47248" Top="27.23624" Width="75.17480071" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="RECIBIDO"/>
      <TfrxMemoView Name="Memo32" Left="141.02050906" Top="42.35436" Width="90.70868583" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Amount_To_Return&#34;]"/>
      <TfrxMemoView Name="Memo33" Left="60.47248" Top="42.35436" Width="75.17480071" Height="15.11811024" ShowHint="False" DataSet="Config" DataSetName="Config" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="A DEVOLVER"/>
    </TfrxReportSummary>
    <TfrxMasterData Name="MasterData1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="26.45680276" Left="0" ParentFont="False" Top="287.24428" Width="234.33086" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo16" Left="82.59055118" Top="13.22834646" Width="45.35433071" Height="13.22834646" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SQL.&#34;SellingPrice&#34;]"/>
      <TfrxMemoView Name="Memo17" Left="132.72440945" Top="13.22834646" Width="41.57480071" Height="13.22834646" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SQL.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo18" Left="179.41732283" Top="13.22834646" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[&#60;SQL.&#34;SellingPrice&#34;&#62;*&#60;SQL.&#34;Qty&#34;&#62;]"/>
      <TfrxMemoView Name="Memo15" Left="0" Top="0" Width="233.07112" Height="13.22834646" ShowHint="False" StretchMode="smMaxHeight" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="&#60;[SQL.&#34;Code&#34;]&#62; [SQL.&#34;Name&#34;]"/>
      <TfrxMemoView Name="Memo26" Left="0" Top="13.2284563" Width="45.35433071" Height="13.22834646" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SQL.&#34;OfficePrice&#34;]"/>
      <TfrxMemoView Name="Memo28" Left="48.35436" Top="13.2284563" Width="30.23621071" Height="13.22834646" ShowHint="False" DataSet="Config" DataSetName="Config" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[-1*(100-(100*&#60;SQL.&#34;SellingPrice&#34;&#62;/&#60;SQL.&#34;OfficePrice&#34;&#62;))] %"/>
    </TfrxMasterData>
    <TfrxMasterData Name="MasterData4" Height="15.11811024" Left="0" Top="393.07112" Width="234.33086" ColumnWidth="0" ColumnGap="0" DataSet="InvociesPayments" DataSetName="InvociesPayments" RowCount="0">
      <TfrxMemoView Name="Memo35" Left="0" Top="0" Width="166.29919795" Height="15.11811024" ShowHint="False" DataField="AccountNumber" DataSet="InvociesPayments" DataSetName="InvociesPayments" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[InvociesPayments.&#34;AccountNumber&#34;]"/>
      <TfrxMemoView Name="Memo36" Left="170.94474031" Top="0" Width="60.47248" Height="15.11811024" ShowHint="False" DataSet="InvociesPayments" DataSetName="InvociesPayments" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[InvociesPayments.&#34;Amount&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header3" Height="34.01576024" Left="0" Top="336.37817" Width="234.33086">
      <TfrxMemoView Name="Memo37" Left="0" Top="11.33859" Width="94.48818898" Height="18.89764024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Courier New" Font.Style="5" ParentFont="False" Text="Pagamentos"/>
    </TfrxHeader>
  </TfrxReportPage>
</TfrxReport>
