<?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="39863.6152412384" ReportOptions.Description.Text="" ReportOptions.LastChange="44244.6349250463" ScriptLanguage="PascalScript" ScriptText.Text="procedure Picture1OnAfterData(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Page2OnAfterPrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;                                                                                                                                                          &#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupHeader2OnAfterPrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;                                             &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C3600000020446174615365743D22436F6D70616E79416464726573732220446174615365744E616D653D22436F6D70616E79416464726573732200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select * from dg_Sale where [date] between '2021-1-1' and '2021-1-31' order by TransactionTypeID,id                                                                                                                                                                                                              " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402240470546F7002780A506172616D65746572730100"/>
    <TfrxADODatabase Name="DB" LoginPrompt="False" PropData="05704C65667402240470546F700248"/>
    <TfrxADOQuery Name="CompanyAddress" UserName="CompanyAddress" CloseDataSource="True" FieldAliases.Text="" Master="SQL" IgnoreDupParams="False" SQL.Text="select * from CompanyAddress   Where ID = :InvoiceCompanyAddress                                                                                                                                                                                                                                                    " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403C8000470546F700380000A506172616D657465727301010C68000000204E616D653D22496E766F696365436F6D70616E7941646472657373222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B53514C2E262333343B436F6D70616E79416464726573734944262333343B262336323B220000"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM VwOrganization                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403C8000470546F7002480A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Original" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="15.11811024" Left="0" ParentFont="False" Top="280" Width="755.906" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo1" Left="0" Top="0" Width="30.23624" Height="15.1181102362205" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="[Line#]"/>
      <TfrxMemoView Name="SQLNIF_To_Display" Left="34.01577" Top="0" Width="64.25201" Height="15.1181102362205" ShowHint="False" DataField="NIF_To_Display" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;NIF_To_Display&#34;]"/>
      <TfrxMemoView Name="SQLAccount" Left="102.04731" Top="0" Width="226.7718" Height="15.11811024" ShowHint="False" DataField="Account" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;Account&#34;]"/>
      <TfrxMemoView Name="Memo2" Left="347.71676" Top="0" Width="60.47248" Height="15.11811024" ShowHint="False" DataField="Date" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Date&#34;]"/>
      <TfrxMemoView Name="SQLIVA_VAL" Left="572.79561" Top="0" Width="79.37013" Height="15.11811024" ShowHint="False" DataField="IVA_VAL" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;IVA_VAL&#34;]"/>
      <TfrxMemoView Name="SQLTotal" Left="671.06339" Top="0" Width="79.37013" Height="15.11811024" ShowHint="False" DataField="Total" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;Total&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="482.08689" Top="0" Width="79.37013" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;SQL.&#34;Total&#34;&#62;-&#60;SQL.&#34;IVA_VAL&#34;&#62;]"/>
      <TfrxMemoView Name="SQLFACTURA" Left="411.96877" Top="0" Width="64.25201" Height="15.1181102362205" ShowHint="False" DataField="FACTURA" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;FACTURA&#34;]"/>
    </TfrxMasterData>
    <TfrxReportTitle Name="ReportTitle1" Height="157.75602024" Left="0" Top="16" Width="755.906">
      <TfrxPictureView Name="PicLogo" Left="3.22047732" Top="2.55906" Width="96.1417152" Height="135.27551" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 39116 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo10" Align="baCenter" Left="5.66952689" Top="134.52744677" Width="744.56694622" Height="18.89764024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="LISTAGEM DAS VENDA E DEV. VEND"/>
      <TfrxRichView Name="Rich10" Left="113.3859" Top="41.57483" Width="279.68522" Height="64.25201" ShowHint="False" GapX="2" GapY="1" PropData="0852696368456469740AFD0000007B5C727466315C6662696469735C616E73695C616E7369637067313235365C64656666305C6465666C616E6731323238397B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430204D532053616E732053657269663B7D7D0D0A5C766965776B696E64345C7563315C706172645C6C74727061725C625C66305C66733230205B4F7267616E69736174696F6E2E224E616D65225D5C7061720D0A5C62305C66733136204E49462E3A205B4F7267616E69736174696F6E2E22436F6E7472696275696E7465225D5C7061720D0A5C62205B4F7267616E69736174696F6E2E22526567696D655F495641225D5C62305C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="Memo5" Left="449.98454" Top="26.45671" Width="257.00804" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo18" Left="449.98454" Top="52.91342" Width="257.00804" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="&#60;SQL.&#34;ToDate&#34;&#62;"/>
      <TfrxMemoView Name="Memo19" Left="370.39394" Top="26.45671" Width="71.81107" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="De"/>
      <TfrxMemoView Name="Memo20" Left="370.39394" Top="52.91342" Width="71.81107" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Ate"/>
    </TfrxReportTitle>
    <TfrxGroupHeader Name="GroupHeader1" Height="68.03154" Left="0" Top="192" Width="755.906" Condition="SQL.&#34;TransactionTypeID&#34;">
      <TfrxMemoView Name="SQLSaleType" Left="0" Top="7.55906" Width="207.87415" Height="15.11811024" ShowHint="False" DataField="SaleType" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;SaleType&#34;]"/>
      <TfrxMemoView Name="Memo16" Left="0" Top="33.03154" Width="755.906" Height="34.01576024" ShowHint="False" Color="15790320" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="5" Frame.Color="8421504" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo7" Left="0" Top="41.57483" Width="30.23624" Height="15.11811024" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="NUM"/>
      <TfrxMemoView Name="Memo8" Left="34.01577" Top="41.57483" Width="64.25201" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="NIF"/>
      <TfrxMemoView Name="Memo9" Left="102.04731" Top="41.57483" Width="162.51979" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="CLIENTE"/>
      <TfrxMemoView Name="Memo11" Left="347.71676" Top="41.57483" Width="60.47248" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="DATA"/>
      <TfrxMemoView Name="Memo12" Left="572.79561" Top="41.57483" Width="79.37013" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="IVA"/>
      <TfrxMemoView Name="Memo13" Left="671.06339" Top="41.57483" Width="79.37013" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL"/>
      <TfrxMemoView Name="Memo14" Left="482.08689" Top="41.57483" Width="79.37013" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="VALOR"/>
      <TfrxMemoView Name="Memo15" Left="411.96877" Top="41.57483" Width="64.25201" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="REF"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Height="37.7953" Left="0" Top="316" Width="755.906">
      <TfrxMemoView Name="Memo4" Left="573.70903" Top="3.77953" Width="79.37013" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;IVA_VAL&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo6" Left="483.00031" Top="3.77953" Width="79.37013" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;SQL.&#34;Total&#34;&#62;-&#60;SQL.&#34;IVA_VAL&#34;&#62;]"/>
      <TfrxMemoView Name="Memo17" Left="665.19728" Top="3.77953" Width="86.92919" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;Total&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
