<?xml version="1.0" encoding="utf-8"?>
<Report ReportInfo.Created="12/03/2011 19:50:23" ReportInfo.Modified="08/02/2016 12:51:06" 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
  {
    private void Data1_AfterPrint(object sender, EventArgs e)
    {
      float FSize = Engine.FreeSpace - 3;
      if (FSize == 0)
        Data2.Visible = false;
      else
        Data2.Height = FSize;
    }
  }
}
</ScriptText>
  <Dictionary>
    <TableDataSource Name="Table" ReferenceName="MasterData.Table" DataType="System.Int32" Enabled="true">
      <Column Name="ردیف" DataType="System.Int64"/>
      <Column Name="کل" DataType="System.String"/>
      <Column Name="معین" DataType="System.String"/>
      <Column Name="بدهکار" DataType="System.Decimal"/>
      <Column Name="بستانکار" DataType="System.Decimal"/>
      <Column Name="جزء" DataType="System.Decimal"/>
      <Column Name="نوع" DataType="System.Int32"/>
      <Column Name="شرح" 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="CompanyName" DataType="System.String"/>
    <Parameter Name="Zamime" DataType="System.String"/>
    <Parameter Name="SanadNo" 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="DailySanadNo" DataType="System.String"/>
    <Parameter Name="DailySanadDate" DataType="System.String"/>
    <Parameter Name="Mosalsal" DataType="System.String"/>
    <Total Name="TotalDebit" Expression="[Table.بدهکار]" Evaluator="Data1" ResetOnReprint="true"/>
    <Total Name="TotalCredit" Expression="[Table.بستانکار]" Evaluator="Data1" ResetOnReprint="true"/>
  </Dictionary>
  <ReportPage Name="Page1" LeftMargin="5" RightMargin="5">
    <PageHeaderBand Name="PageHeader1" Width="756" Height="170.1">
      <ShapeObject Name="Shape1" Width="756" Height="132.3" Border.Width="2"/>
      <TextObject Name="Text3" Left="37.8" Top="66.15" Width="623.7" Height="28.35" Text="[DailySanadNo]" HorzAlign="Right" VertAlign="Center" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text4" Left="661.5" Top="66.15" Width="56.7" Height="28.35" Text=": شماره" VertAlign="Center" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text10" Left="207.9" Top="94.5" Width="217.35" Height="28.35" Text="[Zamime]" HorzAlign="Right" VertAlign="Center" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text5" Left="661.5" Top="94.5" Width="56.7" Height="28.35" Text=": تاریخ" VertAlign="Center" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text6" Left="500.85" Top="94.5" Width="160.65" Height="28.35" Text="[DailySanadDate]" HorzAlign="Right" VertAlign="Center" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text9" Left="425.25" Top="94.5" Width="56.7" Height="28.35" Text=": ضمائم" VertAlign="Center" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text11" Left="37.8" Top="103.95" Width="94.5" Height="18.9" Text="صفحه: [Page]" RightToLeft="true" Font="B Nazanin, 10pt"/>
      <TextObject Name="Text26" Top="141.75" Width="132.3" Height="28.35" Border.Lines="All" Text="بستانکار" HorzAlign="Center" VertAlign="Center" Font="B Titr, 11pt, style=Bold"/>
      <TextObject Name="Text20" Left="396.9" Top="141.75" Width="274.05" Height="28.35" Border.Lines="All" Text="شرح" HorzAlign="Center" VertAlign="Center" Font="B Titr, 11pt, style=Bold"/>
      <TextObject Name="Text24" Left="132.3" Top="141.75" Width="132.3" Height="28.35" Border.Lines="All" Text="بدهکار" HorzAlign="Center" VertAlign="Center" Font="B Titr, 11pt, style=Bold"/>
      <TextObject Name="Text2" Left="236.25" Top="37.8" Width="302.4" Height="28.35" Text="سند حسابداری تجمیعی" HorzAlign="Center" Font="B Nazanin, 14pt, style=Bold"/>
      <TextObject Name="Text1" Left="113.4" Top="9.45" Width="529.2" Height="28.35" Text="[CompanyName]" HorzAlign="Center" Font="B Titr, 14pt, style=Bold"/>
      <TextObject Name="Text30" Left="670.95" Top="141.75" Width="85.05" Height="28.35" Border.Lines="All" Text="کد حساب" HorzAlign="Center" VertAlign="Center" Font="B Titr, 11pt, style=Bold"/>
      <TextObject Name="Text32" Left="264.6" Top="141.75" Width="132.3" Height="28.35" Border.Lines="All" Text="جزء" HorzAlign="Center" VertAlign="Center" Font="B Titr, 11pt, style=Bold"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="174.1" Width="756" Height="28.35" CanGrow="true" AfterPrintEvent="Data1_AfterPrint" DataSource="Table">
      <TextObject Name="Text13" Left="689.85" Width="66.15" Height="28.35" Border.Lines="Right" CanGrow="true" GrowToBottom="true" Text="[Table.معین]" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text19" Width="132.3" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Text="[Table.بستانکار]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text31" Left="670.95" Width="37.8" Height="28.35" Border.Lines="Left" CanGrow="true" GrowToBottom="true" Text="[IIf([Table.معین]==&quot;&quot;,[Table.کل],&quot;&quot;)]" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text155" Left="396.9" Width="274.05" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Text="[IIf([Table.معین]==&quot;&quot;,[Table.شرح],&quot;&quot;)]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text156" Left="132.3" Width="132.3" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Text="[Table.بدهکار]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text157" Left="264.6" Width="132.3" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Text="[Table.جزء]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text162" Left="396.9" Width="274.05" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Text="       [IIf([Table.معین]==&quot;&quot;,&quot;&quot;,[Table.شرح])]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <Sort>
        <Sort Expression="[Table.ردیف]"/>
      </Sort>
    </DataBand>
    <DataBand Name="Data2" Top="206.45" Width="756" Height="28.35">
      <TextObject Name="Text158" Width="132.3" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" HorzAlign="Right" VertAlign="Center" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text34" Left="670.95" Width="85.05" Height="28.35" Border.Lines="Right" CanGrow="true" GrowToBottom="true" HorzAlign="Center" VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Text37" Left="396.9" Width="274.05" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" HorzAlign="Right" VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Text159" Left="132.3" Width="132.3" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" HorzAlign="Right" VertAlign="Center" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text160" Left="264.6" Width="132.3" Height="28.35" Border.Lines="Left, Right" CanGrow="true" GrowToBottom="true" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" HorzAlign="Right" VertAlign="Center" Font="B Nazanin, 11pt, style=Bold"/>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="238.8" Width="756" Height="109.62">
      <TextObject Name="Text29" Left="264.6" Width="491.4" Height="37.8" Border.Lines="All" Text="جمع" HorzAlign="Center" VertAlign="Center" Font="B Titr, 11pt, style=Bold"/>
      <TextObject Name="Text28" Width="132.3" Height="37.8" Border.Lines="All" Text="[TotalCredit]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text27" Left="132.3" Width="132.3" Height="37.8" Border.Lines="All" Text="[TotalDebit]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 12pt, style=Bold"/>
      <TextObject Name="Text161" Left="567" Top="37.8" Width="189" Height="56.7" Border.Lines="All" Text="ثبــــت کننــده:&#13;&#10;" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text54" Left="378" Top="37.8" Width="189" Height="56.7" Border.Lines="All" Text="رسیـــدگی:&#13;&#10;" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text55" Left="189" Top="37.8" Width="189" Height="56.7" Border.Lines="All" Text="تائیـــد کننــده:&#13;&#10;" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text56" Top="37.8" Width="189" Height="56.7" Border.Lines="All" Text="تصــویب کننــده:&#13;&#10;" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
    </PageFooterBand>
  </ReportPage>
</Report>
