<?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="42320,4546224306" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;  &#13;&#10;begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADODatabase Name="DB" LoginPrompt="False" PropData="05704C65667402230470546F700221"/>
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select YEAR(date)As [Year],MONTH(date) as [Month], SUM(qty*(FinalPrice-Cost))/100 AS TotalGrossProfit,100*(SUM(qty*(  FinalPrice-Cost))/SUM( qty*FinalPrice)) As Ratio from VwRelatorioDeVenda where Date between '2013-1-1' and '2013-3-2' group by YEAR(date),MONTH(date) order by YEAR(date),MONTH(date)                                                                         " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402530470546F7002210A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C6566740384000470546F7002210A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" Height="41,57483" Left="0" Top="313,70099" Width="755,906">
      <TfrxMemoView Name="Memo1" Align="baCenter" Left="230,551348305" Top="18,09765" Width="294,80330339" Height="15,91811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="PAGE [Page#] OF [TotalPages#]"/>
      <TfrxMemoView Name="Memo7" Align="baRight" Left="480,00034661" Top="6,86815091" Width="275,90565339" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-8" Font.Name="Courier New" Font.Style="2" HAlign="haRight" ParentFont="False" Text="THE MASTER SOLUTION [Date]  [Time]"/>
      <TfrxLineView Name="Line1" Left="0" Top="0" Width="302,3624" Height="0" ShowHint="False" Frame.Color="8421504" Diagonal="True"/>
      <TfrxMemoView Name="Memo37" Left="0" Top="7,55906" Width="325,89528774" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="DESENVOLVIDO COM THE MASTER - info@ridleys.co.ao - 925489228"/>
    </TfrxPageFooter>
    <TfrxReportTitle Name="ReportTitle1" Height="153,40167" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo8" Left="0" Top="126,94496" Width="355,27577118" Height="26,45671" ShowHint="False" Color="-16777201" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="5" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxPictureView Name="PicLogo" Left="4,2" Top="1,91812" Width="77,92223472" Height="100,85219524" ShowHint="False" Center="True" DataField="Logo" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo16" Align="baCenter" Left="190,122263635" Top="50,59257905" Width="375,66147273" Height="25,37483" ShowHint="False" Font.Charset="1" Font.Color="2105376" Font.Height="-16" Font.Name="Courier New" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="MONTHLY GROSS PROFIT"/>
      <TfrxMemoView Name="Memo3" Left="0" Top="132,28346457" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="YEAR"/>
      <TfrxMemoView Name="Memo4" Left="79,37007874" Top="132,28346457" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="MONTH"/>
      <TfrxMemoView Name="Memo5" Left="158,74015748" Top="132,28346457" Width="113,38582677" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PROFIT"/>
      <TfrxMemoView Name="Memo6" Left="275,90551181" Top="132,28346457" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="RATIO"/>
      <TfrxMemoView Name="Memo9" Left="627,40198" Top="15,11812" Width="113,3859" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="dd/MM/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo10" Left="627,40198" Top="41,57483" Width="113,3859" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="dd/MM/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="544,25232" Top="15,11812" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="FROM"/>
      <TfrxMemoView Name="Memo12" Left="544,25232" Top="41,57483" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="TO"/>
      <TfrxMemoView Name="Memo13" Left="404,40971" Top="68,81107" Width="68,03149118" Height="15,11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="32768" Font.Height="-11" Font.Name="Arial" Font.Style="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Currency&#34;]"/>
    </TfrxReportTitle>
    <TfrxMasterData Name="MasterData1" Height="18,89765" Left="0" Top="234,33086" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="Year" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Year&#34;]"/>
      <TfrxMemoView Name="SQLMonth" Left="79,37007874" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="Month" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Month&#34;]"/>
      <TfrxMemoView Name="SQLTotalGrossProfit" Left="158,74015748" Top="0" Width="113,38582677" Height="18,89765" ShowHint="False" DataField="TotalGrossProfit" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="32768" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;TotalGrossProfit&#34;]"/>
      <TfrxMemoView Name="SQLRatio" Left="275,90551181" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Ratio&#34;] %"/>
    </TfrxMasterData>
  </TfrxReportPage>
</TfrxReport>
