<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="06/01/2020 09:39:55" ReportInfo.Modified="10/04/2025 12:11:03" ReportInfo.CreatorVersion="1.5.29.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 txtAltSatir1Miktar_AfterData(object sender, EventArgs e)
    {
      if(txtAltSatir1Miktar.Text==&quot;0&quot;){
        txtAltSatir1Miktar.Visible=false;
        txtAltSatir1Fiyat.Visible=false;
        txtAltSatir1UrunIsim.Visible=false;   
        txtAltSatir1X.Visible=false;
      }
    }

    private void txtAltSatir2Miktar_AfterData(object sender, EventArgs e)
    {
      if(txtAltSatir2Miktar.Text==&quot;0&quot;){
        txtAltSatir2Miktar.Visible=false;
        txtAltSatir2Fiyat.Visible=false;
        txtAltSatir2UrunIsim.Visible=false;
        txtAltSatir2X.Visible=false;
      }
    }
                    
    private void txtAltSatir1Fiyat_AfterData(object sender, EventArgs e)
    {
      if(txtAltSatir1Fiyat.Text==&quot;0&quot;+((String)Report.GetColumnValue(&quot;Evrak.localInfo.currencySymbol&quot;))){
        txtAltSatir1Fiyat.Visible=false;
      }
    }

    private void txtAltSatir2Fiyat_AfterData(object sender, EventArgs e)
    {
      if(txtAltSatir2Fiyat.Text==&quot;0&quot;+((String)Report.GetColumnValue(&quot;Evrak.localInfo.currencySymbol&quot;))){
        txtAltSatir2Fiyat.Visible=false;
      }
    }
  }
}
</ScriptText>
  <Dictionary>
    <BusinessObjectDataSource Name="Evrak" ReferenceName="Evrak" DataType="FastReport.Report" Enabled="true">
      <Column Name="ReportInfo" DataType="FastReport.ReportInfo">
        <Column Name="Name" DataType="System.String"/>
        <Column Name="Author" DataType="System.String"/>
        <Column Name="Version" DataType="System.String"/>
        <Column Name="Description" DataType="System.String"/>
        <Column Name="Picture" DataType="System.Drawing.Image, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" BindableControl="Picture"/>
        <Column Name="Created" DataType="System.DateTime"/>
        <Column Name="Modified" DataType="System.DateTime"/>
        <Column Name="SavePreviewPicture" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="PreviewPictureRatio" DataType="System.Single"/>
        <Column Name="CreatorVersion" DataType="System.String"/>
      </Column>
      <Column Name="ScriptLanguage" DataType="FastReport.Language"/>
      <Column Name="ConvertNulls" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="DoublePass" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="Compressed" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="UseFileCache" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="TextQuality" DataType="FastReport.TextQuality"/>
      <Column Name="SmoothGraphics" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="AutoFillDataSet" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="PrintSettings" DataType="FastReport.PrintSettings">
        <Column Name="Printer" DataType="System.String"/>
        <Column Name="SavePrinterWithReport" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="PrintToFile" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="PrintToFileName" DataType="System.String"/>
        <Column Name="PageRange" DataType="FastReport.PageRange"/>
        <Column Name="PageNumbers" DataType="System.String"/>
        <Column Name="Copies" DataType="System.Int32"/>
        <Column Name="Collate" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="PrintPages" DataType="FastReport.PrintPages"/>
        <Column Name="Reverse" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="Duplex" DataType="System.Drawing.Printing.Duplex, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
        <Column Name="PaperSource" DataType="System.Int32"/>
        <Column Name="PrintMode" DataType="FastReport.PrintMode"/>
        <Column Name="PrintOnSheetWidth" DataType="System.Single"/>
        <Column Name="PrintOnSheetHeight" DataType="System.Single"/>
        <Column Name="PrintOnSheetRawPaperSize" DataType="System.Int32"/>
        <Column Name="PagesOnSheet" DataType="FastReport.PagesOnSheet"/>
        <BusinessObjectDataSource Name="BusinessObjectDataSource12" Alias="CopyNames" DataType="System.String[]" PropName="CopyNames" Enabled="true">
          <Column Name="Length" DataType="System.Int32"/>
        </BusinessObjectDataSource>
        <Column Name="ShowDialog" DataType="System.Boolean" BindableControl="CheckBox"/>
      </Column>
      <Column Name="EmailSettings" DataType="FastReport.EmailSettings">
        <BusinessObjectDataSource Name="BusinessObjectDataSource13" Alias="Recipients" DataType="System.String[]" PropName="Recipients" Enabled="true">
          <Column Name="Length" DataType="System.Int32"/>
        </BusinessObjectDataSource>
        <Column Name="Subject" DataType="System.String"/>
        <Column Name="Message" DataType="System.String"/>
      </Column>
      <BusinessObjectDataSource Name="BusinessObjectDataSource14" Alias="Styles" DataType="FastReport.StyleCollection" PropName="Styles" Enabled="true">
        <Column Name="Name" DataType="System.String"/>
        <Column Name="Border" DataType="FastReport.Border">
          <Column Name="Color" DataType="System.Drawing.Color, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
          <Column Name="Shadow" DataType="System.Boolean" BindableControl="CheckBox"/>
          <Column Name="ShadowWidth" DataType="System.Single"/>
          <Column Name="ShadowColor" DataType="System.Drawing.Color, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
          <Column Name="Style" DataType="FastReport.LineStyle"/>
          <Column Name="Lines" DataType="FastReport.BorderLines"/>
          <Column Name="Width" DataType="System.Single"/>
          <Column Name="LeftLine" DataType="FastReport.BorderLine">
            <Column Name="Color" DataType="System.Drawing.Color, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
            <Column Name="Style" DataType="FastReport.LineStyle"/>
            <Column Name="Width" DataType="System.Single"/>
          </Column>
          <Column Name="TopLine" DataType="FastReport.BorderLine">
            <Column Name="Color" DataType="System.Drawing.Color, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
            <Column Name="Style" DataType="FastReport.LineStyle"/>
            <Column Name="Width" DataType="System.Single"/>
          </Column>
          <Column Name="RightLine" DataType="FastReport.BorderLine">
            <Column Name="Color" DataType="System.Drawing.Color, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
            <Column Name="Style" DataType="FastReport.LineStyle"/>
            <Column Name="Width" DataType="System.Single"/>
          </Column>
          <Column Name="BottomLine" DataType="FastReport.BorderLine">
            <Column Name="Color" DataType="System.Drawing.Color, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
            <Column Name="Style" DataType="FastReport.LineStyle"/>
            <Column Name="Width" DataType="System.Single"/>
          </Column>
        </Column>
        <Column Name="Fill" DataType="FastReport.FillBase"/>
        <Column Name="TextFill" DataType="FastReport.FillBase"/>
        <Column Name="Font" DataType="System.Drawing.Font, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
          <Column Name="Bold" DataType="System.Boolean" BindableControl="CheckBox"/>
          <Column Name="GdiCharSet" DataType="System.Byte"/>
          <Column Name="GdiVerticalFont" DataType="System.Boolean" BindableControl="CheckBox"/>
          <Column Name="Italic" DataType="System.Boolean" BindableControl="CheckBox"/>
          <Column Name="Name" DataType="System.String"/>
          <Column Name="Strikeout" DataType="System.Boolean" BindableControl="CheckBox"/>
          <Column Name="Underline" DataType="System.Boolean" BindableControl="CheckBox"/>
          <Column Name="Size" DataType="System.Single"/>
          <Column Name="Unit" DataType="System.Drawing.GraphicsUnit, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
        </Column>
        <Column Name="ApplyBorder" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="ApplyFill" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="ApplyTextFill" DataType="System.Boolean" BindableControl="CheckBox"/>
        <Column Name="ApplyFont" DataType="System.Boolean" BindableControl="CheckBox"/>
      </BusinessObjectDataSource>
      <BusinessObjectDataSource Name="BusinessObjectDataSource15" Alias="ReferencedAssemblies" DataType="System.String[]" PropName="ReferencedAssemblies" Enabled="true">
        <Column Name="Length" DataType="System.Int32"/>
      </BusinessObjectDataSource>
      <Column Name="StartReportEvent" DataType="System.String"/>
      <Column Name="FinishReportEvent" DataType="System.String"/>
      <Column Name="StoreInResources" DataType="System.Boolean" BindableControl="CheckBox"/>
      <Column Name="InitialPageNumber" DataType="System.Int32"/>
    </BusinessObjectDataSource>
  </Dictionary>
  <ReportPage Name="Page1" PaperWidth="80" PaperHeight="3571.8" LeftMargin="0" TopMargin="0" RightMargin="0" FirstPageSource="15" OtherPagesSource="15" Guides="113.4">
    <DataBand Name="Data2" Top="97.28" Width="302.4" Height="49.7" CanGrow="true" CanShrink="true" DataSource="products">
      <TextObject Name="Text6" Left="59.15" Width="140.3" Height="28.35" CanGrow="true" CanShrink="true" CanBreak="false" Text="[Evrak.products.name]" Font="Trebuchet MS, 10pt, style=Bold"/>
      <TextObject Name="Text10" Left="191.45" Width="47.25" Height="18.9" CanGrow="true" CanShrink="true" CanBreak="false" Text="[Evrak.products.unitPrice][Evrak.localInfo.currencySymbol]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Font="Trebuchet MS, 8pt" Trimming="EllipsisCharacter"/>
      <TextObject Name="Text11" Left="237.25" Width="47.25" Height="18.9" CanGrow="true" CanShrink="true" CanBreak="false" Text="[Evrak.products.paidPrice][Evrak.localInfo.currencySymbol]" Format="Number" Format.UseLocale="true" HorzAlign="Right" WordWrap="false" Font="Trebuchet MS, 8pt" Trimming="EllipsisCharacter"/>
      <LineObject Name="Line4" Left="4.45" Top="1.45" Width="274.05" Border.Style="Dash" Diagonal="true"/>
      <TextObject Name="Text26" Left="85.05" Top="30.8" Width="183.1" Height="18.9" CanGrow="true" CanShrink="true" CanBreak="false" Text="[Evrak.products.comment]"/>
      <TextObject Name="Text28" Left="11.9" Top="30.35" Width="75.6" Height="18.9" Text="Müşteri Notu" Font="Arial, 8pt, style=Bold"/>
      <TextObject Name="Text3" Left="13.45" Top="1" Width="28.35" Height="18.9" Text="[Evrak.products.quantity]" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="," Format.GroupSeparator="." Format.NegativePattern="1" HorzAlign="Right" WordWrap="false" Font="Trebuchet MS, 10pt, style=Bold" Trimming="EllipsisCharacter"/>
      <TextObject Name="Text62" Left="43.8" Top="1.45" Width="18.9" Height="18.9" Text="X" HorzAlign="Center"/>
      <DataHeaderBand Name="DataHeader1" Width="302.4" Height="95.5">
        <TextObject Name="Text1" Left="179.55" Top="36.35" Width="103.95" Height="9.45" Text="[Evrak.createdAt]" Format="Date" Format.Format="d" WordWrap="false" Font="Arial, 5.25pt"/>
        <TextObject Name="Text8" Left="113.4" Top="36.35" Width="47.25" Height="9.45" Text="Tarih" VertAlign="Center" Font="Trebuchet MS, 5.25pt, style=Bold"/>
        <TextObject Name="Text57" Left="160.65" Top="36.35" Width="9.45" Height="9.45" Text=":" Font="Trebuchet MS, 5.25pt, style=Bold, Underline"/>
        <TextObject Name="Text42" Left="113.4" Top="45.8" Width="47.25" Height="9.45" Text="Saat" VertAlign="Center" Font="Trebuchet MS, 5.25pt, style=Bold"/>
        <TextObject Name="Text58" Left="160.65" Top="45.8" Width="18.9" Height="9.45" Text=":" Font="Trebuchet MS, 5.25pt, style=Bold, Underline"/>
        <TextObject Name="Text43" Left="113.4" Top="55.25" Width="66.15" Height="9.45" Text="Sipariş No" VertAlign="Center" Font="Trebuchet MS, 7pt, style=Bold"/>
        <TextObject Name="Text59" Left="160.65" Top="55.25" Width="18.9" Height="9.45" Text=":" Font="Trebuchet MS, 5.25pt, style=Bold, Underline"/>
        <TextObject Name="Text7" Left="11.9" Top="76.6" Width="122.85" Height="18.9" Text="ÜRÜN ADI" Font="Trebuchet MS, 7pt, style=Bold"/>
        <TextObject Name="Text9" Left="248.15" Top="76.6" Width="37.8" Height="18.9" Text="TUTAR" HorzAlign="Right" Font="Trebuchet MS, 7pt, style=Bold"/>
        <TextObject Name="Text41" Left="197.9" Top="76.6" Width="37.8" Height="18.9" Text="FİYAT" HorzAlign="Right" Font="Trebuchet MS, 7pt, style=Bold"/>
        <TextObject Name="Text17" Left="155" Top="10.45" Width="132.3" Height="18.9" Text="IPTAL FİŞİ" HorzAlign="Center" VertAlign="Center" Font="Trebuchet MS, 14pt, style=Bold, Underline"/>
        <TextObject Name="Text19" Left="179.55" Top="55.25" Width="103.95" Height="28.35" Text="[Evrak.code]" Font="Arial, 5.25pt, style=Bold"/>
        <TextObject Name="Text20" Left="179.55" Top="45.8" Width="103.95" Height="9.45" Text="[Evrak.createdAt]" Format="Time" Format.Format="t" WordWrap="false" Font="Arial, 5.25pt"/>
        <PictureObject Name="Picture1" Left="21.35" Width="85.05" Height="66.15" Image=" "/>
      </DataHeaderBand>
      <DataBand Name="Data3" Top="148.76" Width="302.4" Height="19.8" CanGrow="true" CanShrink="true" Guides="0" DataSource="selectedToppings">
        <TextObject Name="txtAltSatir1UrunIsim" Left="56.25" Top="-0.45" Width="151.2" Height="20.25" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[Evrak.products.selectedToppings.name]" Font="Arial, 10pt, style=Bold"/>
        <TextObject Name="txtAltSatir1Miktar" Left="22.1" Top="-0.45" Width="28.35" Height="18.9" AfterDataEvent="txtAltSatir1Miktar_AfterData" Text="[Evrak.products.selectedToppings.quantity]" HorzAlign="Right"/>
        <TextObject Name="txtAltSatir1X" Left="44.35" Width="18.9" Height="18.9" Text="X"/>
        <TextObject Name="txtAltSatir1Fiyat" Left="213.35" Width="47.25" Height="18.9" AfterDataEvent="txtAltSatir1Fiyat_AfterData" Text="[Evrak.products.selectedToppings.price][Evrak.localInfo.currencySymbol]"/>
        <DataBand Name="Data1" Top="170.33" Width="302.4" Height="19.35" CanGrow="true" CanShrink="true" DataSource="BusinessObjectDataSource3">
          <TextObject Name="txtAltSatir2UrunIsim" Left="68.6" Width="151.2" Height="18.9" CanGrow="true" CanShrink="true" GrowToBottom="true" CanBreak="false" Text="[Evrak.products.selectedToppings.children.name]" Font="Arial, 10pt, style=Bold"/>
          <TextObject Name="txtAltSatir2Miktar" Left="34.45" Width="28.35" Height="18.9" AfterDataEvent="txtAltSatir2Miktar_AfterData" Text="[Evrak.products.selectedToppings.children.quantity]" HorzAlign="Right"/>
          <TextObject Name="txtAltSatir2X" Left="56.7" Top="0.45" Width="18.9" Height="18.9" Text="X"/>
          <TextObject Name="txtAltSatir2Fiyat" Left="225.7" Top="0.45" Width="47.25" Height="18.9" AfterDataEvent="txtAltSatir2Fiyat_AfterData" Text="[Evrak.products.selectedToppings.children.price][Evrak.localInfo.currencySymbol]"/>
        </DataBand>
      </DataBand>
    </DataBand>
    <ReportSummaryBand Name="ReportSummary1" Top="191.46" Width="302.4" Height="310.4" Guides="66.15,56.7,47.25,47.25">
      <ShapeObject Name="Shape1" Left="19.35" Width="264.6" Height="269.35" Shape="RoundRectangle"/>
      <TextObject Name="Text2" Left="30.8" Top="9.45" Width="56.7" Height="18.9" Text="Müşteri:"/>
      <TextObject Name="Text60" Left="94.5" Top="9.45" Width="95.2" Height="18.9" Text="[Evrak.customer.firstName]"/>
      <TextObject Name="Text4" Left="30.8" Top="39.25" Width="56.7" Height="18.9" Text="Telefon" Font="Arial, 8pt"/>
      <TextObject Name="Text12" Left="141.75" Top="39.25" Width="125.3" Height="18.9" Text="[Evrak.customer.mobilePhone]" Font="Arial, 8pt"/>
      <TextObject Name="Text13" Left="30.8" Top="66.15" Width="56.7" Height="18.9" Text="Adres:" Font="Arial, 8pt"/>
      <TextObject Name="Text14" Left="94.5" Top="66.15" Width="170.1" Height="75.6" CanGrow="true" CanShrink="true" CanBreak="false" Text="Mah:[Evrak.delivery.address.district]&#13;&#10;&#13;&#10;Sokak:[Evrak.delivery.address.street]&#13;&#10;&#13;&#10;No:[Evrak.delivery.address.number]/[Evrak.delivery.address.entrance]&#13;&#10;Bina:[Evrak.delivery.address.building]&#13;&#10;&#13;&#10;Adres:[Evrak.delivery.address.deliveryMainArea]&#13;&#10;&#13;&#10;Açıklama:[Evrak.delivery.address.deliveryInstructions]" Font="Arial, 8pt"/>
      <TextObject Name="Text15" Left="30.8" Top="163.4" Width="236.25" Height="37.8" Text="[Evrak.comments.customerComment]" Font="Arial, 8pt"/>
      <TextObject Name="Text16" Left="106.4" Top="201.2" Width="141.75" Height="18.9" Text="[Evrak.payment.type]" Font="Arial, 8pt"/>
      <TextObject Name="Text18" Left="30.8" Top="201.2" Width="75.6" Height="18.9" Text="Ödeme Tipi" Font="Arial, 8pt"/>
      <TextObject Name="Text21" Left="30.8" Top="229.55" Width="236.25" Height="18.9" CanGrow="true" CanShrink="true" CanBreak="false" Text="[Evrak.expiryDate]" Format="Date" Format.Format="F" HorzAlign="Center" Font="Arial, 8pt"/>
      <TextObject Name="Text22" Left="68.6" Top="248.45" Width="66.15" Height="18.9" Text="Onay Kod:" HorzAlign="Center" VertAlign="Center" Font="Arial, 7pt, style=Bold"/>
      <TextObject Name="Text23" Left="125.3" Top="248.45" Width="122.85" Height="18.9" Text="[Evrak.shortCode]" HorzAlign="Center" VertAlign="Center" Font="Arial, 7pt, style=Bold"/>
      <TextObject Name="Text25" Left="11.9" Top="280.25" Width="94.5" Height="18.9" Text="TOPLAM:" HorzAlign="Center" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text27" Left="113.4" Top="280.25" Width="141.75" Height="18.9" Text="[Evrak.price.grandTotal][Evrak.localInfo.currencySymbol]" Format="Currency" Format.UseLocale="true" HorzAlign="Center" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text31" Left="185.45" Top="9.45" Width="94.5" Height="18.9" Text="[Evrak.customer.lastName]"/>
      <TextObject Name="Text61" Left="94.5" Top="147.75" Width="170.1" Height="18.9" Text="[Evrak.delivery.address.city]" Font="Arial, 8pt"/>
      <TextObject Name="Text63" Left="89.05" Top="40.25" Width="65.05" Height="16.45" Text="[Evrak.customer.code]" Font="Arial, 8pt"/>
    </ReportSummaryBand>
  </ReportPage>
</Report>
