<?xml version="1.0" encoding="utf-8"?>
<Report ReferencedAssemblies="System.dll&#13;&#10;System.Drawing.dll&#13;&#10;System.Windows.Forms.dll&#13;&#10;System.Data.dll&#13;&#10;System.Xml.dll&#13;&#10;ArgessAccWin.dll" ReportInfo.Created="04/23/2011 17:09:21" ReportInfo.Modified="05/13/2019 16:00:13" 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>
    <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="تکمیلی 1" DataType="System.String"/>
    <Parameter Name="تکمیلی 2" DataType="System.String"/>
    <Parameter Name="تکمیلی 3" DataType="System.String"/>
    <Parameter Name="تکمیلی 4" DataType="System.String"/>
    <Parameter Name="تکمیلی 5" DataType="System.String"/>
    <Parameter Name="تکمیلی 6" DataType="System.String"/>
    <Parameter Name="تکمیلی 7" DataType="System.String"/>
    <Parameter Name="تکمیلی 8" DataType="System.String"/>
    <Parameter Name="ReportDate" DataType="System.String"/>
    <Parameter Name="SumPrice" DataType="System.String"/>
    <Parameter Name="SumEzafe" DataType="System.String"/>
    <Parameter Name="SumKosor" DataType="System.String"/>
    <Parameter Name="SumAll" DataType="System.String"/>
    <Parameter Name="SumDebit" DataType="System.String"/>
    <Parameter Name="PishDaryaft" DataType="System.String"/>
    <Parameter Name="BeforDebit" DataType="System.String"/>
    <Parameter Name="SumAllString" DataType="System.String"/>
    <Total Name="مبلغ کل" Expression="[SaleFactorDetail.جمع کل کالا]" Evaluator="Data1" PrintOn="ReportSummary1"/>
    <Total Name="مقدار" Expression="[SaleFactorDetail.مقدار فروش]" Evaluator="Data1" PrintOn="ReportSummary1"/>
    <Total Name="فی" Expression="[SaleFactorDetail.فی فروش]" Evaluator="Data1" PrintOn="ReportSummary1"/>
    <Total Name="جمع کالا" Expression="[SaleFactorDetail.مبلغ کالا]" Evaluator="Data1" PrintOn="ReportSummary1"/>
    <Total Name="تخفیف" Expression="[SaleFactorDetail.مبلغ کسور]" Evaluator="Data1" PrintOn="ReportSummary1"/>
    <Total Name="اضافات" Expression="[SaleFactorDetail.مبلغ هزینه های فاکتور]" Evaluator="Data1" PrintOn="ReportSummary1"/>
    <Total Name="اضافات کلی" Expression="[SaleElement.مبلغ اضافات]" Evaluator="Data2" PrintOn="ReportSummary1"/>
    <Total Name="کسور کلی" Expression="[SaleElement.مبلغ کسور]" Evaluator="Data2" PrintOn="ReportSummary1"/>
  </Dictionary>
  <ReportPage Name="Page1" LeftMargin="5" RightMargin="5">
    <PageHeaderBand Name="PageHeader1" Width="756" Height="170.1">
      <ShapeObject Name="Shape1" Top="85.05" Width="756" Height="47.25" Border.Width="2"/>
      <TextObject Name="Text3" Left="633.15" Top="141.75" Width="94.5" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="کد کالا" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text5" Left="481.95" Top="141.75" Width="151.2" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="نام کالا" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text7" Left="396.9" Top="141.75" Width="37.8" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="واحد" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text9" Left="434.7" Top="141.75" Width="47.25" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="مقدار" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text11" Left="321.3" Top="141.75" Width="75.6" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="فـــی" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text14" Left="727.65" Top="141.75" Width="28.35" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="ردیف" HorzAlign="Center" VertAlign="Center" Font="B Titr, 7pt, style=Bold"/>
      <TextObject Name="Text15" Top="141.75" Width="113.4" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="مبلغ کل" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text29" Left="689.85" Top="108.95" Width="56.7" Height="18.9" Text="آدرس:" HorzAlign="Right" VertAlign="Bottom" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text30" Left="9.45" Top="108.95" Width="680.4" Height="18.9" Text="[SaleFactor.آدرس مشتری]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text31" Left="9.45" Top="90.05" Width="274.05" Height="18.9" Text="[SaleFactor.تلفن مشتری]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text27" Left="283.5" Top="90.05" Width="37.8" Height="18.9" Text="تلفن :" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text26" Left="330.75" Top="90.05" Width="359.1" Height="18.9" Text="[SaleFactor.کد مشتری] - [SaleFactor.نام مشتری]" VertAlign="Bottom" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text28" Left="689.85" Top="90.05" Width="56.7" Height="18.9" Text="خریدار:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text33" Left="94.5" Top="28.35" Width="47.25" Height="18.9" Text="تاریخ :" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text42" Left="9.45" Top="28.35" Width="85.05" Height="18.9" Text="[SaleFactor.تاریخ فاکتور]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text34" Left="9.45" Top="9.45" Width="85.05" Height="18.9" Text="[SaleFactor.شماره فاکتور]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text35" Left="94.5" Top="9.45" Width="47.25" Height="18.9" Text="شماره :" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text46" Left="94.5" Top="47.25" Width="47.25" Height="18.9" Text="عطف:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text47" Left="9.45" Top="47.25" Width="85.05" Height="18.9" Text="[SaleFactor.عطف فاکتور]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text16" Left="151.2" Top="10.9" Width="453.6" Height="28.35" Text="[نام شرکت]" HorzAlign="Center" VertAlign="Center" Font="B Titr, 12pt, style=Bold"/>
      <TextObject Name="Text51" Left="179.55" Top="141.75" Width="56.7" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="تخفیف" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text52" Left="113.4" Top="141.75" Width="66.15" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="اضافات" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text55" Left="236.25" Top="141.75" Width="85.05" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="جمع کالا" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text57" Left="302.4" Top="37.8" Width="151.2" Height="28.35" Text="فاکتور فروش" HorzAlign="Center" VertAlign="Center" Font="B Titr, 12pt, style=Bold"/>
      <PictureObject Name="Picture1" Left="642.6" Top="9.45" Width="85.05" Height="66.15" DataColumn="Logo.ImageLogo"/>
      <TextObject Name="Text65" Left="94.5" Top="66.15" Width="47.25" Height="18.9" Text="صفحه: " HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text66" Left="9.45" Top="66.15" Width="85.05" Height="18.9" Text="[Page#]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="174.1" Width="756" Height="28.35" CanGrow="true" DataSource="SaleFactorDetail">
      <TextObject Name="Text2" Left="633.15" Width="94.5" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.کد کالا]" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text4" Left="481.95" Width="151.2" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.نام کالا]" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text6" Left="396.9" Width="37.8" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.واحد شمارش]" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text8" Left="434.7" Width="47.25" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.مقدار فروش]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="/" Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text10" Left="321.3" Width="75.6" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.فی فروش]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text13" Left="727.65" Width="28.35" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[Row#]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
      <TextObject Name="Text12" Width="113.4" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.جمع کل کالا]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text53" Left="179.55" Width="56.7" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.مبلغ کسور]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text54" Left="113.4" Width="66.15" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.مبلغ هزینه های فاکتور]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text56" Left="236.25" Width="85.05" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[SaleFactorDetail.مبلغ کالا]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
    </DataBand>
    <DataBand Name="Data2" Top="206.45" Width="756" CanShrink="true" AfterPrintEvent="Data2_AfterPrint" CanBreak="true" DataSource="SaleElement"/>
    <ReportSummaryBand Name="ReportSummary1" Top="210.45" Width="756" Height="179.55">
      <ShapeObject Name="Shape3" Left="235.25" Top="27.35" Width="522.75" Height="88.05" Border.Width="2"/>
      <ShapeObject Name="Shape2" Left="-1.45" Top="27.35" Width="240.25" Height="88.05" Border.Width="2"/>
      <TextObject Name="Text49" Left="434.7" Width="47.25" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[مقدار]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="/" Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text22" Left="481.95" Width="274.05" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="جمع" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Text18" Top="28.35" Width="113.4" Height="28.35" Text="[اضافات کلی]" 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="Text23" Left="113.4" Top="28.35" Width="85.05" Height="28.35" Text="اضافات فاکتور:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text24" Left="113.4" Top="56.7" Width="85.05" Height="28.35" Text="تخفیف فاکتور:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text19" Top="56.7" Width="113.4" Height="28.35" Text="[کسور کلی]" 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="Text21" Top="113.4" Width="623.7" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[SaleFactor.مبلغ فاکتور بحروف]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt, style=Bold"/>
      <TextObject Name="Text36" Left="623.7" Top="113.4" Width="132.3" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="قابل پرداخت به حروف:" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text25" Left="113.4" Top="85.05" Width="94.5" Height="28.35" Text="جمع کل فاکتور:" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text48" Top="85.05" Width="113.4" Height="28.35" Text="[[مبلغ کل]+[اضافات کلی] - [کسور کلی]]" 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="Text37" Left="245.7" Top="37.8" Width="500.85" Height="66.15" Text="توضیحات: [SaleFactor.شرح فاکتور]" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text1" Left="500.85" Top="160.65" Width="94.5" Height="18.9" Text="امضاء خریدار" HorzAlign="Center" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text43" Left="132.3" Top="160.65" Width="94.5" Height="18.9" Text="امضاء فروشنده" HorzAlign="Center" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text58" Left="321.3" Width="75.6" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[فی]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text59" Left="236.25" Width="85.05" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[جمع کالا]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text60" Left="179.55" Width="56.7" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[تخفیف]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text61" Left="113.4" Width="66.15" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[اضافات]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt"/>
      <TextObject Name="Text62" Width="113.4" Height="28.35" Border.Lines="All" Border.Width="1.5" Text="[مبلغ کل]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true"/>
      <TextObject Name="Text63" Left="396.9" Width="37.8" Height="28.35" Border.Lines="All" Border.Width="1.5" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" VertAlign="Center" RightToLeft="true" Font="Arial, 9pt, style=Bold"/>
    </ReportSummaryBand>
    <PageFooterBand Name="PageFooter1" Top="394" Width="756" Height="37.8" Border.Lines="All" Border.Style="Double">
      <TextObject Name="Text40" Left="189" Top="9.45" Width="37.8" Height="18.9" Text="تلفن:" HorzAlign="Right" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text39" Left="680.4" Top="9.45" Width="47.25" Height="18.9" Text="نشانی:" HorzAlign="Right" RightToLeft="true" Font="B Titr, 10pt, style=Bold"/>
      <TextObject Name="Text41" Left="9.45" Top="9.45" Width="179.55" Height="18.9" Text="[تلفن شرکت]" VertAlign="Center" RightToLeft="true" Font="B Nazanin, 11pt"/>
      <TextObject Name="Text64" Left="236.25" Top="9.45" Width="444.15" Height="18.9" Text="[آدرس شرکت]" RightToLeft="true" Font="B Nazanin, 11pt"/>
    </PageFooterBand>
  </ReportPage>
</Report>
