﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="1">
      <Connection Ref="2" type="Stimulsoft.Report.Dictionary.StiSqlDatabase" isKey="true">
        <Alias>Connection</Alias>
        <ConnectionString>User ID=sa;Integrated Security=False;Password=srp1389acc;Data Source=192.168.160.129\rasadacc;Initial Catalog=Accounting</ConnectionString>
        <Name>Connection</Name>
      </Connection>
    </Databases>
    <DataSources isList="true" count="2">
      <Company Ref="3" type="Stimulsoft.Report.Dictionary.StiSqlSource" isKey="true">
        <Alias>Company</Alias>
        <Columns isList="true" count="19">
          <value>Capital,System.Int64</value>
          <value>ClassFile,System.String</value>
          <value>CodeOfCeo,System.String</value>
          <value>DateofRegister,System.String</value>
          <value>EcoNumber,System.String</value>
          <value>id_activity,System.Int64</value>
          <value>id_cmp,System.Int64</value>
          <value>logo,System.String</value>
          <value>MobileofCeo,System.String</value>
          <value>name_cmp,System.String</value>
          <value>NameofCeo,System.String</value>
          <value>NationalID,System.String</value>
          <value>place,System.String</value>
          <value>postalCode,System.String</value>
          <value>RegNumber,System.String</value>
          <value>TaxUnit,System.String</value>
          <value>tel,System.String</value>
          <value>TFN,System.String</value>
          <value>workshopCode,System.String</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>Company</Name>
        <NameInSource>Connection</NameInSource>
        <Parameters isList="true" count="1">
          <value>_x0040_idcmp,idcmp,16,0</value>
        </Parameters>
        <SqlCommand>select * from Company where id_cmp=@idcmp</SqlCommand>
      </Company>
      <AccountingOffices_Float_pro Ref="4" type="Stimulsoft.Report.Dictionary.StiSqlSource" isKey="true">
        <Alias>AccountingOffices_Float_pro</Alias>
        <Columns isList="true" count="15">
          <value>id_code,System.String</value>
          <value>TitleMerge,System.String</value>
          <value>bed_sum,System.Int64</value>
          <value>bes_sum,System.Int64</value>
          <value>id_Document,System.Int32</value>
          <value>date_doc,System.String</value>
          <value>m_bed_sum,System.Int64</value>
          <value>m_bes_sum,System.Int64</value>
          <value>id_StatusDoc,System.Byte</value>
          <value>id_code_Float,System.String</value>
          <value>id_ParentCode,System.String</value>
          <value>Document_Topic,System.String</value>
          <value>DocDteail_Topic,System.String</value>
          <value>Title_Float,System.String</value>
          <value>Id_Moin,System.String</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>AccountingOffices_Float_pro</Name>
        <NameInSource>Connection</NameInSource>
        <Parameters isList="true" count="11">
          <value>_x0040_id_year,id_year,8,0</value>
          <value>_x0040_length,length,8,0</value>
          <value>_x0040_date_from,IIF_x0028_date_from_x003D__x003D__x0022__x0022__x002C_DBNull.Value_x002C_date_from_x0029_,22,10</value>
          <value>_x0040_date_To,IIF_x0028_date_To_x003D__x003D__x0022__x0022__x002C_DBNull.Value_x002C_date_To_x0029_,22,10</value>
          <value>_x0040_id_doc_from,IIF_x0028_id_doc_from_x003D__x003D_0_x002C_DBNull.Value_x002C_id_doc_from_x0029_,8,0</value>
          <value>_x0040_id_doc_to,IIF_x0028_id_doc_to_x003D__x003D_0_x002C_DBNull.Value_x002C_id_doc_to_x0029_,8,0</value>
          <value>_x0040_id_status,id_status,22,3</value>
          <value>_x0040_id_code_float_from,IIF_x0028_id_code_float_from_x003D__x003D__x0022__x0022__x002C_DBNull.Value_x002C_id_code_float_from_x0029_,22,40</value>
          <value>_x0040_id_code_float_to,IIF_x0028_id_code_float_to_x003D__x003D__x0022__x0022__x002C_DBNull.Value_x002C_id_code_float_to_x0029_,22,40</value>
          <value>_x0040_FromBefore,frombefor,2,0</value>
          <value>_x0040_id_cmp,idcmp,8,0</value>
        </Parameters>
        <SqlCommand>execute AccountingOffices_Float_pro @id_year,
		@length,
		@date_from,
		@date_To ,
		@id_doc_from,
		@id_doc_to,
		@id_status,
		@id_code_float_from,
		@id_code_float_to,
		@FromBefore,
		@id_cmp</SqlCommand>
        <Type>StoredProcedure</Type>
      </AccountingOffices_Float_pro>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="24">
      <value>,topic,topic,,System.String,,False,False,True</value>
      <value>,id_year,id_year,,System.Int32,_x0032_,False,False,True</value>
      <value>,length,length,,System.Int32,_x0037_,False,False,True</value>
      <value>,date_from,date_from,,System.String,_x0031_397_x002F_01_x002F_01,False,False,True</value>
      <value>,date_To,date_To,,System.String,_x0031_397_x002F_12_x002F_30,False,False,True</value>
      <value>,id_doc_from,id_doc_from,,System.Int32,,False,False,True</value>
      <value>,id_doc_to,id_doc_to,,System.Int32,,False,False,True</value>
      <value>,id_status,id_status,,System.String,_x0031_23,False,False,True</value>
      <value>,TopicDoc,TopicDoc,,System.Int32,_x0036_,False,False,True</value>
      <value>,DateReport,DateReport,,System.String,,False,False,True</value>
      <value>,id_code_float_from,id_code_float_from,,System.String,_x0030_401116,False,False,True</value>
      <value>,id_code_float_to,id_code_float_to,,System.String,_x0030_401116,False,False,True</value>
      <value>,topic_code_from,topic_code_from,,System.String,,False,False,True</value>
      <value>,topic_code_to,topic_code_to,,System.String,,False,False,True</value>
      <value>,idcmp,idcmp,,System.Int32,_x0031_,False,False,True</value>
      <value>,frombefor,frombefor,,System.Boolean,false,False,False,True</value>
      <value>,sort,sort,,System.Int32,,False,False,True</value>
      <value>,PriSum_bed,PriSum_bed,System.Decimal,_x0030_,False,False</value>
      <value>,Pri_Tashkhis,Pri_Tashkhis,System.Object,,False,False</value>
      <value>,Pri_Mande,Pri_Mande,System.Decimal,_x0030_,False,False</value>
      <value>,PriSum_bes,PriSum_bes,System.Decimal,_x0030_,False,False</value>
      <value>,FullName,FullName,,System.String,,False,False,True</value>
      <value>,Merge,Merge,,System.Boolean,false,False,False,True</value>
      <value>,count,count,System.Int32,,False,False</value>
    </Variables>
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <NumberOfPass>DoublePass</NumberOfPass>
  <Pages isList="true" count="1">
    <Page1 Ref="5" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="8">
        <PageHeaderBand1 Ref="6" type="PageHeaderBand" isKey="true">
          <Border>All;Black;1;Solid;False;4;Black</Border>
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,2</ClientRectangle>
          <Components isList="true" count="6">
            <Text16 Ref="7" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0.2,1.3,2.39,0.61</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <Guid>54c8b74ccd33477fb0c5e9f2576186c4</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text16</Name>
              <Page isRef="5" />
              <Parent isRef="6" />
              <Text>صفحه {PageNumberThrough} از {TotalPageCountThrough}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text16>
            <Image1 Ref="8" type="Image" isKey="true">
              <AspectRatio>True</AspectRatio>
              <Brush>EmptyBrush</Brush>
              <ClientRectangle>16.61,0.2,2.21,1.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <DataColumn>Company.logo</DataColumn>
              <Guid>9e04652a31764f7ca60e92f1ba48bf57</Guid>
              <HorAlignment>Center</HorAlignment>
              <Name>Image1</Name>
              <Page isRef="5" />
              <Parent isRef="6" />
              <Stretch>True</Stretch>
              <VertAlignment>Center</VertAlignment>
            </Image1>
            <Text4 Ref="9" type="Text" isKey="true">
              <Brush>EmptyBrush</Brush>
              <ClientRectangle>0.2,0.2,4.8,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <Guid>01fed1008a5a47b5b1120b94031f3845</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="5" />
              <Parent isRef="6" />
              <Text>تاریخ گزارش: {DateReport}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text4>
            <Text17 Ref="10" type="Text" isKey="true">
              <Brush>EmptyBrush</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>13,0.2,3.8,1.79</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,11,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>e6cf5cdc348b4f71acb60d163802c82b</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text17</Name>
              <Page isRef="5" />
              <Parent isRef="6" />
              <Text>{Company.name_cmp}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=EllipsisCharacter, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>DataColumn</Type>
              <VertAlignment>Center</VertAlignment>
            </Text17>
            <Text44 Ref="11" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>5,0,8,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,11,Bold</Font>
              <Guid>56a83efec6494848979c5a69eb2f9316</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text44</Name>
              <Page isRef="5" />
              <Parent isRef="6" />
              <Text>{topic}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=EllipsisCharacter, WordWrap=False, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text44>
            <Text45 Ref="12" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>5,0.8,8,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>88e81457393f4f88a809f36a48fed70c</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text45</Name>
              <Page isRef="5" />
              <Parent isRef="6" />
              <Text>{IIF(date_from=="","","از "+date_from)}{IIF(date_To=="","","  تا "+date_To)}{IIF(id_doc_from==0,""," - از سند "+id_doc_from)}{IIF(id_doc_to==0,""," تا سند "+id_doc_to)} </Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=EllipsisCharacter, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
            </Text45>
          </Components>
          <Conditions isList="true" count="0" />
          <Guid>d408d4a47a504620a0eaab4df82819a5</Guid>
          <Name>PageHeaderBand1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
        </PageHeaderBand1>
        <PageFooterBand1 Ref="13" type="PageFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,27,19,0.7</ClientRectangle>
          <Components isList="true" count="1">
            <Text34 Ref="14" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>12.2,0,6.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text34</Name>
              <Page isRef="5" />
              <Parent isRef="13" />
              <Text>تنظیم کننده:{FullName}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=None, WordWrap=False, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text34>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>PageFooterBand1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
        </PageFooterBand1>
        <GroupHeaderBand2 Ref="15" type="GroupHeaderBand" isKey="true">
          <AfterPrintEvent>//برای ریست کردن جمع تجمیعی بعد از هر صفحه
