<?xml version="1.0" encoding="utf-8"?>
<Report ReportInfo.Created="11/01/2015 11:44:17" ReportInfo.Modified="11/03/2015 10:42:37" 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
  {
    static string SanadNo = &quot;&quot;;
    private void Data1_BeforePrint(object sender, EventArgs e)
    {
      if (((String)Report.GetColumnValue(&quot;tblDafRooz.AccountName&quot;)) == &quot;&quot;)
      {
        SanadNo = &quot;&quot;;
        txtMah.Text = &quot;&quot;;
        txtRooz.Text = &quot;&quot;;
        txtSanadNo.Text = &quot;&quot;;
        Line1.Visible = false;
        Line2.Visible = false;
      }
      else if(SanadNo != ((String)Report.GetColumnValue(&quot;tblDafRooz.DocNo&quot;)))
      {
          SanadNo = ((String)Report.GetColumnValue(&quot;tblDafRooz.DocNo&quot;));
          txtMah.Text = ((String)Report.GetColumnValue(&quot;tblDafRooz.DocDate&quot;)).Substring(5,2);
          txtRooz.Text = ((String)Report.GetColumnValue(&quot;tblDafRooz.DocDate&quot;)).Substring(8,2);
          txtSanadNo.Text = (decimal.Parse(&quot;0&quot; + SanadNo)).ToString();
          Line1.Visible = true; 
          Line2.Visible = true;
      }
      else
      {
        txtMah.Text = &quot; &quot;;
        txtRooz.Text = &quot; &quot;;
        txtSanadNo.Text = &quot; &quot;; 
        Line1.Visible = true;  
        Line2.Visible = true;
      }
    }
  }
}
</ScriptText>
  <Dictionary>
    <TableDataSource Name="tblDafRooz" ReferenceName="MasterData.tblDafRooz" DataType="System.Int32" Enabled="true">
      <Column Name="RowNo" DataType="System.Int32"/>
      <Column Name="DocDate" DataType="System.String"/>
      <Column Name="DocType" DataType="System.String"/>
      <Column Name="DocNo" DataType="System.String"/>
      <Column Name="AccountCode" DataType="System.String"/>
      <Column Name="DocNote" DataType="System.String"/>
      <Column Name="PriceType" DataType="System.Byte"/>
      <Column Name="DocDebit" DataType="System.Double"/>
      <Column Name="DocCredit" DataType="System.Double"/>
      <Column Name="AccountName" DataType="System.String"/>
      <Column Name="TafzilCode4" DataType="System.String"/>
      <Column Name="TafzilName4" DataType="System.String"/>
      <Column Name="TafzilCode5" DataType="System.String"/>
      <Column Name="TafzilName5" DataType="System.String"/>
      <Column Name="TafzilCode6" DataType="System.String"/>
      <Column Name="TafzilName6" DataType="System.String"/>
      <Column Name="GSanadID" DataType="System.Guid"/>
      <Column Name="KolAccountCode" DataType="System.String"/>
      <Column Name="KolAccountName" DataType="System.String"/>
    </TableDataSource>
    <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>
    <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"/>
    <Parameter Name="از تاریخ" DataType="System.String"/>
    <Parameter Name="تا تاریخ" DataType="System.String"/>
    <Parameter Name="FirstDebit" DataType="System.String"/>
    <Parameter Name="FirstCredit" DataType="System.String"/>
    <Total Name="TotalDebit" Expression="[tblDafRooz.DocDebit]" Evaluator="Data1" IncludeInvisibleRows="true"/>
    <Total Name="TotalCredit" Expression="[tblDafRooz.DocCredit]" Evaluator="Data1" IncludeInvisibleRows="true"/>
  </Dictionary>
  <ReportPage Name="Page1" LeftMargin="2.5" TopMargin="2.5" RightMargin="2.5" BottomMargin="2.5">
    <PageHeaderBand Name="PageHeader1" Width="774.9" Height="160.65">
      <ShapeObject Name="Shape1" Width="774.9" Height="56.7"/>
      <TextObject Name="Text1" Left="283.5" Width="217.35" Height="56.7" Text="دفتر روزنامه" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 20pt"/>
      <ShapeObject Name="Shape2" Left="18.9" Top="9.45" Width="37.8" Height="37.8" Border.Width="2" Shape="Ellipse"/>
      <TextObject Name="Text2" Left="18.9" Top="9.45" Width="37.8" Height="37.8" Text="[Page#]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Zar, 18pt"/>
      <TextObject Name="Text3" Left="680.4" Top="28.35" Width="94.5" Height="18.9" Text="حساب" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 10pt, style=Bold"/>
      <TextObject Name="Text4" Left="746.55" Top="66.15" Width="28.35" Height="56.7" Border.Lines="All" Text="شماره ردیف" HorzAlign="Center" VertAlign="Center" Angle="270" RightToLeft="true" Font="B Nazanin, 10pt"/>
      <TextObject Name="Text5" Left="718.2" Top="94.5" Width="28.35" Height="28.35" Border.Lines="All" Text="روز" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 10pt"/>
      <TextObject Name="Text6" Left="689.85" Top="94.5" Width="28.35" Height="28.35" Border.Lines="All" Text="ماه" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 10pt"/>
      <TextObject Name="Text7" Left="689.85" Top="66.15" Width="56.7" Height="28.35" Border.Lines="All" Text="تاریخ" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 14pt"/>
      <TextObject Name="Text8" Left="661.5" Top="66.15" Width="28.35" Height="56.7" Border.Lines="All" Text="شماره دفتر کل" HorzAlign="Center" VertAlign="Center" Angle="270" RightToLeft="true" Font="B Nazanin, 8pt"/>
      <TextObject Name="Text9" Left="292.95" Top="66.15" Width="368.55" Height="56.7" Border.Lines="All" Text="شرح" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 28pt, style=Bold"/>
      <TextObject Name="Text10" Top="66.15" Width="132.3" Height="56.7" Border.Lines="All" Text="بستانکار (ریال)" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 16pt, style=Bold"/>
      <TextObject Name="Text11" Left="134.3" Top="66.15" Width="132.3" Height="56.7" Border.Lines="All" Text="بدهکار (ریال)" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 16pt, style=Bold"/>
      <TextObject Name="Text12" Left="266.6" Top="66.15" Width="26.35" Height="56.7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Angle="270" RightToLeft="true" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text13" Left="266.6" Top="122.85" Width="26.35" Height="37.8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text14" Left="292.95" Top="122.85" Width="368.55" Height="37.8" Border.Lines="All" Text="منقول از صفحه ......" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text15" Left="746.55" Top="122.85" Width="28.35" Height="37.8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Angle="270" RightToLeft="true" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text16" Left="718.2" Top="122.85" Width="28.35" Height="37.8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text17" Left="689.85" Top="122.85" Width="28.35" Height="37.8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text18" Left="661.5" Top="122.85" Width="28.35" Height="37.8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Angle="270" RightToLeft="true" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text21" Top="122.85" Width="132.3" Height="37.8" Border.Lines="All" Text="[ToDecimal([FirstCredit])+[TotalCredit]]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Zar, 12pt, style=Bold"/>
      <TextObject Name="Text22" Left="134.3" Top="122.85" Width="132.3" Height="37.8" Border.Lines="All" Text="[ToDecimal([FirstDebit])+[TotalDebit]]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Zar, 12pt, style=Bold"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="164.65" Width="774.9" Height="32.13" CanGrow="true" CanShrink="true" BeforePrintEvent="Data1_BeforePrint" DataSource="tblDafRooz" Filter="[tblDafRooz.AccountName]!=&quot;&quot;">
      <TextObject Name="Text23" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),0,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text24" Left="9.45" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.LeftLine.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),1,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text37" Left="134.3" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),0,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text38" Left="143.75" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.LeftLine.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),1,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text39" Left="153.2" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),2,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text40" Left="162.65" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="Gray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),3,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text41" Left="172.1" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),4,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text42" Left="181.55" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),5,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text43" Left="191" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="Gray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),6,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text44" Left="200.45" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),7,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text45" Left="209.9" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),8,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text46" Left="219.35" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),9,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text47" Left="228.8" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),10,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text48" Left="238.25" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),11,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text49" Left="247.7" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),12,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text50" Left="257.15" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.DocDebit]==0,&quot;&quot;,IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocDebit]),14),13,1)))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text51" Left="266.6" Width="26.35" Height="32.13" Border.Lines="Left, Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" HorzAlign="Center" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="IranNastaliq, 14pt"/>
      <TextObject Name="Text52" Left="292.95" Width="368.55" Height="32.13" Border.Lines="Left, Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.PriceType]==1,&quot;                                        &quot;,IIf([tblDafRooz.PriceType]==0,&quot;                     &quot;,&quot;&quot;))][tblDafRooz.KolAccountName]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text53" Left="661.5" Width="28.35" Height="32.13" Border.Lines="Left, Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="txtMah" Left="689.85" Width="28.35" Height="32.13" Border.Lines="Left, Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring([tblDafRooz.DocDate],5,2))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="txtRooz" Left="718.2" Width="28.35" Height="32.13" Border.Lines="Left, Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring([tblDafRooz.DocDate],8,2))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="txtSanadNo" Left="746.55" Width="28.35" Height="32.13" Border.Lines="Left, Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,ToDecimal(&quot;0&quot; + [tblDafRooz.DocNo]))]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text57" Left="18.9" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),2,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text58" Left="28.35" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),3,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text59" Left="37.8" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),4,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text60" Left="47.25" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),5,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text61" Left="56.7" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),6,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text63" Left="75.6" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),8,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text64" Left="85.05" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),9,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text65" Left="94.5" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),10,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text66" Left="103.95" Width="9.45" Height="32.13" Border.Lines="Left" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),11,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text67" Left="113.4" Width="9.45" Height="32.13" Border.Lines="Left, Right" Border.Color="LightGray" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),12,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text68" Left="122.85" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.DocCredit]==0,&quot;&quot;,IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),13,1)))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <TextObject Name="Text62" Left="66.15" Width="9.45" Height="32.13" Border.Lines="Right" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[IIf([tblDafRooz.AccountName]==&quot;&quot;,&quot;&quot;,Substring(PadLeft(ToString([tblDafRooz.DocCredit]),14),7,1))]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
      <LineObject Name="Line1" Top="17.9" Width="774.9" Border.Color="Gray" Border.Style="Dot" CanShrink="true" Diagonal="true"/>
      <LineObject Name="Line2" Left="292.95" Height="32.13" CanShrink="true" Diagonal="true"/>
      <Sort>
        <Sort Expression="[tblDafRooz.DocNo]"/>
        <Sort Expression="[tblDafRooz.PriceType]" Descending="true"/>
      </Sort>
    </DataBand>
    <ReportSummaryBand Name="ReportSummary1" Top="200.78" Width="774.9" Height="3.78" Border.Lines="Top"/>
    <PageFooterBand Name="PageFooter1" Top="208.56" Width="774.9" Height="103.95" Border.Lines="Top">
      <TextObject Name="Text69" Top="9.45" Width="132.3" Height="37.8" Border.Lines="All" Text="[ToDecimal([FirstCredit])+[TotalCredit]]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Zar, 12pt, style=Bold"/>
      <TextObject Name="Text70" Left="134.3" Top="9.45" Width="132.3" Height="37.8" Border.Lines="All" Text="[ToDecimal([FirstDebit])+[TotalDebit]]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Zar, 12pt, style=Bold"/>
      <TextObject Name="Text71" Left="274.05" Top="9.45" Width="368.55" Height="37.8" Text="نقل به صفحه ......" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt"/>
    </PageFooterBand>
  </ReportPage>
</Report>
