﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/31/2022 11:57:44" ReportInfo.Modified="02/14/2023 17:07:34" ReportInfo.CreatorVersion="2021.4.3.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {
  }
}
/*
{

}
*/</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="ADODatabase" ConnectionString="rijcmlqJUrEa/KIcQqhhcfnlqC6PHTn0L44W7TQfS6RmUJOGDIuc+knUePlrDTYQkz8WhBiLeyYgzGsg8K0w/wV+uVJpRb9DC+IFtFJ1Ya+wGL6sGP+LlGmWCsZftl80X1OZU2OLg7Xmxnkp41Wl7LrNJHJ83vvlYpsJ+6DtFdt82j1thRJJ4BPMOXXQ/VznxXbVK4wYXEfc/GT9jRWt/AYscmVrEJOp4AS6pfF/zabOfAeUxnPCFZuNTTYf/Anqida2Bnq4wWsjYQk+bW2BLfUXiq65uF50V779GQRASHenAhYUkWSzDbA55v76C9I5KXmHcVFOiKZ+crBw0xzYGCLy1zA+5u2EhK1ncHnju8fsDtQSCKHPF/gcZOsPDlVLbNE0mfQthSkUwe+rOWG2wRpE+KPod4Fcxq3gunpXyR6lKHmlhZCpEl+DhWx7PfMSbDazPY+COK+/qGCXHLZyacBrpvSmak7r6CzLPw4+h0pwFa+tzSii0Zv9DN8UEf7Wbq03UkBiyGMlaM3mpkAwbcbFlMcfoVkaKlOuSDBdv7Zmh9anZplloQRffHv2Tv2GkEp72wdqH/k4XVmDCpyw2JLs0oHt2xIq29iX3qXEUhQeNJBjOCsK4r0Uq7hFWmN6TQWZjgt1f9NJIeYa/NMw/ilsJ2GfA==">
      <TableDataSource Name="RepPosStatistics_Report" DataType="System.Int32" Enabled="true" TableName="RepPosStatistics_Report" SelectCommand="exec mnrRepPosStatistics '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '1-1-2022 08:00:00' , '2-14-2023 23:59:00' , '08:00:00' , '23:59:00' , '{452D9B5F-1CC9-4407-B937-7ACB53469411}'">
        <Column Name="StationID" DataType="System.Guid"/>
        <Column Name="StationName" DataType="System.String"/>
        <Column Name="BillCount" DataType="System.Int32"/>
        <Column Name="CashBillSum" DataType="System.Double"/>
        <Column Name="CreditBillSum" DataType="System.Double"/>
        <Column Name="MatCount" DataType="System.Int32"/>
        <Column Name="MatSum" DataType="System.Double"/>
        <Column Name="MostSellDay" DataType="System.String"/>
        <Column Name="MostCustArMov" DataType="System.String"/>
        <Column Name="MostCustLatinMov" DataType="System.String"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{452D9B5F-1CC9-4407-B937-7ACB53469411}&quot;"/>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;01/01/2022 08:00:00&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;14/02/2023 23:59:00&quot;"/>
    <Parameter Name="fTime" DataType="System.String" Expression="&quot;08:00:00&quot;"/>
    <Parameter Name="tTime" DataType="System.String" Expression="&quot;23:59:00&quot;"/>
    <Parameter Name="ShowNumOfBill" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="ShowAllBillCash" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="ShowAllBillCredit" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="ShowMatNum" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="ShowAllMat" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="ShowMostCustMov" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="CurrencyID" DataType="System.String" Expression="&quot;{5B1F9CA5-11FC-42cf-B5FF-70D8449C3EF4}&quot;"/>
    <Parameter Name="StationID" DataType="System.String" Expression="&quot;{00000000-0000-0000-0000-000000000000}&quot;"/>
    <Parameter Name="StationName" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="CurrName" DataType="System.String" Expression="&quot;دولار أمريكي&quot;"/>
  </Dictionary>
  <ReportPage Name="Page1" LeftMargin="3" TopMargin="3" RightMargin="3" BottomMargin="3" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="771.12" Height="245.67">
      <PictureObject Name="company_logo" Left="7.56" Width="755.91" Height="124.72" Fill.Color="White" Image=""/>
      <TextObject Name="Memo18" Left="7.56" Top="124.72" Width="755.91" Height="26.46" Text="إحصائيات نقطة البيع" Padding="2, 1, 2, 1" HorzAlign="Center" Font="Times New Roman, 14pt, style=Bold"/>
      <TextObject Name="Memo19" Left="699.21" Top="177.64" Width="64.25" Height="18.9" Text="اعتبارا من : " Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo20" Left="589.61" Top="177.64" Width="109.61" Height="18.9" Text="   [FromDate]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo21" Left="548.03" Top="177.64" Width="41.57" Height="18.9" Text="ولغاية : " Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo22" Left="438.43" Top="177.64" Width="109.61" Height="18.9" Text="   [ToDate]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo23" Left="733.23" Top="204.09" Width="30.24" Height="18.9" Text="من :" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo24" Left="559.37" Top="204.09" Width="30.24" Height="18.9" Text="إلى :" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo25" Left="438.43" Top="207.87" Width="109.61" Height="18.9" Text="[tTime]" Padding="2, 1, 2, 1" Format="Time" Format.Format="t" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo26" Left="600.95" Top="207.87" Width="109.61" Height="18.9" Text="[fTime]" Padding="2, 1, 2, 1" Format="Time" Format.Format="t" HorzAlign="Right" Font="Times New Roman, 10pt"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader1" Top="249.67" Width="771.12" Height="29.68">
      <TextObject Name="Memo2" Left="721.89" Top="-2.45" Width="49.13" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="الرقم" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo3" Left="627.4" Top="-2.45" Width="94.49" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="اسم المحطة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo4" Left="532.91" Top="-2.45" Width="94.49" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="عدد الفواتير" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo5" Left="321.26" Top="-2.45" Width="105.83" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="مجموع الفواتير الآجلة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo6" Left="427.09" Top="-2.45" Width="105.83" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="مجموع الفواتير النقدية" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo7" Left="207.87" Top="-2.45" Width="113.39" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="عدد الفواتير التي تم بيعها" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo8" Left="86.93" Top="-2.45" Width="120.94" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="مجموع المواد التي تم بيعها " Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo9" Top="-2.45" Width="86.93" Height="32.13" Border.Lines="All" Fill.Color="186, 211, 254" Text="أكثر الزبائن حركة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
    </PageHeaderBand>
    <DataBand Name="MasterData1" Top="283.35" Width="771.12" Height="22.68" DataSource="RepPosStatistics_Report">
      <TextObject Name="Memo10" Left="721.89" Width="49.13" Height="22.68" Border.Lines="All" Text="[Row#]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo11" Left="627.4" Width="94.49" Height="22.68" Border.Lines="All" Text="[RepPosStatistics_Report.StationName]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo12" Left="532.91" Width="94.49" Height="22.68" Border.Lines="All" Text="[IIf([ShowNumOfBill]==&quot;1&quot;,[RepPosStatistics_Report.BillCount],&quot; &quot;)]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo13" Left="321.26" Width="105.83" Height="22.68" Border.Lines="All" Text="[IIf([ShowAllBillCredit]==&quot;1&quot;,[RepPosStatistics_Report.CreditBillSum],&quot; &quot;)]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo14" Left="427.09" Width="105.83" Height="22.68" Border.Lines="All" Text="[IIf([ShowAllBillCash]==&quot;1&quot;,[RepPosStatistics_Report.CashBillSum],&quot; &quot;)]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo15" Left="207.87" Width="113.39" Height="22.68" Border.Lines="All" Text="[IIf([ShowMatNum]==&quot;1&quot;,[RepPosStatistics_Report.MatCount],&quot; &quot;)]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo16" Left="86.93" Width="120.94" Height="22.68" Border.Lines="All" Text="[IIf([ShowAllMat]==&quot;1&quot;,[RepPosStatistics_Report.MatSum],&quot; &quot;)]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo17" Width="86.93" Height="22.68" Border.Lines="All" Text="[IIf([ShowMostCustMov]==&quot;1&quot;,[RepPosStatistics_Report.MostCustArMov],&quot; &quot;)]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="310.03" Width="771.12" Height="39.76">
      <TextObject Name="Memo1" Left="693.37" Width="75.59" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo29" Left="73.83" Width="83.15" Height="15.12" Text="[Date]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo31" Left="14.57" Width="56.69" Height="15.12" Text="Printed on:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt"/>
      <TextObject Name="Memo32" Left="163.32" Width="30.24" Height="15.12" Text="Time:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt"/>
      <TextObject Name="Memo33" Left="196.33" Width="56.69" Height="15.12" Text="[Date]" Padding="2, 1, 2, 1" Format="Time" Format.Format="t" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo34" Left="656.71" Top="26.42" Width="185.17" Height="13.34" Border.Lines="All" Border.Color="White" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold" TextFill.Color="Blue"/>
    </PageFooterBand>
  </ReportPage>
</Report>