Text28_Sum1.RunningTotal = false; 
Text22_Sum1.RunningTotal = false; 

Text13_Sum1.RunningTotal = false; //مقادیر 1و2و3و که بعد از sum نوشتم برای این است که 3 بار از جمع تجمیعی برای شرط استفاده کردم 
Text13_Sum2.RunningTotal = false; 
Text13_Sum3.RunningTotal = false; 

Text26_Sum1.RunningTotal = false; 
Text26_Sum2.RunningTotal = false; 
Text26_Sum3.RunningTotal = false; 




//در صورت استفاده نکردن از شرط و یا تابع دیگر ، مقادیر به صورت زیر نوشته می شود
Text26_Sum1.RunningTotal = false; 
Text26_Sum2.RunningTotal = false;






































</AfterPrintEvent>
          <Brush>Transparent</Brush>
          <ClientRectangle>0,3.2,19,2</ClientRectangle>
          <Components isList="true" count="9">
            <Text2 Ref="16" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>16.4,1,1.6,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>bc215156447146f6824a71268b1a3481</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>تاریخ</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text2>
            <Text3 Ref="17" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>10.8,1,5.6,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>ea19842755aa46e59d69225bb71141fb</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>شرح</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text3>
            <Text1 Ref="18" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>9.2,1,1.6,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>شماره سند</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text1>
            <Text6 Ref="19" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>6.4,1,2.8,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>acf7bb51f24a41368ace02179e26ed2d</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>بدهکار</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text6>
            <Text7 Ref="20" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>3.6,1,2.8,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>9a85ebda69ff445c9f671890970df519</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text7</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>بستانکار</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text7>
            <Text24 Ref="21" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>2.8,1,0.8,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>e0c5c7f631234c3288705e09e8246e39</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text24</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>تشخیص</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=False, Angle=90, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text24>
            <Text14 Ref="22" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,1,2.8,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>ad925d207a27425ea11431566d63330c</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text14</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>مانده</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text14>
            <Text27 Ref="23" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>18,1,1,1.1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>dc9ccd9383d9481680df243e7de21ecf</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text27</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>ردیف</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text27>
            <Text5 Ref="24" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.01,19,1</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Titr,10,Bold</Font>
              <Guid>ca59eefde260450caa02c33d5413540f</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="5" />
              <Parent isRef="15" />
              <Text>{AccountingOffices_Float_pro.Id_Moin+": "+IIF(frombefor,SplitString(AccountingOffices_Float_pro.TitleMerge,"،",3),SplitString(AccountingOffices_Float_pro.TitleMerge,"،",2))} {IIF(!Merge,"-- تفصیل:"+ AccountingOffices_Float_pro.id_code_Float+": "+AccountingOffices_Float_pro.Title_Float,"")}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=None, WordWrap=False, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text5>
          </Components>
          <Condition>{IIF(Merge,AccountingOffices_Float_pro.Id_Moin,AccountingOffices_Float_pro.id_code)}</Condition>
          <Conditions isList="true" count="0" />
          <EndRenderEvent>PriSum_bed=0;
