﻿<?xml version="1.0" encoding="utf-8"?>
<inherited BaseReport="..\Base.frx" ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="05/15/2013 14:45:40" ReportInfo.Modified="06/09/2015 10:38:13" ReportInfo.CreatorVersion="1.6.57.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 Form1_Shown(object sender, EventArgs e)
    {
      dtpFromDate.Text = System.DateTime.Now.ToString(&quot;d MMMM yyy&quot;);
      dtpToDate.Text = System.DateTime.Now.ToString(&quot;d MMMM yyy&quot;);
      
      cboClientName.Items.Insert(0, &quot;All&quot;);
      cboClientName.Text = &quot;All&quot;;
      cboOrderBy.Text = cboOrderBy.Items[0].ToString();
      
      lblReason.Visible = chkShowPayouts.Checked;
      cboReason.Visible = chkShowPayouts.Checked;
      cboReason.Items.Insert(0, &quot;All&quot;);
      cboReason.Text = &quot;All&quot;;
      
      chkShowQuotations.Text = &quot;Show &quot; + Report.GetColumnValue(&quot;programs_config.QuotationDefaultName&quot;).ToString();
      chkShowProforma.Text = &quot;Show &quot; + Report.GetColumnValue(&quot;programs_config.ProformaDefaultName&quot;).ToString();
      
      
      string confPayOutReasons  = Report.GetColumnValue(&quot;PayoutReasons.PayOutReasons&quot;).ToString();
      string[] reasons = confPayOutReasons.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);

      if (reasons.Length &gt; 0)
      {
        foreach (string reason in reasons)
        {
          cboReason.Items.Add(reason);
        }
      }
      else
      {
        cboReason.Items.Add(&quot;No reasons to choose from&quot;);
      }

    }

    
    private void btnOk_Click(object sender, EventArgs e)
    {
      Report.SetParameterValue(&quot;FromDate&quot;, dtpFromDate.Value.ToString(&quot;yyyy-MM-dd&quot;));
      Report.SetParameterValue(&quot;ToDate&quot;, dtpToDate.Value.ToString(&quot;yyyy-MM-dd&quot;));       
      
      string orderBy = String.Empty;
      if (cboOrderBy.Text == &quot;Date&quot;)
        orderBy = &quot;DATE_FORMAT(`Date`,'%Y-%m-%d')&quot;;      
      else if (cboOrderBy.Text == &quot;Document #&quot;)      
        orderBy = &quot;TransID&quot;;      
      else if (cboOrderBy.Text == &quot;Client Name&quot;)
        orderBy = &quot;ClientName&quot;;
      else if (cboOrderBy.Text == &quot;Sales Rep&quot;)
        orderBy = &quot;SalesRep&quot;; 
      
      //For a specific client
      string forClient = &quot;ID &gt;= 0&quot;;
      if (cboClientName.Text != &quot;All&quot;)
        forClient = String.Format(&quot;ClientName = '{0}'&quot;, cboClientName.Text);
      
      //IBT
      grpHeadIBT.Printable = chkShowIBT.Checked;
      DataIBT.Printable = chkShowIBT.Checked;
      GrpFootIBT.Printable = chkShowIBT.Checked;
      grpHeadIBTreturn.Printable = chkShowIBT.Checked;
      DataIBTreturn.Printable = chkShowIBT.Checked;
      grpFootIBTreturn.Printable = chkShowIBT.Checked;
      ChildIBT.Printable = chkShowIBT.Checked;
      //Quotations
      grpHeadQuotations.Printable = chkShowQuotations.Checked;
      DataQuotations.Printable = chkShowQuotations.Checked;
      grpFootQuotations.Printable = chkShowQuotations.Checked;
      //Proforma Invoices
      grpHeadProforma.Printable = chkShowProforma.Checked;
      DataProforma.Printable = chkShowProforma.Checked;
      grpFootProforma.Printable = chkShowProforma.Checked;
      //Payouts
      grpHeadPayouts.Printable = chkShowPayouts.Checked;
      DataPayouts.Printable = chkShowPayouts.Checked;
      grpFootPayouts.Printable = chkShowPayouts.Checked;
      
      if (chkShowIBT.Checked)
      {
        TableDataSource tIBT = Report.GetDataSource(&quot;IBT&quot;) as TableDataSource;
        TableDataSource tIBTreturn = Report.GetDataSource(&quot;IBT_returns&quot;) as TableDataSource;
      
        tIBT.SelectCommand = tIBT.SelectCommand.ToString().Replace(&quot;@OrderBy&quot;, orderBy);
        tIBTreturn.SelectCommand = tIBTreturn.SelectCommand.ToString().Replace(&quot;@OrderBy&quot;, orderBy);      
      
        tIBT.SelectCommand = tIBT.SelectCommand.ToString().Replace(&quot;@ForClient&quot;, forClient);
        tIBTreturn.SelectCommand = tIBTreturn.SelectCommand.ToString().Replace(&quot;@ForClient&quot;, forClient);        
      }
      
      if (chkShowQuotations.Checked)
      {
        TableDataSource tQuotations = Report.GetDataSource(&quot;Quotations&quot;) as TableDataSource;
        tQuotations.SelectCommand = tQuotations.SelectCommand.ToString().Replace(&quot;@OrderBy&quot;, orderBy);
        tQuotations.SelectCommand = tQuotations.SelectCommand.ToString().Replace(&quot;@ForClient&quot;, forClient);
      }
      
      if (chkShowProforma.Checked)
      {
        TableDataSource tProforma = Report.GetDataSource(&quot;Proforma&quot;) as TableDataSource;
        tProforma.SelectCommand = tProforma.SelectCommand.ToString().Replace(&quot;@OrderBy&quot;, orderBy);
        tProforma.SelectCommand = tProforma.SelectCommand.ToString().Replace(&quot;@ForClient&quot;, forClient);
      }
      
      if (chkShowPayouts.Checked)
      {
        //For a specific Reason
        string Reason = &quot;TransID &gt;= 0&quot;;
        if (cboReason.Text != &quot;All&quot;)
          Reason = String.Format(&quot;Reason = '{0}'&quot;, cboReason.Text.Trim());
        
        TableDataSource tPayouts = Report.GetDataSource(&quot;Payouts&quot;) as TableDataSource;
        tPayouts.SelectCommand = tPayouts.SelectCommand.ToString().Replace(&quot;@Reason&quot;, Reason);
        tPayouts.SelectCommand = tPayouts.SelectCommand.ToString().Replace(&quot;@OrderBy&quot;, orderBy);
        
      }
      
    }
       
    
    private void Child2_AfterData(object sender, EventArgs e)
    {
      txtTotCostIBT.Text = (Report.GetTotalValue(&quot;TotalCost_IBT&quot;) - Report.GetTotalValue(&quot;TotalCost_IBT_Return&quot;)).ToString();
      decimal number = 0; 
      if (Decimal.TryParse(txtTotCostIBT.Text, out number)) 
        txtTotCostIBT.Text = Convert.ToDecimal(txtTotCostIBT.Text).ToString(&quot;# ###.00&quot;);
    }

    private void chkShowPayouts_Click(object sender, EventArgs e)
    {
      lblReason.Visible = chkShowPayouts.Checked;
      cboReason.Visible = chkShowPayouts.Checked;
    }
    
    
  }
}
</ScriptText>
  <Dictionary>
    <MySqlDataConnection Name="Connection" ConnectionString="rijcmlqvPT/uGtq7mDUOjqaWuhGg+L4M6JSzK6kmKcze5kxuKHd01n+NCUMF5bzQTKxV8yuYsuHNxpzF2pHC5nqnuwPf0h4wZGqgEf3jYh+V5jC2Ys=">
      <TableDataSource Name="companies" DataType="System.Int32" Enabled="true" TableName="companies" SelectCommand="SELECT * FROM companies WHERE ID = @CompanyID">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="Name" DataType="System.String"/>
        <Column Name="Email" DataType="System.String"/>
        <Column Name="Address" DataType="System.String"/>
        <Column Name="RegNo" DataType="System.String"/>
        <Column Name="VATno" DataType="System.String"/>
        <Column Name="ContactNo" DataType="System.String"/>
        <Column Name="AltNo" DataType="System.String"/>
        <Column Name="FaxNo" DataType="System.String"/>
        <Column Name="CellNo" DataType="System.String"/>
        <Column Name="LogoPath" DataType="System.String"/>
        <Column Name="InvoiceStylePath" DataType="System.String"/>
        <Column Name="InvoiceSize" DataType="System.String"/>
        <Column Name="VATrate" DataType="System.String"/>
        <Column Name="BankingDetails" DataType="System.String"/>
        <CommandParameter Name="companyID" DataType="254" Expression="[CompanyID]"/>
      </TableDataSource>
      <TableDataSource Name="Table1" Alias="clients" DataType="System.Int32" Enabled="true" SelectCommand="SELECT Name FROM clients WHERE CompanyID = @CompanyID &#13;&#10;ORDER BY Name">
        <Column Name="Name" DataType="System.String"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
      </TableDataSource>
      <TableDataSource Name="IBT" DataType="System.Int32" PropName="Table2" Enabled="true" TableName="IBT" SelectCommand="SELECT * FROM ibt &#13;&#10;WHERE CompanyID = @CompanyID AND DATE_FORMAT(`Date`,'%Y-%m-%d') BETWEEN DATE_FORMAT(@FromDate,'%Y-%m-%d') AND DATE_FORMAT(@ToDate,'%Y-%m-%d') &#13;&#10;AND @ForClient &#13;&#10;ORDER BY @OrderBy">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="CompanyID" DataType="System.UInt32"/>
        <Column Name="Date" DataType="System.DateTime"/>
        <Column Name="ComputerName" DataType="System.String"/>
        <Column Name="SalesRep" DataType="System.String"/>
        <Column Name="ClientID" DataType="System.UInt32"/>
        <Column Name="ClientName" DataType="System.String"/>
        <Column Name="SlipNote" DataType="System.String"/>
        <Column Name="Custom1" DataType="System.String"/>
        <Column Name="Custom2" DataType="System.String"/>
        <Column Name="Custom3" DataType="System.String"/>
        <Column Name="Custom4" DataType="System.String"/>
        <Column Name="Custom5" DataType="System.String"/>
        <Column Name="Custom6" DataType="System.String"/>
        <Column Name="TotalCost" DataType="System.Decimal"/>
        <Column Name="TransID" DataType="System.UInt32"/>
        <Column Name="DeliveryAddress" DataType="System.String"/>
        <Column Name="TotalReturnsIncl" DataType="System.Decimal"/>
        <Column Name="RelReturnIDs" DataType="System.String"/>
        <Column Name="StatementNote" DataType="System.String"/>
        <CommandParameter Name="FromDate" DataType="254" Expression="[FromDate]"/>
        <CommandParameter Name="ToDate" DataType="254" Expression="[ToDate]"/>
        <CommandParameter Name="ForClient" DataType="254"/>
        <CommandParameter Name="OrderBy" DataType="254"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
      </TableDataSource>
      <TableDataSource Name="IBT_returns" DataType="System.Int32" PropName="Table3" Enabled="true" TableName="IBT_returns" SelectCommand="SELECT * FROM ibt_returns &#13;&#10;WHERE CompanyID = @CompanyID AND DATE_FORMAT(`Date`,'%Y-%m-%d') BETWEEN DATE_FORMAT(@FromDate,'%Y-%m-%d') AND DATE_FORMAT(@ToDate,'%Y-%m-%d') &#13;&#10;AND @ForClient &#13;&#10;ORDER BY @OrderBy">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="CompanyID" DataType="System.UInt32"/>
        <Column Name="Date" DataType="System.DateTime"/>
        <Column Name="ComputerName" DataType="System.String"/>
        <Column Name="SalesRep" DataType="System.String"/>
        <Column Name="ClientID" DataType="System.UInt32"/>
        <Column Name="ClientName" DataType="System.String"/>
        <Column Name="SlipNote" DataType="System.String"/>
        <Column Name="TotalCost" DataType="System.Decimal"/>
        <Column Name="TransID" DataType="System.UInt32"/>
        <Column Name="RelatedTransID" DataType="System.UInt32"/>
        <Column Name="StatementNote" DataType="System.String"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
        <CommandParameter Name="fromDate" DataType="254" Expression="[FromDate]"/>
        <CommandParameter Name="toDate" DataType="254" Expression="[ToDate]"/>
        <CommandParameter Name="OrderBy" DataType="254"/>
        <CommandParameter Name="ForClient" DataType="254"/>
      </TableDataSource>
      <TableDataSource Name="Quotations" DataType="System.Int32" PropName="Table" Enabled="true" TableName="Quotations" SelectCommand="SELECT * FROM quotations &#13;&#10;WHERE CompanyID = @CompanyID AND DATE_FORMAT(`Date`,'%Y-%m-%d') BETWEEN DATE_FORMAT(@FromDate,'%Y-%m-%d') AND DATE_FORMAT(@ToDate,'%Y-%m-%d') &#13;&#10;AND @ForClient &#13;&#10;ORDER BY @OrderBy">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="CompanyID" DataType="System.UInt32"/>
        <Column Name="Date" DataType="System.DateTime"/>
        <Column Name="ComputerName" DataType="System.String"/>
        <Column Name="SalesRep" DataType="System.String"/>
        <Column Name="ClientID" DataType="System.UInt32"/>
        <Column Name="ClientName" DataType="System.String"/>
        <Column Name="SlipNote" DataType="System.String"/>
        <Column Name="Custom1" DataType="System.String"/>
        <Column Name="Custom2" DataType="System.String"/>
        <Column Name="Custom3" DataType="System.String"/>
        <Column Name="Custom4" DataType="System.String"/>
        <Column Name="Custom5" DataType="System.String"/>
        <Column Name="Custom6" DataType="System.String"/>
        <Column Name="TotalExcl" DataType="System.Decimal"/>
        <Column Name="TotalVAT" DataType="System.Decimal"/>
        <Column Name="TotalIncl" DataType="System.Decimal"/>
        <Column Name="TransID" DataType="System.UInt32"/>
        <Column Name="DeliveryAddress" DataType="System.String"/>
        <CommandParameter Name="fromDate" DataType="254" Expression="[FromDate]"/>
        <CommandParameter Name="toDate" DataType="254" Expression="[ToDate]"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
        <CommandParameter Name="forClient" DataType="254"/>
        <CommandParameter Name="orderBy" DataType="254"/>
      </TableDataSource>
      <TableDataSource Name="Table2" Alias="Proforma" DataType="System.Int32" Enabled="true" SelectCommand="SELECT * FROM proforma_invoices &#13;&#10;WHERE CompanyID = @CompanyID AND DATE_FORMAT(`Date`,'%Y-%m-%d') BETWEEN DATE_FORMAT(@FromDate,'%Y-%m-%d') AND DATE_FORMAT(@ToDate,'%Y-%m-%d') &#13;&#10;AND @ForClient &#13;&#10;ORDER BY @OrderBy">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="CompanyID" DataType="System.UInt32"/>
        <Column Name="Date" DataType="System.DateTime"/>
        <Column Name="ComputerName" DataType="System.String"/>
        <Column Name="SalesRep" DataType="System.String"/>
        <Column Name="ClientID" DataType="System.UInt32"/>
        <Column Name="ClientName" DataType="System.String"/>
        <Column Name="SlipNote" DataType="System.String"/>
        <Column Name="Custom1" DataType="System.String"/>
        <Column Name="Custom2" DataType="System.String"/>
        <Column Name="Custom3" DataType="System.String"/>
        <Column Name="Custom4" DataType="System.String"/>
        <Column Name="Custom5" DataType="System.String"/>
        <Column Name="Custom6" DataType="System.String"/>
        <Column Name="TotalExcl" DataType="System.Decimal"/>
        <Column Name="TotalVAT" DataType="System.Decimal"/>
        <Column Name="TotalIncl" DataType="System.Decimal"/>
        <Column Name="TransID" DataType="System.UInt32"/>
        <Column Name="DeliveryAddress" DataType="System.String"/>
        <CommandParameter Name="companyID" DataType="254" Expression="[CompanyID]"/>
        <CommandParameter Name="fromDate" DataType="254" Expression="[FromDate]"/>
        <CommandParameter Name="toDate" DataType="254" Expression="[ToDate]"/>
        <CommandParameter Name="forClient" DataType="254"/>
        <CommandParameter Name="orderBy" DataType="254"/>
      </TableDataSource>
      <TableDataSource Name="Payouts" DataType="System.Int32" PropName="Table3" Enabled="true" TableName="Payouts" SelectCommand="SELECT * FROM payouts &#13;&#10;WHERE CompanyID = @CompanyID &#13;&#10;AND DATE_FORMAT(`Date`,'%Y-%m-%d') BETWEEN DATE_FORMAT(@FromDate,'%Y-%m-%d') &#13;&#10;AND DATE_FORMAT(@ToDate,'%Y-%m-%d') &#13;&#10;AND @Reason &#13;&#10;ORDER BY @OrderBy, Reason">
        <Column Name="ID" DataType="System.UInt32"/>
        <Column Name="Date" DataType="System.DateTime"/>
        <Column Name="AmountPaid" DataType="System.Decimal"/>
        <Column Name="PaymentMethod" DataType="System.String"/>
        <Column Name="Reason" DataType="System.String"/>
        <Column Name="RelatedNo" DataType="System.String"/>
        <Column Name="SalesRep" DataType="System.String"/>
        <Column Name="CompanyID" DataType="System.UInt32"/>
        <Column Name="TransID" DataType="System.UInt32"/>
        <Column Name="VATamount" DataType="System.Decimal"/>
        <CommandParameter Name="companyID" DataType="254" Expression="[CompanyID]"/>
        <CommandParameter Name="fromDate" DataType="254" Expression="[FromDate]"/>
        <CommandParameter Name="toDate" DataType="254" Expression="[ToDate]"/>
        <CommandParameter Name="orderBy" DataType="254"/>
        <CommandParameter Name="Reason" DataType="254"/>
      </TableDataSource>
      <TableDataSource Name="Table" Alias="PayoutReasons" DataType="System.Int32" Enabled="true" SelectCommand="SELECT PayOutReasons FROM programs_config WHERE CompanyID = @CompanyID ">
        <Column Name="PayOutReasons" DataType="System.String"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
      </TableDataSource>
      <TableDataSource Name="Table3" Alias="programs_config" DataType="System.Int32" Enabled="true" SelectCommand="SELECT QuotationDefaultName, ProformaDefaultName FROM programs_config &#13;&#10;WHERE CompanyID = @CompanyID">
        <Column Name="QuotationDefaultName" DataType="System.String"/>
        <Column Name="ProformaDefaultName" DataType="System.String"/>
        <CommandParameter Name="CompanyID" DataType="254" Expression="[CompanyID]"/>
      </TableDataSource>
    </MySqlDataConnection>
    <Parameter Name="CompanyID" DataType="System.Int32"/>
    <Parameter Name="FromDate" DataType="System.String"/>
    <Parameter Name="ToDate" DataType="System.String"/>
    <Total Name="TotalCost_IBT" Expression="[IBT.TotalCost]" Evaluator="DataIBT"/>
    <Total Name="Count_Qty_IBT" TotalType="Count" Evaluator="DataIBT"/>
    <Total Name="TotalCost_IBT_Return" Expression="[IBT_returns.TotalCost]" Evaluator="DataIBTreturn"/>
    <Total Name="Count_Qty_IBT_Return" TotalType="Count" Evaluator="DataIBTreturn"/>
    <Total Name="Total_Excl_Quotations" Expression="[Quotations.TotalExcl]" Evaluator="DataQuotations"/>
    <Total Name="Total_VAT_Quotations" Expression="[Quotations.TotalVAT]" Evaluator="DataQuotations"/>
    <Total Name="Total_Incl_Quotations" Expression="[Quotations.TotalIncl]" Evaluator="DataQuotations"/>
    <Total Name="Count_Trans_Quotations" TotalType="Count" Evaluator="DataQuotations"/>
    <Total Name="Total_Excl_Proforma" Expression="[Proforma.TotalExcl]" Evaluator="DataProforma"/>
    <Total Name="Total_VAT_Proforma" Expression="[Proforma.TotalVAT]" Evaluator="DataProforma"/>
    <Total Name="Total_Incl_Proforma" Expression="[Proforma.TotalIncl]" Evaluator="DataProforma"/>
    <Total Name="Count_Trans_Proforma" TotalType="Count" Evaluator="DataProforma"/>
    <Total Name="Total_Payouts" Expression="[Payouts.AmountPaid]" Evaluator="DataPayouts"/>
    <Total Name="Count_Trans_Payouts" TotalType="Count" Evaluator="DataPayouts"/>
    <Total Name="Total_VAT_Payout" Expression="[Payouts.VATamount]" Evaluator="DataPayouts"/>
  </Dictionary>
  <inherited Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" FirstPageSource="15" OtherPagesSource="15">
    <inherited Name="PageHeader1" Width="1047.06" Height="47.25">
      <inherited Name="_CompanyName"/>
      <ChildBand Name="Child1" ZOrder="-1" Top="51.25" Width="1047.06" Height="66.15">
        <TextObject Name="Text31" Left="18.9" Top="9.45" Width="680.4" Height="56.7" Text="Transactions - Other" Font="Segoe UI Light, 22pt" TextFill.Color="OliveDrab"/>
        <TextObject Name="Text80" Left="841.05" Top="9.45" Width="189" Height="18.9" Text="[FromDate]" Format="Custom" Format.Format="d MMMM yyy"/>
        <TextObject Name="Text81" Left="841.05" Top="37.8" Width="189" Height="18.9" Text="[ToDate]" Format="Custom" Format.Format="d MMMM yyy"/>
        <TextObject Name="Text22" Left="727.65" Top="9.45" Width="94.5" Height="18.9" Text="From Date:" HorzAlign="Right" TextFill.Color="DimGray"/>
        <TextObject Name="Text23" Left="727.65" Top="37.8" Width="94.5" Height="18.9" Text="To Date:" HorzAlign="Right" TextFill.Color="DimGray"/>
      </ChildBand>
    </inherited>
    <GroupHeaderBand Name="grpHeadIBT" ZOrder="0" Top="121.4" Width="1047.06" Height="94.5" RepeatOnEveryPage="true" Condition="[IBT.CompanyID]" SortOrder="None">
      <ShapeObject Name="Shape21" Top="9.45" Width="406.35" Height="47.25" Border.Color="Transparent" Fill="LinearGradient" Fill.StartColor="WhiteSmoke" Fill.EndColor="White" Fill.Angle="270" Fill.Focus="1" Fill.Contrast="0.89" Shape="RoundRectangle"/>
      <TextObject Name="Text126" Left="9.45" Top="18.9" Width="330.75" Height="28.35" Text="IBT's (Inter-branch Transfers)" Font="Segoe UI Light, 14pt" TextFill.Color="Navy"/>
      <ShapeObject Name="Shape22" Top="47.25" Width="1039.5" Height="37.8" Border.Color="Transparent" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text127" Left="170.1" Top="56.7" Width="94.5" Height="18.9" Text="Document #" HorzAlign="Right"/>
      <TextObject Name="Text128" Left="548.1" Top="56.7" Width="141.75" Height="18.9" Text="User"/>
      <TextObject Name="Text129" Left="274.05" Top="56.7" Width="94.5" Height="18.9" Text="Client Name"/>
      <TextObject Name="Text130" Left="9.45" Top="56.7" Width="94.5" Height="18.9" Text="Date"/>
      <TextObject Name="Text131" Left="907.2" Top="56.7" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right"/>
      <DataBand Name="DataIBT" Top="219.9" Width="1047.06" Height="18.9" DataSource="IBT">
        <TextObject Name="Text132" Left="170.1" Width="94.5" Height="18.9" Text="[IBT.TransID]" HorzAlign="Right"/>
        <TextObject Name="Text133" Left="9.45" Width="151.2" Height="18.9" Text="[IBT.Date]" Format="Custom" Format.Format="yyyy/MM/dd HH:mm"/>
        <TextObject Name="Text134" Left="274.05" Width="264.6" Height="18.9" Text="[IBT.ClientName]" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text135" Left="548.1" Width="141.75" Height="18.9" Text="[IBT.SalesRep]" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text136" Left="907.2" Width="94.5" Height="18.9" Text="[IBT.TotalCost]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
      </DataBand>
      <GroupFooterBand Name="GrpFootIBT" Top="242.8" Width="1047.06" Height="56.7">
        <ShapeObject Name="Shape23" Top="9.45" Width="1039.5" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
        <TextObject Name="Text137" Left="18.9" Top="18.9" Width="160.65" Height="18.9" Text="Transaction Qty:" HorzAlign="Right" TextFill.Color="DimGray"/>
        <TextObject Name="Text138" Left="189" Top="18.9" Width="94.5" Height="18.9" Text="[Count_Qty_IBT]"/>
        <TextObject Name="Text139" Left="907.2" Top="18.9" Width="94.5" Height="18.9" Text="[TotalCost_IBT]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
      </GroupFooterBand>
    </GroupHeaderBand>
    <GroupHeaderBand Name="grpHeadIBTreturn" ZOrder="1" Top="307.5" Width="1047.06" Height="94.5" RepeatOnEveryPage="true" Condition="[IBT_returns.CompanyID]" SortOrder="None">
      <ShapeObject Name="Shape24" Top="9.45" Width="406.35" Height="47.25" Border.Color="Transparent" Fill="LinearGradient" Fill.StartColor="WhiteSmoke" Fill.EndColor="White" Fill.Angle="270" Fill.Focus="1" Fill.Contrast="0.89" Shape="RoundRectangle"/>
      <TextObject Name="Text140" Left="9.45" Top="18.9" Width="330.75" Height="28.35" Text="IBT Returns" Font="Segoe UI Light, 14pt" TextFill.Color="DarkRed"/>
      <ShapeObject Name="Shape25" Top="47.25" Width="1039.5" Height="37.8" Border.Color="Transparent" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text141" Left="170.1" Top="56.7" Width="94.5" Height="18.9" Text="Document #" HorzAlign="Right"/>
      <TextObject Name="Text142" Left="548.1" Top="56.7" Width="141.75" Height="18.9" Text="User"/>
      <TextObject Name="Text143" Left="274.05" Top="56.7" Width="94.5" Height="18.9" Text="Client Name"/>
      <TextObject Name="Text144" Left="9.45" Top="56.7" Width="94.5" Height="18.9" Text="Date"/>
      <TextObject Name="Text145" Left="907.2" Top="56.7" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right"/>
      <DataHeaderBand Name="DataHeader5" Top="303.5" Width="1047.06" StartNewPage="true"/>
      <DataBand Name="DataIBTreturn" Top="406" Width="1047.06" Height="18.9" DataSource="IBT_returns">
        <TextObject Name="Text146" Left="170.1" Width="94.5" Height="18.9" Text="[IBT_returns.TransID]" HorzAlign="Right"/>
        <TextObject Name="Text147" Left="9.45" Width="151.2" Height="18.9" Text="[IBT_returns.Date]" Format="Custom" Format.Format="yyyy/MM/dd HH:mm"/>
        <TextObject Name="Text148" Left="274.05" Width="264.6" Height="18.9" Text="[IBT_returns.ClientName]" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text149" Left="548.1" Width="141.75" Height="18.9" Text="[IBT_returns.SalesRep]" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text150" Left="907.2" Width="94.5" Height="18.9" Text="[IBT_returns.TotalCost]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
      </DataBand>
      <GroupFooterBand Name="grpFootIBTreturn" Top="428.9" Width="1047.06" Height="56.7">
        <ShapeObject Name="Shape26" Top="9.45" Width="1039.5" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
        <TextObject Name="Text151" Left="18.9" Top="18.9" Width="160.65" Height="18.9" Text="Transaction Qty:" HorzAlign="Right" TextFill.Color="DimGray"/>
        <TextObject Name="Text152" Left="189" Top="18.9" Width="94.5" Height="18.9" Text="[Count_Qty_IBT_Return]"/>
        <TextObject Name="Text153" Left="907.2" Top="18.9" Width="94.5" Height="18.9" Text="[TotalCost_IBT_Return]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <ChildBand Name="ChildIBT" Top="489.6" Width="1047.06" Height="47.25" AfterDataEvent="Child2_AfterData">
          <ShapeObject Name="Shape27" Left="387.45" Top="9.45" Width="652.05" Height="37.8" Border.Color="Gainsboro" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
          <TextObject Name="txtTotCostIBT" Left="907.2" Top="18.9" Width="94.5" Height="18.9" Text="0.00" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator=" " Format.NegativePattern="1" HorzAlign="Right"/>
          <TextObject Name="Text156" Left="396.9" Top="18.9" Width="274.05" Height="18.9" Text="Totals (IBT - Returns):" HorzAlign="Right" TextFill.Color="DimGray"/>
        </ChildBand>
      </GroupFooterBand>
    </GroupHeaderBand>
    <GroupHeaderBand Name="grpHeadQuotations" ZOrder="2" Top="544.85" Width="1047.06" Height="94.5" RepeatOnEveryPage="true" Condition="[Quotations.CompanyID]" SortOrder="None">
      <ShapeObject Name="Shape28" Top="9.45" Width="406.35" Height="47.25" Border.Color="Transparent" Fill="LinearGradient" Fill.StartColor="WhiteSmoke" Fill.EndColor="White" Fill.Angle="270" Fill.Focus="1" Fill.Contrast="0.89" Shape="RoundRectangle"/>
      <TextObject Name="Text157" Left="9.45" Top="18.9" Width="330.75" Height="28.35" Text="[programs_config.QuotationDefaultName]" Font="Segoe UI Light, 14pt" TextFill.Color="DarkSlateGray"/>
      <ShapeObject Name="Shape29" Top="47.25" Width="1039.5" Height="37.8" Border.Color="Transparent" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text158" Left="170.1" Top="56.7" Width="94.5" Height="18.9" Text="Document #" HorzAlign="Right"/>
      <TextObject Name="Text159" Left="548.1" Top="56.7" Width="141.75" Height="18.9" Text="User"/>
      <TextObject Name="Text160" Left="274.05" Top="56.7" Width="94.5" Height="18.9" Text="Client Name"/>
      <TextObject Name="Text161" Left="9.45" Top="56.7" Width="94.5" Height="18.9" Text="Date"/>
      <TextObject Name="Text162" Left="907.2" Top="56.7" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right"/>
      <TextObject Name="Text86" Left="699.3" Top="56.7" Width="94.5" Height="18.9" Text="Total Excl" HorzAlign="Right"/>
      <TextObject Name="Text87" Left="803.25" Top="56.7" Width="94.5" Height="18.9" Text="Total VAT" HorzAlign="Right"/>
      <DataHeaderBand Name="DataHeader1" Top="540.85" Width="1047.06" StartNewPage="true"/>
      <DataBand Name="DataQuotations" Top="643.35" Width="1047.06" Height="18.9" DataSource="Quotations">
        <TextObject Name="Text163" Left="170.1" Width="94.5" Height="18.9" Text="[Quotations.TransID]" HorzAlign="Right"/>
        <TextObject Name="Text164" Left="9.45" Width="151.2" Height="18.9" Text="[Quotations.Date]" Format="Custom" Format.Format="yyyy/MM/dd HH:mm"/>
        <TextObject Name="Text165" Left="274.05" Width="264.6" Height="18.9" Text="[Quotations.ClientName]" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text166" Left="548.1" Width="141.75" Height="18.9" Text="[Quotations.SalesRep]" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text167" Left="907.2" Width="94.5" Height="18.9" Text="[Quotations.TotalIncl]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text95" Left="699.3" Width="94.5" Height="18.9" Text="[Quotations.TotalExcl]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text96" Left="803.25" Width="94.5" Height="18.9" Text="[Quotations.TotalVAT]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
      </DataBand>
      <GroupFooterBand Name="grpFootQuotations" Top="666.25" Width="1047.06" Height="56.7">
        <ShapeObject Name="Shape12" Top="9.45" Width="1039.5" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
        <TextObject Name="Text99" Left="18.9" Top="18.9" Width="160.65" Height="18.9" Text="Transaction Qty:" HorzAlign="Right" TextFill.Color="DimGray"/>
        <TextObject Name="Text20" Left="699.3" Top="18.9" Width="94.5" Height="18.9" Text="[Total_Excl_Quotations]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text21" Left="803.25" Top="18.9" Width="94.5" Height="18.9" Text="[Total_VAT_Quotations]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text24" Left="907.2" Top="18.9" Width="94.5" Height="18.9" Text="[Total_Incl_Quotations]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text25" Left="189" Top="18.9" Width="94.5" Height="18.9" Text="[Count_Trans_Quotations]"/>
      </GroupFooterBand>
    </GroupHeaderBand>
    <GroupHeaderBand Name="grpHeadProforma" ZOrder="3" Top="730.95" Width="1047.06" Height="85.05" RepeatOnEveryPage="true" Condition="[Proforma.CompanyID]" SortOrder="None">
      <ShapeObject Name="Shape30" Top="9.45" Width="406.35" Height="47.25" Border.Color="Transparent" Fill="LinearGradient" Fill.StartColor="WhiteSmoke" Fill.EndColor="White" Fill.Angle="270" Fill.Focus="1" Fill.Contrast="0.89" Shape="RoundRectangle"/>
      <TextObject Name="Text168" Left="9.45" Top="9.45" Width="330.75" Height="28.35" Text="[programs_config.ProformaDefaultName]" Font="Segoe UI Light, 14pt" TextFill.Color="DarkGreen"/>
      <ShapeObject Name="Shape31" Top="37.8" Width="1039.5" Height="37.8" Border.Color="Transparent" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text169" Left="170.1" Top="47.25" Width="94.5" Height="18.9" Text="Document #" HorzAlign="Right"/>
      <TextObject Name="Text170" Left="548.1" Top="47.25" Width="141.75" Height="18.9" Text="User"/>
      <TextObject Name="Text171" Left="274.05" Top="47.25" Width="94.5" Height="18.9" Text="Client Name"/>
      <TextObject Name="Text172" Left="9.45" Top="47.25" Width="94.5" Height="18.9" Text="Date"/>
      <TextObject Name="Text173" Left="907.2" Top="47.25" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right"/>
      <TextObject Name="Text174" Left="699.3" Top="47.25" Width="94.5" Height="18.9" Text="Total Excl" HorzAlign="Right"/>
      <TextObject Name="Text175" Left="803.25" Top="47.25" Width="94.5" Height="18.9" Text="Total VAT" HorzAlign="Right"/>
      <DataHeaderBand Name="DataHeader2" Top="726.95" Width="1047.06" StartNewPage="true"/>
      <DataBand Name="DataProforma" Top="820" Width="1047.06" Height="18.9" DataSource="Table2">
        <TextObject Name="Text176" Left="170.1" Width="94.5" Height="18.9" Text="[Proforma.TransID]" HorzAlign="Right"/>
        <TextObject Name="Text177" Left="9.45" Width="151.2" Height="18.9" Text="[Proforma.Date]" Format="Custom" Format.Format="yyyy/MM/dd HH:mm"/>
        <TextObject Name="Text178" Left="274.05" Width="264.6" Height="18.9" Text="[Proforma.ClientName]" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text179" Left="548.1" Width="141.75" Height="18.9" Text="[Proforma.SalesRep]" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text180" Left="907.2" Width="94.5" Height="18.9" Text="[Proforma.TotalIncl]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text181" Left="699.3" Width="94.5" Height="18.9" Text="[Proforma.TotalExcl]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text182" Left="803.25" Width="94.5" Height="18.9" Text="[Proforma.TotalVAT]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
      </DataBand>
      <GroupFooterBand Name="grpFootProforma" Top="842.9" Width="1047.06" Height="56.7">
        <ShapeObject Name="Shape32" Top="9.45" Width="1039.5" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
        <TextObject Name="Text183" Left="18.9" Top="18.9" Width="160.65" Height="18.9" Text="Transaction Qty:" HorzAlign="Right" TextFill.Color="DimGray"/>
        <TextObject Name="Text184" Left="699.3" Top="18.9" Width="94.5" Height="18.9" Text="[Total_Excl_Proforma]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text185" Left="803.25" Top="18.9" Width="94.5" Height="18.9" Text="[Total_VAT_Proforma]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text186" Left="907.2" Top="18.9" Width="94.5" Height="18.9" Text="[Total_Incl_Proforma]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text187" Left="189" Top="18.9" Width="94.5" Height="18.9" Text="[Count_Trans_Proforma]"/>
      </GroupFooterBand>
    </GroupHeaderBand>
    <GroupHeaderBand Name="grpHeadPayouts" ZOrder="4" Top="907.6" Width="1047.06" Height="85.05" RepeatOnEveryPage="true" Condition="[Payouts.CompanyID]" SortOrder="None">
      <ShapeObject Name="Shape33" Top="9.45" Width="406.35" Height="47.25" Border.Color="Transparent" Fill="LinearGradient" Fill.StartColor="WhiteSmoke" Fill.EndColor="White" Fill.Angle="270" Fill.Focus="1" Fill.Contrast="0.89" Shape="RoundRectangle"/>
      <TextObject Name="Text188" Left="9.45" Top="9.45" Width="330.75" Height="28.35" Text="Payouts" Font="Segoe UI Light, 14pt" TextFill.Color="DarkRed"/>
      <ShapeObject Name="Shape34" Top="37.8" Width="1039.5" Height="37.8" Border.Color="Transparent" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
      <TextObject Name="Text189" Left="170.1" Top="47.25" Width="94.5" Height="18.9" Text="Document #" HorzAlign="Right"/>
      <TextObject Name="Text190" Left="548.1" Top="47.25" Width="141.75" Height="18.9" Text="User"/>
      <TextObject Name="Text191" Left="274.05" Top="47.25" Width="264.6" Height="18.9" Text="Reason"/>
      <TextObject Name="Text192" Left="9.45" Top="47.25" Width="94.5" Height="18.9" Text="Date"/>
      <TextObject Name="Text193" Left="907.2" Top="47.25" Width="94.5" Height="18.9" Text="Total" HorzAlign="Right"/>
      <TextObject Name="Text194" Left="699.3" Top="47.25" Width="94.5" Height="18.9" Text="Related #"/>
      <TextObject Name="Text206" Left="803.25" Top="47.25" Width="94.5" Height="18.9" Text="Total VAT" HorzAlign="Right"/>
      <DataHeaderBand Name="DataHeader3" Top="903.6" Width="1047.06" StartNewPage="true"/>
      <DataBand Name="DataPayouts" Top="996.65" Width="1047.06" Height="18.9" DataSource="Payouts">
        <TextObject Name="Text195" Left="170.1" Width="94.5" Height="18.9" Text="[Payouts.TransID]" HorzAlign="Right"/>
        <TextObject Name="Text196" Left="9.45" Width="151.2" Height="18.9" Text="[Payouts.Date]" Format="Custom" Format.Format="yyyy/MM/dd HH:mm"/>
        <TextObject Name="Text197" Left="274.05" Width="264.6" Height="18.9" Text="[Payouts.Reason]" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text198" Left="699.3" Width="94.5" Height="18.9" Text="[Payouts.RelatedNo]" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text199" Left="907.2" Width="94.5" Height="18.9" Text="[Payouts.AmountPaid]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text200" Left="548.1" Width="141.75" Height="18.9" Text="[Payouts.SalesRep]" Format="Number" Format.UseLocale="true" WordWrap="false" Trimming="EllipsisCharacter"/>
        <TextObject Name="Text207" Left="803.25" Width="94.5" Height="18.9" Text="[Payouts.VATamount]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Trimming="EllipsisCharacter"/>
      </DataBand>
      <GroupFooterBand Name="grpFootPayouts" Top="1019.55" Width="1047.06" Height="56.7">
        <ShapeObject Name="Shape35" Top="9.45" Width="1039.5" Height="37.8" Border.Color="WhiteSmoke" Fill.Color="WhiteSmoke" Shape="RoundRectangle"/>
        <TextObject Name="Text201" Left="18.9" Top="18.9" Width="160.65" Height="18.9" Text="Transaction Qty:" HorzAlign="Right" TextFill.Color="DimGray"/>
        <TextObject Name="Text204" Left="907.2" Top="18.9" Width="94.5" Height="18.9" Text="[Total_Payouts]" Format="Number" Format.UseLocale="true" HorzAlign="Right"/>
        <TextObject Name="Text205" Left="189" Top="18.9" Width="94.5" Height="18.9" Text="[Count_Trans_Payouts]"/>
        <TextObject Name="Text1" Left="803.25" Top="18.9" Width="94.5" Height="18.9" Text="[Total_VAT_Payout]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="2" Format.DecimalSeparator="." Format.GroupSeparator=" " Format.NegativePattern="1" HorzAlign="Right"/>
      </GroupFooterBand>
    </GroupHeaderBand>
    <PageFooterBand Name="PageFooter1" ZOrder="-1" Top="1080.25" Width="1047.06" Height="37.8">
      <TextObject Name="Text36" Left="9.45" Top="9.45" Width="94.5" Height="18.9" Text="[PageNofM]" Font="Arial, 9pt" TextFill.Color="DimGray"/>
      <TextObject Name="Text79" Left="765.45" Top="9.45" Width="94.5" Height="18.9" Text="Print Date:" HorzAlign="Right" TextFill.Color="DimGray"/>
      <TextObject Name="Text78" Left="869.4" Top="9.45" Width="160.65" Height="18.9" Text="[Date]" TextFill.Color="DimGray"/>
    </PageFooterBand>
  </inherited>
  <DialogPage Name="Form1" ZOrder="1" Width="650" Height="598" AcceptButton="btnOk" CancelButton="btnCancel" ShownEvent="Form1_Shown">
    <ButtonControl Name="btnOk" Left="462" Top="507" Height="40" Anchor="Bottom, Right" Font="Segoe UI, 10pt" TabIndex="0" Text="OK" ClickEvent="btnOk_Click" DialogResult="OK"/>
    <ButtonControl Name="btnCancel" Left="545" Top="507" Height="40" Anchor="Bottom, Right" Font="Segoe UI, 10pt" TabIndex="1" Text="Cancel" DialogResult="Cancel"/>
    <DateTimePickerControl Name="dtpFromDate" Left="228" Top="96" Width="220" Height="27" Font="Segoe UI, 11pt" ForeColor="DimGray" TabIndex="2" CustomFormat="d MMMM yyy" Format="Custom" Value="01/02/2014 16:15:55"/>
    <DateTimePickerControl Name="dtpToDate" Left="228" Top="136" Width="220" Height="27" Font="Segoe UI, 11pt" ForeColor="DimGray" TabIndex="3" CustomFormat="d MMMM yyy" Format="Custom" Value="01/02/2014 16:14:02"/>
    <LabelControl Name="Label1" Left="72" Top="100" Width="74" Height="20" Font="Segoe UI Light, 11pt" TabIndex="4" Text="From Date"/>
    <LabelControl Name="Label2" Left="72" Top="136" Width="56" Height="20" Font="Segoe UI Light, 11pt" TabIndex="5" Text="To Date"/>
    <LabelControl Name="Label3" Left="16" Top="24" Width="242" Height="37" Font="Segoe UI Light, 20pt" ForeColor="OliveDrab" TabIndex="6" Text="Transactions - Other"/>
    <ComboBoxControl Name="cboOrderBy" Left="228" Top="228" Width="233" Font="Segoe UI Light, 11pt" TabIndex="7" ClickEvent="" DropDownStyle="DropDownList" DropDownWidth="233" ItemHeight="20" ItemsText="Document #&#13;&#10;Date&#13;&#10;Client Name&#13;&#10;Sales Rep"/>
    <LabelControl Name="Label4" Left="72" Top="228" Width="116" Height="20" Font="Segoe UI Light, 11pt" TabIndex="5" Text="Order records By"/>
    <ComboBoxControl Name="cboClientName" Left="228" Top="188" Width="341" Font="Segoe UI Light, 11pt" TabIndex="7" ClickEvent="" DataColumn="clients.Name" DropDownStyle="DropDownList" DropDownWidth="233" ItemHeight="20"/>
    <LabelControl Name="Label5" Left="72" Top="188" Width="68" Height="20" Font="Segoe UI Light, 11pt" TabIndex="5" Text="For Client"/>
    <CheckBoxControl Name="chkShowIBT" Left="228" Top="280" Width="92" Font="Segoe UI Light, 11pt" TabIndex="8" Text="Show IBT's" Checked="true" CheckState="Checked"/>
    <CheckBoxControl Name="chkShowQuotations" Left="228" Top="312" Width="110" Font="Segoe UI Light, 11pt" TabIndex="8" Text="Show Quotes" Checked="true" CheckState="Checked"/>
    <CheckBoxControl Name="chkShowProforma" Left="228" Top="344" Width="122" Font="Segoe UI Light, 11pt" TabIndex="8" Text="Show Proforma" Checked="true" CheckState="Checked"/>
    <CheckBoxControl Name="chkShowPayouts" Left="228" Top="376" Width="112" Font="Segoe UI Light, 11pt" TabIndex="8" Text="Show Payouts" ClickEvent="chkShowPayouts_Click" Checked="true" CheckState="Checked"/>
    <ComboBoxControl Name="cboReason" Left="228" Top="412" Width="341" Font="Segoe UI Light, 11pt" TabIndex="7" ClickEvent="" DropDownStyle="DropDownList" DropDownWidth="233" ItemHeight="20"/>
    <LabelControl Name="lblReason" Left="72" Top="412" Width="123" Height="20" Font="Segoe UI Light, 11pt" TabIndex="5" Text="For Payout Reason"/>
  </DialogPage>
</inherited>
