<?xml version="1.0" encoding="utf-8"?>
<Report ReportInfo.Created="10/04/2011 13:46:32" ReportInfo.Modified="09/11/2015 14:10:52" ReportInfo.CreatorVersion="1.2.47.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>
    <TableDataSource Name="Logo" ReferenceName="Logo.Logo" DataType="System.Int32" Enabled="true">
      <Column Name="ImageLogo" DataType="System.Drawing.Image, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" BindableControl="Picture"/>
    </TableDataSource>
    <TableDataSource Name="CustomerGardeshModel" ReferenceName="MasterData.CustomerGardeshModel" DataType="System.Int32" Enabled="true">
      <Column Name="GCustomerID" DataType="System.String"/>
      <Column Name="GSanadID" DataType="System.String"/>
      <Column Name="GOperID" DataType="System.String"/>
      <Column Name="OperKind" DataType="System.String"/>
      <Column Name="OperKindName" DataType="System.String"/>
      <Column Name="OperNo" DataType="System.String"/>
      <Column Name="OperDesc" DataType="System.String"/>
      <Column Name="SanadNo" DataType="System.String"/>
      <Column Name="SanadDate" DataType="System.String"/>
      <Column Name="Description" DataType="System.String"/>
      <Column Name="OperDescription" DataType="System.String"/>
      <Column Name="Debit" DataType="System.String"/>
      <Column Name="Credit" DataType="System.String"/>
      <Column Name="Remain" DataType="System.String"/>
      <Column Name="Tash" DataType="System.String"/>
      <Column Name="SumDisCount" DataType="System.String"/>
      <Column Name="SumOtherCost" DataType="System.String"/>
      <Column Name="Quantity" DataType="System.String"/>
      <Column Name="UnitPrice" DataType="System.String"/>
    </TableDataSource>
    <TableDataSource Name="TblCustomerModel" ReferenceName="DetailData.TblCustomerModel" DataType="System.Int32" Enabled="true">
      <Column Name="GCompanyID" DataType="System.String"/>
      <Column Name="GCreatedBy" DataType="System.String"/>
      <Column Name="CreatedDate" DataType="System.String"/>
      <Column Name="GLastUpdatedBy" DataType="System.String"/>
      <Column Name="LastUpdatedDate" DataType="System.String"/>
      <Column Name="GOkBy" DataType="System.String"/>
      <Column Name="GCustomerID" DataType="System.String"/>
      <Column Name="CustomerID" DataType="System.String"/>
      <Column Name="CustNo" DataType="System.String"/>
      <Column Name="PreName" DataType="System.String"/>
      <Column Name="CustName" DataType="System.String"/>
      <Column Name="Address" DataType="System.String"/>
      <Column Name="Phone" DataType="System.String"/>
      <Column Name="Mobile" DataType="System.String"/>
      <Column Name="FaxNo" DataType="System.String"/>
      <Column Name="GSubDetailID" DataType="System.String"/>
      <Column Name="SubDetailID" DataType="System.String"/>
      <Column Name="Status" DataType="System.String"/>
      <Column Name="SaleStatus" DataType="System.String"/>
      <Column Name="EshterakNo" DataType="System.String"/>
      <Column Name="Credit" DataType="System.String"/>
      <Column Name="CompanyName" DataType="System.String"/>
      <Column Name="EconomNo" DataType="System.String"/>
      <Column Name="RegistNo" DataType="System.String"/>
      <Column Name="PostCode" DataType="System.String"/>
      <Column Name="GProvinceID" DataType="System.String"/>
      <Column Name="ProvinceID" DataType="System.String"/>
      <Column Name="ProvinceName" DataType="System.String"/>
      <Column Name="GCityID" DataType="System.String"/>
      <Column Name="CityID" DataType="System.String"/>
      <Column Name="CityNameFarsi" DataType="System.String"/>
      <Column Name="Email" DataType="System.String"/>
      <Column Name="WebSite" DataType="System.String"/>
      <Column Name="CustDesc" DataType="System.String"/>
      <Column Name="CityTelCode" DataType="System.String"/>
      <Column Name="CreditChkd" DataType="System.String"/>
      <Column Name="Semat" DataType="System.String"/>
      <Column Name="UserCount" DataType="System.String"/>
      <Column Name="CallStatus" DataType="System.String"/>
      <Column Name="Ranking" DataType="System.String"/>
      <Column Name="CallWithEmailSend" DataType="System.String"/>
      <Column Name="CallWithTel" DataType="System.String"/>
      <Column Name="CallWithFax" DataType="System.String"/>
      <Column Name="CallWithLetter" DataType="System.String"/>
      <Column Name="GCrmIndustryID" DataType="System.String"/>
      <Column Name="CrmIndustryID" DataType="System.String"/>
      <Column Name="CrmIndustryTitle" DataType="System.String"/>
      <Column Name="CustTypeCode" DataType="System.String"/>
      <Column Name="CreatedBy" DataType="System.String"/>
      <Column Name="LastUpdatedBy" DataType="System.String"/>
      <Column Name="Select" DataType="System.String"/>
      <Column Name="CityName" DataType="System.String"/>
      <Column Name="GKnowModeID" DataType="System.String"/>
      <Column Name="KnowModeID" DataType="System.String"/>
      <Column Name="GCampainID" DataType="System.String"/>
      <Column Name="CampainID" DataType="System.String"/>
      <Column Name="NationalID" DataType="System.String"/>
      <Column Name="GEshterakTypeID" DataType="System.String"/>
      <Column Name="EshterakTypeName" DataType="System.String"/>
      <Column Name="GRouteID" DataType="System.String"/>
      <Column Name="GAreaGeoghrafiID" DataType="System.String"/>
    </TableDataSource>
    <Parameter Name="ReportDate" DataType="System.String"/>
    <Parameter Name="FromDate" DataType="System.String"/>
    <Parameter Name="ToDate" DataType="System.String"/>
    <Parameter Name="CustName" DataType="System.String"/>
    <Parameter Name="نام شرکت" DataType="System.String"/>
    <Parameter Name="تاریخ چاپ" DataType="System.String"/>
    <Parameter Name="تلفن شرکت" DataType="System.String"/>
    <Parameter Name="آدرس شرکت" DataType="System.String"/>
    <Parameter Name="فکس شرکت" DataType="System.String"/>
    <Parameter Name="نام مدیر" DataType="System.String"/>
    <Total Name="PageDebit" Expression="ToDecimal([CustomerGardeshModel.Debit])" Evaluator="Data1" PrintOn="PageFooter1" ResetOnReprint="true"/>
    <Total Name="PageCredit" Expression="ToDecimal([CustomerGardeshModel.Credit])" Evaluator="Data1" PrintOn="PageFooter1" ResetOnReprint="true"/>
    <Total Name="TotalDebit" Expression="ToDecimal([CustomerGardeshModel.Debit])" Evaluator="Data1" PrintOn="PageFooter1" ResetAfterPrint="false"/>
    <Total Name="TotalCredit" Expression="ToDecimal([CustomerGardeshModel.Credit])" Evaluator="Data1" PrintOn="PageFooter1" ResetAfterPrint="false"/>
  </Dictionary>
  <ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="7.5" TopMargin="5" RightMargin="5" BottomMargin="5">
    <PageHeaderBand Name="PageHeader1" Width="1075.41" Height="132.3">
      <ShapeObject Name="Shape1" Width="1086.75" Height="94.5" Border.Width="2"/>
      <TextObject Name="Text2" Left="992.25" Top="103.95" Width="85.05" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="نوع عملیات" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text8" Left="491.4" Top="103.95" Width="283.5" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="جزئیات" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text17" Left="774.9" Top="103.95" Width="141.75" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="شرح" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text6" Left="916.65" Top="103.95" Width="75.6" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="تاریخ" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text18" Left="236.25" Top="103.95" Width="103.95" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="بدهکار" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text19" Left="28.35" Top="103.95" Width="103.95" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="مانده" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text20" Left="132.3" Top="103.95" Width="103.95" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="بستانکار" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text24" Top="103.95" Width="28.35" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="تش" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Text9" Left="415.8" Top="37.8" Width="245.7" Height="18.9" Text="گردش صورت حساب مشتری" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 14pt, style=Bold"/>
      <TextObject Name="Text10" Left="888.3" Top="28.35" Width="94.5" Height="18.9" Text="[FromDate]" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt"/>
      <TextObject Name="Text11" Left="888.3" Top="47.25" Width="94.5" Height="18.9" Text="[ToDate]" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt"/>
      <TextObject Name="Text12" Left="567" Top="66.15" Width="415.8" Height="18.9" Text="[CustName]" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt"/>
      <TextObject Name="Text13" Left="982.8" Top="66.15" Width="75.6" Height="18.9" Text="صورتحساب: " HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text14" Left="982.8" Top="28.35" Width="75.6" Height="18.9" Text="از تاریخ:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text15" Left="982.8" Top="47.25" Width="75.6" Height="18.9" Text="تا تاریخ:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text3" Left="151.2" Top="66.15" Width="132.3" Height="18.9" Text="صفحه [Page#] از [TotalPages#]" HorzAlign="Center" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text4" Left="302.4" Top="9.45" Width="481.95" Height="28.35" Text="[نام شرکت]" HorzAlign="Center" VertAlign="Center" Font="Arial, 14pt, style=Bold"/>
      <TextObject Name="Text47" Left="415.8" Top="103.95" Width="75.6" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="جمع اضافات" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Text48" Left="340.2" Top="103.95" Width="75.6" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="جمع کسور" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Text53" Left="151.2" Top="47.25" Width="132.3" Height="18.9" Text="[تاریخ چاپ]" HorzAlign="Center" VertAlign="Center" RightToLeft="true"/>
      <PictureObject Name="Picture1" Left="28.35" Top="9.45" Width="75.6" Height="75.6" DataColumn="Logo.ImageLogo"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="136.3" Width="1075.41" Height="28.35" CanGrow="true" DataSource="CustomerGardeshModel">
      <TextObject Name="Text1" Left="992.25" Width="85.05" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.OperKindName]" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text5" Left="916.65" Width="75.6" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.SanadDate]" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text7" Left="491.4" Width="283.5" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.OperDescription]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text16" Left="774.9" Width="141.75" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.Description]" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text21" Left="236.25" Width="103.95" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[ToDecimal([CustomerGardeshModel.Debit])]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text22" Left="132.3" Width="103.95" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[ToDecimal([CustomerGardeshModel.Credit])]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text23" Left="28.35" Width="103.95" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[ToDecimal([CustomerGardeshModel.Remain])]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text25" Width="28.35" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.Tash]" HorzAlign="Center" VertAlign="Center"/>
      <TextObject Name="Text49" Left="415.8" Width="75.6" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.SumOtherCost]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text50" Left="340.2" Width="75.6" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" CanBreak="false" Text="[CustomerGardeshModel.SumDisCount]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="168.65" Width="1075.41" Height="94.5">
      <TextObject Name="Text28" Left="463.05" Top="66.15" Width="614.25" Height="28.35" Border.Lines="All" CanBreak="false" Text="جمع تا این صفحه" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text30" Left="321.3" Top="66.15" Width="141.75" Height="28.35" Border.Lines="Right, Top, Bottom" CanBreak="false" Text="[TotalDebit]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt"/>
      <TextObject Name="Text31" Left="179.55" Top="66.15" Width="141.75" Height="28.35" Border.Lines="Right, Top, Bottom" CanBreak="false" Text="[TotalCredit]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt"/>
      <TextObject Name="Text32" Left="37.8" Top="66.15" Width="141.75" Height="28.35" Border.Lines="Right, Top, Bottom" CanBreak="false" Text="[[TotalDebit]-[TotalCredit]]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt"/>
      <TextObject Name="Text33" Top="66.15" Width="37.8" Height="28.35" Border.Lines="All" CanBreak="false" Text="[IIf([TotalDebit]-[TotalCredit] &lt; 0 ,&quot;بس&quot;,&quot;بد&quot;)]" HorzAlign="Center" VertAlign="Center"/>
      <TextObject Name="Text36" Left="463.05" Top="37.8" Width="614.25" Height="28.35" Border.Lines="All" CanBreak="false" Text="جمع این صفحه" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt, style=Bold"/>
      <TextObject Name="Text38" Left="321.3" Top="37.8" Width="141.75" Height="28.35" Border.Lines="Right, Top, Bottom" CanBreak="false" Text="[PageDebit]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt"/>
      <TextObject Name="Text39" Left="179.55" Top="37.8" Width="141.75" Height="28.35" Border.Lines="Right, Top, Bottom" CanBreak="false" Text="[PageCredit]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt"/>
      <TextObject Name="Text40" Left="37.8" Top="37.8" Width="141.75" Height="28.35" Border.Lines="Right, Top, Bottom" CanBreak="false" Text="[[PageDebit]  - [PageCredit]]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 12pt"/>
      <TextObject Name="Text41" Top="37.8" Width="37.8" Height="28.35" Border.Lines="All" CanBreak="false" Text="[IIf([PageDebit]-[PageCredit] &lt; 0 ,&quot;بس&quot;,&quot;بد&quot;)]" HorzAlign="Center" VertAlign="Center"/>
      <TextObject Name="Text42" Left="463.05" Top="9.45" Width="614.25" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="شرح" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text43" Left="321.3" Top="9.45" Width="141.75" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="بدهکار" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text44" Left="37.8" Top="9.45" Width="141.75" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="مانده" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text45" Left="179.55" Top="9.45" Width="141.75" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="بستانکار" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text46" Top="9.45" Width="37.8" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="تش" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
    </PageFooterBand>
  </ReportPage>
</Report>