PriSum_bes=0;

count=0;

















</EndRenderEvent>
          <KeepGroupHeaderTogether>False</KeepGroupHeaderTogether>
          <Name>GroupHeaderBand2</Name>
          <NewPageBefore>True</NewPageBefore>
          <Page isRef="5" />
          <Parent isRef="5" />
          <PrintOnAllPages>True</PrintOnAllPages>
          <ResetPageNumber>True</ResetPageNumber>
        </GroupHeaderBand2>
        <GroupHeaderBand1 Ref="25" type="GroupHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,6,19,0.7</ClientRectangle>
          <Components isList="true" count="8">
            <Text35 Ref="26" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>6.4,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>42deed21b2a24075b3adaa999daa1ef9</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text35</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <Text>{PriSum_bed}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="27" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text35>
            <Text36 Ref="28" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>3.6,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>231734bad4e44d27a02b0b5edabac666</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text36</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <Text>{PriSum_bes}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="29" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text36>
            <Text37 Ref="30" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>2.8,0.01,0.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>4e895afbd61041e0bc5fd26512745037</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text37</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <Text>{Pri_Tashkhis}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="31" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text37>
            <Text38 Ref="32" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>2c74b1e8d2ad4bd5accb46b007a44713</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text38</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <Text>{Abs(Pri_Mande)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="33" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text38>
            <Text39 Ref="34" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>10.8,0.01,5.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>80da23d6a9014d98a9d5f559ae57bb10</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text39</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <Text> نقل از صفحه قبل</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text39>
            <Text31 Ref="35" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>9.2,0.01,1.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>aa97fa6b03ec4270867b0485166a5f26</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text31</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="36" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text31>
            <Text32 Ref="37" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>18,0.01,1,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Vazir,9</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>ce935b2729c147358b085aafcf0cb0db</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text32</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="38" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text32>
            <Text33 Ref="39" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>16.4,0.01,1.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Vazir,9</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>c5d103337485421c84dc7080b28f5ea6</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text33</Name>
              <Page isRef="5" />
              <Parent isRef="25" />
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="40" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text33>
          </Components>
          <Conditions isList="true" count="1">
            <value>_x007B_IsFirstPage_x007D_,Red,Transparent,Arial_x002C_8,False,False,,,None</value>
          </Conditions>
          <KeepGroupHeaderTogether>False</KeepGroupHeaderTogether>
          <Name>GroupHeaderBand1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <PrintOnAllPages>True</PrintOnAllPages>
        </GroupHeaderBand1>
        <DataBand1 Ref="41" type="DataBand" isKey="true">
          <Border>Left, Right;Black;1;Solid;False;4;Black</Border>
          <Brush>EmptyBrush</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,7.5,19,0.7</ClientRectangle>
          <Components isList="true" count="9">
            <Text11 Ref="42" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>6.4,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>fdc53bed9b584a74a81699dcd25de984</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text11</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{AccountingOffices_Float_pro.bed_sum}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="43" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text11>
            <Text12 Ref="44" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>3.6,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>d92a7a1497fb4aaebf2aa01092a5d953</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text12</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{AccountingOffices_Float_pro.bes_sum}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="45" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text12>
            <Text9 Ref="46" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>16.4,0.01,1.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>c280b971065247c18045181f3cf0d3ee</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text9</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{AccountingOffices_Float_pro.date_doc}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text9>
            <Text8 Ref="47" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>9.2,0.01,1.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{AccountingOffices_Float_pro.id_Document}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text8>
            <Text13 Ref="48" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>2.8,0.01,0.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>4e870a641c2d4e8d91f279e38828704f</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text13</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{Switch(SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)&gt;0,"بد",SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)&lt;0,"بس",SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)==0,"")}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="49" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text13>
            <Text22 Ref="50" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>2dd343592030441f922cbdc39b322b30</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text22</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{Abs(SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum))}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="51" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text22>
            <Text10 Ref="52" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>10.8,0,5.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>b0193ff2037f435e9eeeb3a0fcd95ce6</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text10</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{Switch(TopicDoc&gt;=1 &amp;&amp; TopicDoc&lt;=3&amp;&amp;AccountingOffices_Float_pro.id_Document!=0,SubStringCode(SubStringLeftCode(AccountingOffices_Float_pro.TitleMerge,'،',20),'،',TopicDoc)
,TopicDoc==4&amp;&amp;AccountingOffices_Float_pro.id_Document!=0,SubStringCode(SubStringLeftCode(AccountingOffices_Float_pro.TitleMerge,'،',20),'،',TopicDoc)+" ، "+AccountingOffices_Float_pro.Document_Topic
,TopicDoc==5&amp;&amp;AccountingOffices_Float_pro.id_Document!=0,AccountingOffices_Float_pro.Document_Topic
,TopicDoc==6&amp;&amp;AccountingOffices_Float_pro.id_Document!=0,AccountingOffices_Float_pro.DocDteail_Topic
,TopicDoc==7&amp;&amp;AccountingOffices_Float_pro.id_Document!=0,AccountingOffices_Float_pro.Document_Topic+" ، "+AccountingOffices_Float_pro.DocDteail_Topic)}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=EllipsisCharacter, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text10>
            <Text23 Ref="53" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>10.8,0.01,4.6,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>B Mitra,11</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>e65ce9f38e3e418a85db0092b948429d</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text23</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{IIF(frombefor==true&amp;&amp;AccountingOffices_Float_pro.id_Document==0,SplitString(AccountingOffices_Float_pro.TitleMerge,"،",0),"")}</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=True, Trimming=EllipsisCharacter, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text23>
            <Text29 Ref="54" type="Text" isKey="true">
              <Border>Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>18,0.01,1,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Vazir,8</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>50c8d18623f940209d31894714cd2ae3</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text29</Name>
              <Page isRef="5" />
              <Parent isRef="41" />
              <Text>{Line}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text29>
          </Components>
          <Conditions isList="true" count="1">
            <value>AccountingOffices_Float_pro.id_Document,EqualTo,_x0030_,,Numeric,Blue,LavenderBlush,Arial_x002C_8,True,False,,,None</value>
          </Conditions>
          <DataRelationName isNull="true" />
          <DataSourceName>AccountingOffices_Float_pro</DataSourceName>
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <RenderingEvent>
PriSum_bed+=AccountingOffices_Float_pro.bed_sum;

