﻿<?xml version="1.0" encoding="utf-8"?>
<XtraReportsLayoutSerializer SerializerVersion="23.2.5.0" Ref="1" ControlType="XtraReportSerialization.PodpisyDokumentuHandlowego, XtraReportSerialization.PodpisyDokumentuHandlowego.22f33666.dll" Name="PodpisyDokumentuHandlowego" DisplayName="podpisy dokumentu handlowego" ScriptsSource="using Soneta.Core;&#xD;&#xA;using Soneta.Handel;&#xD;&#xA;using Soneta.Business;&#xD;&#xA;using System.Collections.Generic;&#xD;&#xA;using Soneta.Handel.RelacjeDokumentow.RelationsMenu.Actions.Resolving;&#xD;&#xA;&#xD;&#xA;private void PodpisyDokumentuHandlowego_DataSourceRowChanged(object sender, DevExpress.XtraReports.UI.DataSourceRowEventArgs e) {&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;var sub = Soneta.Business.UI.DxReports.ReportTools.FindSnippetOrDefault&lt;Soneta.Handel.Reports.SprzedazSnippet&gt;(MasterReport);&#xD;&#xA;&#x9;&#xD;&#xA;  if(sub != null &amp;&amp; sub.Parametry.Duplikat)&#xD;&#xA;&#x9;{&#xD;&#xA;&#x9;&#x9; var s = MasterReport.GetCurrentRow() as ISessionable;&#xD;&#xA;&#x9;&#x9; td_Wystawiajacy.Text = s.Session.Login.Operator.FullName;&#xD;&#xA;&#x9;}&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;private void PodpisyDokumentuHandlowego_BeforePrint(object sender, System.ComponentModel.CancelEventArgs e) {&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;var dokHandlowy = MasterReport.GetCurrentRow() as DokumentHandlowy;&#xD;&#xA;&#x9;var dokEwidencji = MasterReport.GetCurrentRow() as DokEwidencji;&#xD;&#xA;&#x9;if(dokHandlowy != null)&#xD;&#xA;&#x9;{&#xD;&#xA;&#x9;&#x9;if(dokHandlowy.Wydruk.KBNLicence)&#xD;&#xA;&#x9;&#x9;{&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;td_Wystawiajacy.Text = dokHandlowy.Session.Login.WebUserInstance.FullName;&#xD;&#xA;&#x9;&#x9;}&#xD;&#xA;&#x9;&#x9;else&#xD;&#xA;&#x9;&#x9;{&#xD;&#xA;&#x9;      td_Wystawiajacy.Text = dokHandlowy.Wydruk.UprawnionyDoWystawienia.FullName;&#xD;&#xA;&#x9;&#x9;}&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;else if (dokEwidencji != null)&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;td_Wystawiajacy.Text = dokEwidencji.Session.Login.Operator.FullName;&#xD;&#xA;}" SnapGridSize="25" Bookmark="Podpisy dokumentu handlowego" ReportUnit="TenthsOfAMillimeter" Margins="190, 214, 0, 0" PaperKind="A4" PageWidth="2100" PageHeight="2970" Version="23.2" DataSource="#Ref-0" Dpi="254" Font="Calibri, 9pt" BorderColor="LightGray" Borders="All">
  <Bands>
    <Item1 Ref="2" ControlType="TopMarginBand" Name="topMarginBand1" HeightF="0" Dpi="254" />
    <Item2 Ref="3" ControlType="DetailBand" Name="podpis" HeightF="210.00006" Dpi="254">
      <Controls>
        <Item1 Ref="4" ControlType="XRPanel" Name="panel2" AnchorVertical="Top" AnchorHorizontal="Right" SizeF="842.6049,210.00006" LocationFloat="853.39496,0" Dpi="254" BorderColor="LightGray" Borders="None">
          <Controls>
            <Item1 Ref="5" ControlType="XRTable" Name="table2" AnchorHorizontal="Both" SizeF="822.6049,200" LocationFloat="10.00005,10.00001" Dpi="254" StyleName="StopkaPodpisStyl" Borders="None" BorderWidth="0">
              <Rows>
                <Item1 Ref="6" ControlType="XRTableRow" Name="tableRow8" Weight="0.5822349576724221" Dpi="254">
                  <Cells>
                    <Item1 Ref="7" ControlType="XRTableCell" Name="td_Wystawiajacy" Weight="1.488244077810377" TextAlignment="TopCenter" Dpi="254" Font="Calibri, 8.25pt">
                      <StylePriority Ref="8" UseFont="false" UseTextAlignment="false" />
                    </Item1>
                  </Cells>
                </Item1>
                <Item2 Ref="9" ControlType="XRTableRow" Name="tableRow5" Weight="0.1455586351082383" TextAlignment="BottomCenter" Dpi="254">
                  <Cells>
                    <Item1 Ref="10" ControlType="XRTableCell" Name="tableCell9" Weight="1.488244077810377" Text="............................................." TextAlignment="MiddleCenter" Dpi="254">
                      <StylePriority Ref="11" UseTextAlignment="false" />
                    </Item1>
                  </Cells>
                  <StylePriority Ref="12" UseTextAlignment="false" />
                </Item2>
                <Item3 Ref="13" ControlType="XRTableRow" Name="tableRow6" Weight="0.24259767510826613" Dpi="254">
                  <Cells>
                    <Item1 Ref="14" ControlType="XRTableCell" Name="tableCell11" Weight="1.488244077810377" Text="Podpis Nabywcy" TextAlignment="MiddleCenter" Dpi="254">
                      <StylePriority Ref="15" UseTextAlignment="false" />
                    </Item1>
                  </Cells>
                </Item3>
              </Rows>
              <StylePriority Ref="16" UseBorders="false" UseBorderWidth="false" />
            </Item1>
          </Controls>
          <StylePriority Ref="17" UseBorderColor="false" UseBorders="false" />
        </Item1>
        <Item2 Ref="18" ControlType="XRPanel" Name="panel1" AnchorVertical="Top" AnchorHorizontal="Left" SizeF="853.395,210.00006" LocationFloat="0,0" Dpi="254" BorderColor="LightGray" Borders="None">
          <Controls>
            <Item1 Ref="19" ControlType="XRTable" Name="table1" AnchorHorizontal="Both" SizeF="833.395,200" LocationFloat="10,10" Dpi="254" StyleName="StopkaPodpisStyl" Borders="None" BorderWidth="0">
              <Rows>
                <Item1 Ref="20" ControlType="XRTableRow" Name="tableRow7" Weight="0.6521030721147162" Dpi="254">
                  <Cells>
                    <Item1 Ref="21" ControlType="XRTableCell" Name="tableCell1" Weight="1.488244077810377" TextAlignment="TopCenter" Dpi="254" Font="Calibri, 9pt">
                      <StylePriority Ref="22" UseFont="false" UseTextAlignment="false" />
                    </Item1>
                  </Cells>
                </Item1>
                <Item2 Ref="23" ControlType="XRTableRow" Name="tableRow3" Weight="0.16302576614958625" KeepTogether="false" TextAlignment="BottomCenter" Dpi="254">
                  <Cells>
                    <Item1 Ref="24" ControlType="XRTableCell" Name="tableCell4" Weight="1.488244077810377" Text="............................................." TextAlignment="MiddleCenter" Dpi="254">
                      <StylePriority Ref="25" UseTextAlignment="false" />
                    </Item1>
                  </Cells>
                  <StylePriority Ref="26" UseTextAlignment="false" />
                </Item2>
                <Item3 Ref="27" ControlType="XRTableRow" Name="tableRow2" Weight="0.27170961180441766" TextAlignment="TopCenter" Dpi="254">
                  <Cells>
                    <Item1 Ref="28" ControlType="XRTableCell" Name="tableCell2" Weight="1.488244077810377" Text="Podpis Sprzedawcy" TextAlignment="MiddleCenter" Dpi="254">
                      <StylePriority Ref="29" UseTextAlignment="false" />
                    </Item1>
                  </Cells>
                  <StylePriority Ref="30" UseTextAlignment="false" />
                </Item3>
              </Rows>
              <StylePriority Ref="31" UseBorders="false" UseBorderWidth="false" />
            </Item1>
          </Controls>
          <StylePriority Ref="32" UseBorderColor="false" UseBorders="false" />
        </Item2>
      </Controls>
      <StylePriority Ref="33" UseBorders="false" />
    </Item2>
    <Item3 Ref="34" ControlType="BottomMarginBand" Name="bottomMarginBand1" HeightF="0" Dpi="254" />
  </Bands>
  <DesignerOptions Ref="35" ShowExportWarnings="false" />
  <Scripts Ref="36" OnDataSourceDemanded="PodpisyDokumentuHandlowego_DataSourceDemanded" OnDataSourceRowChanged="PodpisyDokumentuHandlowego_DataSourceRowChanged" OnBeforePrint="PodpisyDokumentuHandlowego_BeforePrint" />
  <ComponentStorage>
    <Item1 Ref="37" ObjectType="Soneta.Business.UI.DxReports.Components.BusinessContext,Soneta.Business.UI.DxReports" Name="BusinessContext" StylesSource="standardowy" TreatStringAsValueInExport="false" />
    <Item2 Ref="0" ObjectType="Soneta.Business.UI.DxReports.BusinessDataSource,Soneta.Business.UI.DxReports" Name="businessDataSource1" DataKind="SingleRow" DataMember="This" />
  </ComponentStorage>
  <Watermarks>
    <Item1 Ref="38" Id="Watermark1" TextPosition="InFront" ImagePosition="InFront" />
  </Watermarks>
</XtraReportsLayoutSerializer>