PriSum_bes+=AccountingOffices_Float_pro.bes_sum;

Pri_Mande=PriSum_bed-PriSum_bes;


































</RenderingEvent>
          <RightToLeft>True</RightToLeft>
          <Sort isList="true" count="8">
            <value>ASC</value>
            <value>id_code_Float</value>
            <value>ASC</value>
            <value>{IIF(sort==1,AccountingOffices_Float_pro.date_doc,"")}</value>
            <value>ASC</value>
            <value>{IIF(sort==1,AccountingOffices_Float_pro.id_Document,"")}</value>
            <value>ASC</value>
            <value>{IIF(sort==2,AccountingOffices_Float_pro.id_Document,"")}</value>
          </Sort>
        </DataBand1>
        <GroupFooterBand1 Ref="55" type="GroupFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,9,19,0.6</ClientRectangle>
          <Components isList="true" count="5">
            <Text20 Ref="56" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>9.2,0.01,9.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,10,Bold</Font>
              <Guid>6f5df39fb5a64b91aef9407da21a4842</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text20</Name>
              <Page isRef="5" />
              <Parent isRef="55" />
              <Text> جمع کل</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text20>
            <txt_group_bed Ref="57" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>6.4,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>9c0ce4b856e5455eb79abdce0d3ba851</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>txt_group_bed</Name>
              <Page isRef="5" />
              <Parent isRef="55" />
              <Text>{Sum(DataBand1,AccountingOffices_Float_pro.bed_sum)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="58" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </txt_group_bed>
            <Text19 Ref="59" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>3.6,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>4f1f2b7c0bfa4d72b86f10dccf7130cb</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text19</Name>
              <Page isRef="5" />
              <Parent isRef="55" />
              <Text>{Sum(DataBand1,AccountingOffices_Float_pro.bes_sum)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="60" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text19>
            <Text28 Ref="61" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>0,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>bfbb46bf3d4842fca303d95cffe46ffe</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text28</Name>
              <Page isRef="5" />
              <Parent isRef="55" />
              <Text>{Abs(SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum))}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="62" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text28>
            <Text26 Ref="63" type="Text" isKey="true">
              <Border>Left, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>2.8,0.01,0.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,11</Font>
              <Guid>30575442882246b495a72d98819e7687</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text26</Name>
              <Page isRef="5" />
              <Parent isRef="55" />
              <Text>{Switch(SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)&gt;0,"بد",SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)&lt;0,"بس",SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)==0,"")}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="64" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text26>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>GroupFooterBand1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
        </GroupFooterBand1>
        <FooterBand1 Ref="65" type="FooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <CanGrow>False</CanGrow>
          <ClientRectangle>0,10.4,19,0.6</ClientRectangle>
          <Components isList="true" count="5">
            <txt_footer_text Ref="66" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>9.2,0.01,9.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,10,Bold</Font>
              <Guid>0012f08542d6448b8c5f809f92e7dc65</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>txt_footer_text</Name>
              <Page isRef="5" />
              <Parent isRef="65" />
              <Text> جمع صفحه</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </txt_footer_text>
            <txt_footer_bes Ref="67" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>3.6,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>56d68863d6df4af78e5a956a191b7031</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>txt_footer_bes</Name>
              <Page isRef="5" />
              <Parent isRef="65" />
              <Text>{IIF(PriSum_bes==0,cSum(DataBand1,AccountingOffices_Float_pro.bes_sum),PriSum_bes)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="68" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </txt_footer_bes>
            <txt_footer_mande Ref="69" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>0,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>55597e1d36fe4efcba823f5c8e0683af</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>txt_footer_mande</Name>
              <Page isRef="5" />
              <Parent isRef="65" />
              <Text>{IIF(Pri_Mande==0,Abs(SumRunning(DataBand1,AccountingOffices_Float_pro.bed_sum-AccountingOffices_Float_pro.bes_sum)),Abs(Pri_Mande))}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="70" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </txt_footer_mande>
            <txt_footer_tashkhis Ref="71" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>2.8,0.01,0.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,11</Font>
              <Guid>fe3d5a5aec444095a1b67f2002b6e737</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>txt_footer_tashkhis</Name>
              <Page isRef="5" />
              <Parent isRef="65" />
              <Text>{IIF(Pri_Mande==0,Switch(SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)&gt;0,"بد",SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bes_sum)&lt;0,"بس",SumRunning(DataBand1,AccountingOffices_Float_pro.m_bed_sum-AccountingOffices_Float_pro.m_bed_sum)==0,"")
,Switch(Pri_Mande&gt;0,"بد",Pri_Mande&lt;0,"بس",Pri_Mande==0,""))}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="72" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </txt_footer_tashkhis>
            <Text30 Ref="73" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>6.4,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>4f9438049a8a4d638d3392f758519ac5</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text30</Name>
              <Page isRef="5" />
              <Parent isRef="65" />
              <Text>{IIF(PriSum_bed==0,cSum(DataBand1,AccountingOffices_Float_pro.bed_sum),PriSum_bed)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="74" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text30>
          </Components>
          <Conditions isList="true" count="1">
            <value>_x007B_IsLastPage_x007D_,Red,Transparent,Arial_x002C_8,False,False,,,None</value>
          </Conditions>
          <Guid>852b17551ea449c195276d3fc768f41b</Guid>
          <Name>FooterBand1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <PrintOnAllPages>True</PrintOnAllPages>
        </FooterBand1>
        <FooterBand2 Ref="75" type="FooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,11.8,19,0.6</ClientRectangle>
          <Components isList="true" count="5">
            <Text21 Ref="76" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>9.2,0.01,9.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,10,Bold</Font>
              <Guid>60844d94ce594f74a5107beed1c9497c</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text21</Name>
              <Page isRef="5" />
              <Parent isRef="75" />
              <Text> مانده کل</Text>
              <TextBrush>Black</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text21>
            <Text40 Ref="77" type="Text" isKey="true">
              <Border>Top, Right, Bottom;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>3.6,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>7471123135534c24856f393d2739efd2</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text40</Name>
              <Page isRef="5" />
              <Parent isRef="75" />
              <Text>{Sum(DataBand1,AccountingOffices_Float_pro.bes_sum)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="78" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Totals</Type>
              <VertAlignment>Center</VertAlignment>
            </Text40>
            <Text41 Ref="79" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>0,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>efa74fbd6a944f9580d56cd661ae0c06</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text41</Name>
              <Page isRef="5" />
              <Parent isRef="75" />
              <Text>{Abs(SumRunning(DataBand1,AccountingOffices_Float_pro.bed_sum-AccountingOffices_Float_pro.bes_sum))}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="80" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text41>
            <Text42 Ref="81" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>2.8,0.01,0.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,11</Font>
              <Guid>e07ec9f34d5a421d885a0c7773e26f9d</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text42</Name>
              <Page isRef="5" />
              <Parent isRef="75" />
              <Text>{Pri_Tashkhis=Switch(SumRunning(DataBand1,AccountingOffices_Float_pro.bed_sum-AccountingOffices_Float_pro.bes_sum)&gt;0,"بد",SumRunning(DataBand1,AccountingOffices_Float_pro.bed_sum-AccountingOffices_Float_pro.bes_sum)&lt;0,"بس",SumRunning(DataBand1,AccountingOffices_Float_pro.bed_sum-AccountingOffices_Float_pro.bes_sum)==0,"")}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="82" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text42>
            <Text43 Ref="83" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Beige</Brush>
              <ClientRectangle>6.4,0.01,2.8,0.7</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>9a362594ce7644e2a056de532175370c</Guid>
              <HideZeros>True</HideZeros>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text43</Name>
              <Page isRef="5" />
              <Parent isRef="75" />
              <Text>{Sum(DataBand1,AccountingOffices_Float_pro.bed_sum)}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="84" type="NumberFormat" isKey="true">
                <DecimalDigits>0</DecimalDigits>
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <UseLocalSetting>False</UseLocalSetting>
              </TextFormat>
              <Type>Totals</Type>
              <VertAlignment>Center</VertAlignment>
            </Text43>
          </Components>
          <Conditions isList="true" count="0" />
          <Enabled>False</Enabled>
          <Guid>7927b7a8c0844fb8bfb139e5e404c4bd</Guid>
          <Name>FooterBand2</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <PrintOnAllPages>True</PrintOnAllPages>
        </FooterBand2>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>e3416b0ebc7142f38bad670960a9edc9</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <PrintOnPreviousPage>True</PrintOnPreviousPage>
      <Report isRef="0" />
      <Watermark Ref="85" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="86" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" />
  <ReferencedAssemblies isList="true" count="8">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Report</ReportAlias>
  <ReportChanged>10/27/2018 3:37:01 PM</ReportChanged>
  <ReportCreated>6/22/2015 1:11:37 PM</ReportCreated>
  <ReportFile>C:\Users\SRP\Desktop\New folder (2)\acc_Report_AccountingOffice_Float_WithMoin.mrt</ReportFile>
  <ReportGuid>41203585b134456b80e0d094fda3227b</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2012.2.1304</ReportVersion>
  <Script>using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;

namespace Reports
{
    public class Report : Stimulsoft.Report.StiReport
    {
        public Report()        {
            this.InitializeComponent();
        }
		public string SplitString(string rsString, string rsDelimiter, int riItem) {
			if (rsString.Contains(rsDelimiter)) {
				return rsString.Split(rsDelimiter.ToCharArray())[riItem];         
			} else {
				return rsString;
			}
		}

	
		
		public string SubStringCode(string  str,char sp,int level)
		{
			string[] tokens = str.Split(sp);
			string retVal="";
			if(level&gt;tokens.Length)
				level=tokens.Length;
			for (int i = 0; i &lt; level; i++)
				retVal += tokens[i]+"،";
			return     retVal = retVal.Substring(0, retVal.Length - 1);
		}
		public string SubStringLeftCode(string  str,char sp,int level)
		{
			string[] tokens = str.Split(sp);
			string retVal="";
			if(level&gt;tokens.Length)
				level=tokens.Length;
			for (int i = 1; i &lt; level; i++)
				retVal += tokens[i]+"،";
			return     retVal = retVal.Substring(0, retVal.Length - 1);
		}
		

        #region StiReport Designer generated code - do not modify
		#endregion StiReport Designer generated code - do not modify
    }
}
</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="1">
    <Style1 Ref="87" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Brush>Silver</Brush>
      <Conditions isList="true" count="0" />
      <Description />
      <Font>Arial,8</Font>
      <Name>Style1</Name>
      <TextBrush>Black</TextBrush>
    </Style1>
  </Styles>
</StiSerializer>