diff --git a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml
index 105286237..95ffeeef9 100644
--- a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml
+++ b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml
@@ -106,6 +106,11 @@
configureErrorPopup(textToShow);
}
+ function showErrorMessagePopup(text) {
+ hideSpinner();
+ configureErrorPopup(text);
+ }
+
function configureErrorPopup(textToShow) {
$("#fehlerdetail-textarea").text(textToShow);
$("#error-message-popup").modal("show");
diff --git a/Data/Access/SearchDAO.cs b/Data/Access/SearchDAO.cs
index 79c18fe33..10bf6c2d5 100644
--- a/Data/Access/SearchDAO.cs
+++ b/Data/Access/SearchDAO.cs
@@ -5183,7 +5183,8 @@ namespace BeWo.Data.Access
return signature.Count == 1;
}
- // ToDo: Nach Meeting mit Jörg am 10.07.2023 weitermachen
+ // ToDo: FALSCHE METHODE! SUCHT NUR NACH SERIENTERMINEN, DIE SO NICHT IN DER DATENBANK SIND!
+ // ToDo: SQL BEARBEITEN, DAMIT DIE SCHEDULERAPPOINTMENT-OBJEKTE ZURÜCKGEGEBEN WERDEN UND NICHT DIE GEBUCHTEN RESSOURCEN!
///
/// Prüft anhand der Oids von Ressourcen deren Verfügbarkeit in einem Zeitraum.
/// Gibt die nicht verfügbaren Ressourcen und Mitarbeiter, die sie gebucht aben zurück für eine detaillierte Fehlermeldung.
@@ -5195,23 +5196,39 @@ namespace BeWo.Data.Access
/// Recurrence Id, falls es sich um einen Serientermin handelt, der keine eigene Oid hat.
/// Occurrence-Index des Serientermins ohne eigene Oid
/// Die im angegebenen Zeitraum belegten Ressourcen mit den Mitarbeitern, die sie gebucht haben
- public Dictionary> FindBookedResourcesWithBookingEmployees(List resourceOids, DateTime start, DateTime end, long? selectedAppointmentOid, Guid? recurrenceId = null, int? occurrenceIndex = null)
+ public List FindAppointmentsByResourcesInInterval(List resourceOids, DateTime start, DateTime end, long? selectedAppointmentOid, Guid? recurrenceId = null, int? occurrenceIndex = null)
{
- var result = new Dictionary>();
+ //var c = CreateCriteria("r").Add(Restrictions.Eq(nameof(BeWoEntityBase.IsActive), ActivationTypeId.Active)).Add(Restrictions.In(nameof(BeWoEntityBase.Oid), resourceOids));
- var c = CreateCriteria("r").Add(Restrictions.Eq(nameof(BeWoEntityBase.IsActive), ActivationTypeId.Active)).Add(Restrictions.In(nameof(BeWoEntityBase.Oid), resourceOids));
+ //var excludingSelectedAppointment = selectedAppointmentOid.HasValue ? $"Oid <> {selectedAppointmentOid} AND " : "";
- var excludingSelectedAppointment = selectedAppointmentOid.HasValue ? $"Oid <> {selectedAppointmentOid} AND " : "";
+ //var sql = "Oid IN " +
+ // "(SELECT ResourceOid FROM resource2newschapp r2n WHERE r2n.NewSchAppOid IN " +
+ // $"(SELECT Oid FROM newschedulerappointment WHERE IsActive = 1 AND Type <> 4 AND {excludingSelectedAppointment}('{start:yyyy-MM-dd HH:mm:ss}' > StartDate OR '{end:yyyy-MM-dd HH:mm:ss}' > StartDate) AND ('{start:yyyy-MM-dd HH:mm:ss}' < EndDate OR '{end:yyyy-MM-dd HH:mm:ss}' < EndDate)))";
- var sql = "Oid IN " +
- "(SELECT ResourceOid FROM resource2newschapp r2n WHERE r2n.NewSchAppOid IN " +
- $"(SELECT Oid FROM newschedulerappointment WHERE IsActive = 1 AND Type <> 4 AND {excludingSelectedAppointment}('{start:yyyy-MM-dd HH:mm:ss}' > StartDate OR '{end:yyyy-MM-dd HH:mm:ss}' > StartDate) AND ('{start:yyyy-MM-dd HH:mm:ss}' < EndDate OR '{end:yyyy-MM-dd HH:mm:ss}' < EndDate)))";
+ //var criterion = Expression.Sql(sql);
+
+ //c.Add(criterion);
+
+ //var resources = c.List().ToList();
+
+
+ var c2 = CreateCriteriaIsActive()
+ .Add(Restrictions.Not(Restrictions.Eq(nameof(SchedulerAppointment.Type), 4)))
+ .Add(Expression.Sql($"'{start:yyyy-MM-dd HH:mm:ss}' BETWEEN StartDate AND EndDate OR '{end:yyyy-MM-dd HH:mm:ss}' BETWEEN StartDate AND EndDate OR StartDate BETWEEN '{start:yyyy-MM-dd HH:mm:ss}' AND '{end:yyyy-MM-dd HH:mm:ss}' OR EndDate BETWEEN '{start:yyyy-MM-dd HH:mm:ss}' AND '{end:yyyy-MM-dd HH:mm:ss}'"));
+
+ if(!(selectedAppointmentOid is null))
+ {
+ c2.Add(Restrictions.Not(Restrictions.Eq(nameof(BeWoEntityBase.Oid), selectedAppointmentOid)));
+ }
+
+ c2.CreateAlias(nameof(SchedulerAppointment.ResourceList), "resources", JoinType.InnerJoin)
+ .Add(Restrictions.In($"resources.{nameof(BeWoEntityBase.Oid)}", resourceOids));
+
+ var appointments = c2.List().ToList();
- var criterion = Expression.Sql(sql);
- c.Add(criterion);
- var resources = c.List().ToList();
var recurringAppointmentsCriteria = CreateRecurrenceCriteria(start, end).Add(Restrictions.Eq(nameof(SchedulerAppointment.Type), 1));
@@ -5219,9 +5236,10 @@ namespace BeWo.Data.Access
recurringAppointments = recurringAppointments.Where(s => s.ResourceList.Any(r => r.Oid.HasValue && resourceOids.Contains(r.Oid.Value))).ToList();
+ // ToDo: Wieso wird das gemacht?
if(recurringAppointments.Count == 0)
{
- return result;
+ //return new List();
}
var changedOccurrencesCriteria = CreateCriteriaIsActive().Add(Restrictions.Eq(nameof(SchedulerAppointment.Type), 3));
@@ -5232,7 +5250,7 @@ namespace BeWo.Data.Access
changedOccurrencesCriteria.Add(inBetween);
deletedOccurrencesCriteria.Add(inBetween);
- var appointments = new List();
+ //var appointments = new List();
if(selectedAppointmentOid.HasValue)
{
@@ -5302,12 +5320,7 @@ namespace BeWo.Data.Access
return false;
}
- if(guid.Value.Equals(patternId) && index == i)
- {
- return true;
- }
-
- return false;
+ return guid.Value.Equals(patternId) && index == i;
}) || deletedOccurrences.Any(a =>
{
var guid = a.GetRecurrenceIdAndIndex(out var i);
@@ -5317,12 +5330,7 @@ namespace BeWo.Data.Access
return false;
}
- if(guid.Value.Equals(patternId) && index == i)
- {
- return true;
- }
-
- return false;
+ return guid.Value.Equals(patternId) && index == i;
});
if(isDeletedOrChanged)
@@ -5340,21 +5348,21 @@ namespace BeWo.Data.Access
var occurrenceAppointment = new SchedulerAppointment
{
- AllDay = occurrence.AllDay,
- CustomerList = recurringAppointment.CustomerList,
- Notice = recurringAppointment.Notice,
- EmployeeList = recurringAppointment.EmployeeList,
- EndDate = occurrence.Start.AddMinutes(duration),
+ AllDay = occurrence.AllDay,
+ CustomerList = recurringAppointment.CustomerList,
+ Notice = recurringAppointment.Notice,
+ EmployeeList = recurringAppointment.EmployeeList,
+ EndDate = occurrence.Start.AddMinutes(duration),
FormerBookingSequenceOid = recurringAppointment.FormerBookingSequenceOid,
- IsPrivate = recurringAppointment.IsPrivate,
- Location = recurringAppointment.Location,
- Originator = recurringAppointment.Originator,
- RecurrenceInfo = occurrence.RecurrenceInfo.ToXml(),
- ReminderInfo = recurringAppointment.ReminderInfo,
- ResourceList = recurringAppointment.ResourceList,
- StartDate = occurrence.Start,
- Subject = recurringAppointment.Subject ?? Empty,
- Type = recurringAppointment.Type
+ IsPrivate = recurringAppointment.IsPrivate,
+ Location = recurringAppointment.Location,
+ Originator = recurringAppointment.Originator,
+ RecurrenceInfo = occurrence.RecurrenceInfo.ToXml(),
+ ReminderInfo = recurringAppointment.ReminderInfo,
+ ResourceList = recurringAppointment.ResourceList,
+ StartDate = occurrence.Start,
+ Subject = recurringAppointment.Subject ?? Empty,
+ Type = recurringAppointment.Type
};
if(!(recurrenceId is null) && occurrenceIndex.HasValue)
@@ -5371,16 +5379,19 @@ namespace BeWo.Data.Access
}
}
- // ToDo: Hier noch die Mitarbeiter zurückgeben
- appointments.DoForEach(a => a.ResourceList.DoForEach(resources.AddIfNotIn));
+ return appointments.ToList();
+ }
- appointments.DoForEach(appointment =>
- {
- appointment.ResourceList.DoForEach(resource =>
- {
+ public List LoadAllConfirmationReceiptSignaturesByServiceRecordOids(IList serviceRecordOids)
+ {
+ var c = CreateCriteria()
+ .CreateAlias(nameof(ConfirmationReceiptSignature.ServiceRecords), "sr", JoinType.InnerJoin)
+ .Add(Restrictions.In($"sr.{nameof(BeWoEntityBase.Oid)}", serviceRecordOids.ToArray()));
- });
- });
+ // Der ResultTransformer erzeugt ein SELECT DISTINCT für den Roottypen (ConfirmationReceiptSignature)
+ c.SetResultTransformer(new DistinctRootEntityResultTransformer());
+
+ var result = c.List().ToList();
return result;
}
diff --git a/ReportImp/BetreuWoReports/Service/ResourceService.cs b/ReportImp/BetreuWoReports/Service/ResourceService.cs
index a8b811ff5..993ff2bec 100644
--- a/ReportImp/BetreuWoReports/Service/ResourceService.cs
+++ b/ReportImp/BetreuWoReports/Service/ResourceService.cs
@@ -3,7 +3,6 @@ using System.Collections.Generic;
using BeWo.Data.Access;
using BeWo.Service.Plugins;
using BS.Shared.DataContracts;
-using BS.Shared.DataContracts.Compact;
namespace BetreuWoReports.Service
{
@@ -22,9 +21,9 @@ namespace BetreuWoReports.Service
return new List();
}
- public override Dictionary> CheckResourceAvailabilityWithBookingEmployees(DateTime start, DateTime end, List resourceOids, long? selectedAppointmentOid)
+ public override List CheckResourceAvailabilityWithBookingEmployees(DateTime start, DateTime end, List resourceOids, long? selectedAppointmentOid)
{
- return new Dictionary>();
+ return new List();
}
}
}
diff --git a/ReportImp/SKFLeverkusen/CustomReportCreator.cs b/ReportImp/SKFLeverkusen/CustomReportCreator.cs
index 1636f7927..d5420c89d 100644
--- a/ReportImp/SKFLeverkusen/CustomReportCreator.cs
+++ b/ReportImp/SKFLeverkusen/CustomReportCreator.cs
@@ -1,16 +1,12 @@
using System;
-using System.Collections.Generic;
using System.Data;
using System.IO;
-using System.Linq;
-using System.Text;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BeWo.Service.DCEntityMapper;
using BS.Shared.Core;
-using DevExpress.XtraReports.Design;
using DevExpress.XtraReports.UI;
namespace SKFLeverkusen
diff --git a/ReportImp/SKFLeverkusen/Quittierungsbeleg.Designer.cs b/ReportImp/SKFLeverkusen/Quittierungsbeleg.Designer.cs
new file mode 100644
index 000000000..fbfbc26dc
--- /dev/null
+++ b/ReportImp/SKFLeverkusen/Quittierungsbeleg.Designer.cs
@@ -0,0 +1,1441 @@
+namespace SKFLeverkusen
+{
+ partial class Quittierungsbeleg
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Quittierungsbeleg));
+ this.Detail = new DevExpress.XtraReports.UI.DetailBand();
+ this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
+ this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
+ this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.picSignature = new DevExpress.XtraReports.UI.XRPictureBox();
+ this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
+ this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
+ this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
+ this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
+ this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
+ this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule();
+ this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule();
+ this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule();
+ this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
+ this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
+ this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
+ this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
+ this.lblFehlkontakt = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
+ this.lblUnterschriftKlient = new DevExpress.XtraReports.UI.XRLabel();
+ this.lblUnterschriftMitarbeiter = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrTableAbwesenheiten = new DevExpress.XtraReports.UI.XRTable();
+ this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
+ this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
+ this.lblHatAbwesenheiten = new DevExpress.XtraReports.UI.XRLabel();
+ this.lblHatGruppen = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrRichText2 = new DevExpress.XtraReports.UI.XRRichText();
+ this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
+ this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
+ this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
+ this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
+ //
+ // Detail
+ //
+ this.Detail.Expanded = false;
+ this.Detail.HeightF = 0F;
+ this.Detail.Name = "Detail";
+ this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // DetailReport
+ //
+ this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail1,
+ this.GroupHeader1});
+ this.DetailReport.DataMember = "Services";
+ this.DetailReport.DataSource = this.bindingSource1;
+ this.DetailReport.Level = 0;
+ this.DetailReport.Name = "DetailReport";
+ this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // Detail1
+ //
+ this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTable3});
+ this.Detail1.HeightF = 20F;
+ this.Detail1.Name = "Detail1";
+ this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTable3
+ //
+ this.xrTable3.BorderColor = System.Drawing.Color.Black;
+ this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTable3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrTable3.Name = "xrTable3";
+ this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow6});
+ this.xrTable3.SizeF = new System.Drawing.SizeF(735F, 20F);
+ this.xrTable3.StylePriority.UseFont = false;
+ this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTableRow6
+ //
+ this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell13,
+ this.xrTableCell14,
+ this.xrTableCell10,
+ this.xrTableCell2,
+ this.xrTableCell15,
+ this.xrTableCell12,
+ this.xrTableCell44,
+ this.xrTableCell50});
+ this.xrTableRow6.Name = "xrTableRow6";
+ this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ this.xrTableRow6.Weight = 1D;
+ //
+ // xrTableCell13
+ //
+ this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd/MM/yyyy}")});
+ this.xrTableCell13.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell13.Name = "xrTableCell13";
+ this.xrTableCell13.StylePriority.UseBorders = false;
+ this.xrTableCell13.StylePriority.UseFont = false;
+ this.xrTableCell13.StylePriority.UsePadding = false;
+ this.xrTableCell13.StylePriority.UseTextAlignment = false;
+ this.xrTableCell13.Text = "xrTableCell13";
+ this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell13.Weight = 0.11994951833461227D;
+ //
+ // xrTableCell14
+ //
+ this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDateMinutes", "{0:HH:mm}")});
+ this.xrTableCell14.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell14.Name = "xrTableCell14";
+ this.xrTableCell14.StylePriority.UseBorders = false;
+ this.xrTableCell14.StylePriority.UseFont = false;
+ this.xrTableCell14.StylePriority.UsePadding = false;
+ this.xrTableCell14.StylePriority.UseTextAlignment = false;
+ this.xrTableCell14.Text = "xrTableCell14";
+ this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell14.Weight = 0.094696981389528381D;
+ //
+ // xrTableCell10
+ //
+ this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EndDateMinutes", "{0:HH:mm}")});
+ this.xrTableCell10.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell10.Name = "xrTableCell10";
+ this.xrTableCell10.StylePriority.UseBorders = false;
+ this.xrTableCell10.StylePriority.UseFont = false;
+ this.xrTableCell10.StylePriority.UsePadding = false;
+ this.xrTableCell10.StylePriority.UseTextAlignment = false;
+ this.xrTableCell10.Text = "xrTableCell10";
+ this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell10.Weight = 0.094696933224158855D;
+ //
+ // xrTableCell2
+ //
+ this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice5")});
+ this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell2.Name = "xrTableCell2";
+ this.xrTableCell2.StylePriority.UseFont = false;
+ this.xrTableCell2.StylePriority.UsePadding = false;
+ this.xrTableCell2.StylePriority.UseTextAlignment = false;
+ this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell2.Weight = 0.05366162346946534D;
+ //
+ // xrTableCell15
+ //
+ this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.CustomerCount", "{0:0}")});
+ this.xrTableCell15.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell15.Name = "xrTableCell15";
+ this.xrTableCell15.StylePriority.UseBorders = false;
+ this.xrTableCell15.StylePriority.UseFont = false;
+ this.xrTableCell15.StylePriority.UsePadding = false;
+ this.xrTableCell15.StylePriority.UseTextAlignment = false;
+ this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell15.Weight = 0.05366162346946534D;
+ //
+ // xrTableCell12
+ //
+ this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.##}")});
+ this.xrTableCell12.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrTableCell12.Name = "xrTableCell12";
+ this.xrTableCell12.StylePriority.UseBorders = false;
+ this.xrTableCell12.StylePriority.UseFont = false;
+ this.xrTableCell12.StylePriority.UsePadding = false;
+ this.xrTableCell12.StylePriority.UseTextAlignment = false;
+ this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell12.Weight = 0.10732323052948757D;
+ //
+ // xrTableCell44
+ //
+ this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")});
+ this.xrTableCell44.Name = "xrTableCell44";
+ this.xrTableCell44.StylePriority.UseBorders = false;
+ this.xrTableCell44.StylePriority.UseFont = false;
+ this.xrTableCell44.StylePriority.UsePadding = false;
+ this.xrTableCell44.StylePriority.UseTextAlignment = false;
+ this.xrTableCell44.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell44.Weight = 0.20202019104791347D;
+ //
+ // xrTableCell50
+ //
+ this.xrTableCell50.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.picSignature});
+ this.xrTableCell50.Name = "xrTableCell50";
+ this.xrTableCell50.StylePriority.UseBorders = false;
+ this.xrTableCell50.StylePriority.UseFont = false;
+ this.xrTableCell50.StylePriority.UsePadding = false;
+ this.xrTableCell50.StylePriority.UseTextAlignment = false;
+ this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ this.xrTableCell50.Weight = 0.20202019042968572D;
+ //
+ // picSignature
+ //
+ this.picSignature.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.picSignature.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Services.Signature")});
+ this.picSignature.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.picSignature.Name = "picSignature";
+ this.picSignature.SizeF = new System.Drawing.SizeF(160F, 20F);
+ this.picSignature.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
+ this.picSignature.StylePriority.UseBorders = false;
+ this.picSignature.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.picSignature_BeforePrint);
+ //
+ // GroupHeader1
+ //
+ this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrTableServiceRecords1});
+ this.GroupHeader1.HeightF = 70F;
+ this.GroupHeader1.Name = "GroupHeader1";
+ this.GroupHeader1.RepeatEveryPage = true;
+ //
+ // xrTableServiceRecords1
+ //
+ this.xrTableServiceRecords1.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrTableServiceRecords1.Borders = DevExpress.XtraPrinting.BorderSide.None;
+ this.xrTableServiceRecords1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
+ this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow2,
+ this.xrTableRow1});
+ this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(735F, 70F);
+ this.xrTableServiceRecords1.StylePriority.UseBackColor = false;
+ this.xrTableServiceRecords1.StylePriority.UseBorders = false;
+ this.xrTableServiceRecords1.StylePriority.UseFont = false;
+ this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTableRow2
+ //
+ this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell3,
+ this.xrTableCell4,
+ this.xrTableCell11,
+ this.xrTableCell9,
+ this.xrTableCell28,
+ this.xrTableCell48});
+ this.xrTableRow2.Name = "xrTableRow2";
+ this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ this.xrTableRow2.Weight = 0.48945783132530124D;
+ //
+ // xrTableCell3
+ //
+ this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell3.Name = "xrTableCell3";
+ this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrTableCell3.StylePriority.UseBorders = false;
+ this.xrTableCell3.StylePriority.UseFont = false;
+ this.xrTableCell3.StylePriority.UsePadding = false;
+ this.xrTableCell3.StylePriority.UseTextAlignment = false;
+ this.xrTableCell3.Text = "Datum";
+ this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell3.Weight = 0.26536312849161997D;
+ //
+ // xrTableCell4
+ //
+ this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell4.Multiline = true;
+ this.xrTableCell4.Name = "xrTableCell4";
+ this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 4, 0, 0, 100F);
+ this.xrTableCell4.StylePriority.UseBorders = false;
+ this.xrTableCell4.StylePriority.UseFont = false;
+ this.xrTableCell4.StylePriority.UsePadding = false;
+ this.xrTableCell4.StylePriority.UseTextAlignment = false;
+ this.xrTableCell4.Text = "Uhrzeit";
+ this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell4.Weight = 0.41899441340782145D;
+ //
+ // xrTableCell11
+ //
+ this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell11.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell11.Name = "xrTableCell11";
+ this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(12, 12, 0, 0, 100F);
+ this.xrTableCell11.StylePriority.UseBorders = false;
+ this.xrTableCell11.StylePriority.UseFont = false;
+ this.xrTableCell11.StylePriority.UsePadding = false;
+ this.xrTableCell11.StylePriority.UseTextAlignment = false;
+ this.xrTableCell11.Text = "Angebot";
+ this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell11.Weight = 0.23743016759776542D;
+ //
+ // xrTableCell9
+ //
+ this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell9.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell9.Multiline = true;
+ this.xrTableCell9.Name = "xrTableCell9";
+ this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrTableCell9.StylePriority.UseBorders = false;
+ this.xrTableCell9.StylePriority.UseFont = false;
+ this.xrTableCell9.StylePriority.UsePadding = false;
+ this.xrTableCell9.StylePriority.UseTextAlignment = false;
+ this.xrTableCell9.Text = "FLS in";
+ this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell9.Weight = 0.23743016759776536D;
+ //
+ // xrTableCell28
+ //
+ this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell28.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrTableCell28.Name = "xrTableCell28";
+ this.xrTableCell28.StylePriority.UseBorders = false;
+ this.xrTableCell28.StylePriority.UseFont = false;
+ this.xrTableCell28.StylePriority.UseTextAlignment = false;
+ this.xrTableCell28.Text = "Betreuerin / Betreuer";
+ this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell28.Weight = 0.44692737430167595D;
+ //
+ // xrTableCell48
+ //
+ this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrTableCell48.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrTableCell48.Multiline = true;
+ this.xrTableCell48.Name = "xrTableCell48";
+ this.xrTableCell48.StylePriority.UseBorders = false;
+ this.xrTableCell48.StylePriority.UseFont = false;
+ this.xrTableCell48.StylePriority.UseTextAlignment = false;
+ this.xrTableCell48.Text = "Unterschrift";
+ this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
+ this.xrTableCell48.Weight = 0.44692737430167606D;
+ //
+ // xrTableRow1
+ //
+ this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell1,
+ this.xrTableCell8,
+ this.xrTableCell5,
+ this.xrTableCell6,
+ this.xrTableCell7,
+ this.xrTableCell43,
+ this.xrTableCell49});
+ this.xrTableRow1.Name = "xrTableRow1";
+ this.xrTableRow1.Weight = 1.223644578313253D;
+ //
+ // xrTableCell1
+ //
+ this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell1.Name = "xrTableCell1";
+ this.xrTableCell1.StylePriority.UseBorders = false;
+ this.xrTableCell1.Weight = 0.26536312849161997D;
+ //
+ // xrTableCell8
+ //
+ this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell8.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell8.Name = "xrTableCell8";
+ this.xrTableCell8.StylePriority.UseBorders = false;
+ this.xrTableCell8.StylePriority.UseFont = false;
+ this.xrTableCell8.StylePriority.UseTextAlignment = false;
+ this.xrTableCell8.Text = "von";
+ this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell8.Weight = 0.20949720670391073D;
+ //
+ // xrTableCell5
+ //
+ this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell5.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell5.Name = "xrTableCell5";
+ this.xrTableCell5.StylePriority.UseBorders = false;
+ this.xrTableCell5.StylePriority.UseFont = false;
+ this.xrTableCell5.StylePriority.UseTextAlignment = false;
+ this.xrTableCell5.Text = "bis";
+ this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell5.Weight = 0.2094972067039107D;
+ //
+ // xrTableCell6
+ //
+ this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell6.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell6.Multiline = true;
+ this.xrTableCell6.Name = "xrTableCell6";
+ this.xrTableCell6.StylePriority.UseBorders = false;
+ this.xrTableCell6.StylePriority.UseFont = false;
+ this.xrTableCell6.StylePriority.UseTextAlignment = false;
+ this.xrTableCell6.Text = "Art /\r\nAnzahl\r\nKlienten";
+ this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell6.Weight = 0.23743016759776545D;
+ //
+ // xrTableCell7
+ //
+ this.xrTableCell7.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell7.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell7.Multiline = true;
+ this.xrTableCell7.Name = "xrTableCell7";
+ this.xrTableCell7.StylePriority.UseBackColor = false;
+ this.xrTableCell7.StylePriority.UseBorders = false;
+ this.xrTableCell7.StylePriority.UseFont = false;
+ this.xrTableCell7.StylePriority.UseTextAlignment = false;
+ this.xrTableCell7.Text = "Minuten\r\n(ohne 1,2)";
+ this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ this.xrTableCell7.Weight = 0.23743016759776536D;
+ //
+ // xrTableCell43
+ //
+ this.xrTableCell43.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell43.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrTableCell43.Name = "xrTableCell43";
+ this.xrTableCell43.StylePriority.UseBorders = false;
+ this.xrTableCell43.StylePriority.UseFont = false;
+ this.xrTableCell43.Weight = 0.44692737430167595D;
+ //
+ // xrTableCell49
+ //
+ this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableCell49.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrTableCell49.Multiline = true;
+ this.xrTableCell49.Name = "xrTableCell49";
+ this.xrTableCell49.StylePriority.UseBorders = false;
+ this.xrTableCell49.StylePriority.UseFont = false;
+ this.xrTableCell49.StylePriority.UseTextAlignment = false;
+ this.xrTableCell49.Text = "Klientin / Klient";
+ this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ this.xrTableCell49.Weight = 0.44692737430167606D;
+ //
+ // bindingSource1
+ //
+ this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
+ //
+ // formattingRuleStartDate
+ //
+ this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleStartDate.DataMember = "ServicesDouble";
+ this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleStartDate.Name = "formattingRuleStartDate";
+ //
+ // ReportHeader
+ //
+ this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel14,
+ this.xrLabel16,
+ this.xrLabel7,
+ this.xrLabel8,
+ this.xrLabel6,
+ this.xrLabel5,
+ this.xrLabel4,
+ this.xrLabel3,
+ this.xrLabel2});
+ this.ReportHeader.HeightF = 130F;
+ this.ReportHeader.Name = "ReportHeader";
+ //
+ // xrLabel14
+ //
+ this.xrLabel14.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrLabel14.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(414.9999F, 47.1111F);
+ this.xrLabel14.Name = "xrLabel14";
+ this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel14.SizeF = new System.Drawing.SizeF(178.7501F, 30.50001F);
+ this.xrLabel14.StylePriority.UseBackColor = false;
+ this.xrLabel14.StylePriority.UseBorders = false;
+ this.xrLabel14.StylePriority.UseFont = false;
+ this.xrLabel14.StylePriority.UsePadding = false;
+ this.xrLabel14.StylePriority.UseTextAlignment = false;
+ this.xrLabel14.Text = "Bewilligte FLS wöchentlich";
+ this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel16
+ //
+ this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")});
+ this.xrLabel16.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(593.75F, 47.1111F);
+ this.xrLabel16.Name = "xrLabel16";
+ this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel16.SizeF = new System.Drawing.SizeF(100.2502F, 30.50001F);
+ this.xrLabel16.StylePriority.UseBackColor = false;
+ this.xrLabel16.StylePriority.UseBorders = false;
+ this.xrLabel16.StylePriority.UseFont = false;
+ this.xrLabel16.StylePriority.UsePadding = false;
+ this.xrLabel16.StylePriority.UseTextAlignment = false;
+ this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel7
+ //
+ this.xrLabel7.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel7.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(415F, 77.6111F);
+ this.xrLabel7.Name = "xrLabel7";
+ this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel7.SizeF = new System.Drawing.SizeF(120.6389F, 30.50001F);
+ this.xrLabel7.StylePriority.UseBackColor = false;
+ this.xrLabel7.StylePriority.UseBorders = false;
+ this.xrLabel7.StylePriority.UseFont = false;
+ this.xrLabel7.StylePriority.UsePadding = false;
+ this.xrLabel7.StylePriority.UseTextAlignment = false;
+ this.xrLabel7.Text = "Aktenzeichen";
+ this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel8
+ //
+ this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel8.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(535.6389F, 77.6111F);
+ this.xrLabel8.Name = "xrLabel8";
+ this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel8.SizeF = new System.Drawing.SizeF(158.3612F, 30.50001F);
+ this.xrLabel8.StylePriority.UseBackColor = false;
+ this.xrLabel8.StylePriority.UseBorders = false;
+ this.xrLabel8.StylePriority.UseFont = false;
+ this.xrLabel8.StylePriority.UsePadding = false;
+ this.xrLabel8.StylePriority.UseTextAlignment = false;
+ this.xrLabel8.Text = "[ReferenceNumber]";
+ this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel6
+ //
+ this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel6.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(170F, 77.6111F);
+ this.xrLabel6.Name = "xrLabel6";
+ this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel6.SizeF = new System.Drawing.SizeF(209.3611F, 30.50001F);
+ this.xrLabel6.StylePriority.UseBackColor = false;
+ this.xrLabel6.StylePriority.UseBorders = false;
+ this.xrLabel6.StylePriority.UseFont = false;
+ this.xrLabel6.StylePriority.UsePadding = false;
+ this.xrLabel6.StylePriority.UseTextAlignment = false;
+ this.xrLabel6.Text = "[CustomerName]";
+ this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel5
+ //
+ this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrLabel5.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(170F, 47.1111F);
+ this.xrLabel5.Name = "xrLabel5";
+ this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel5.SizeF = new System.Drawing.SizeF(209.3611F, 30.50001F);
+ this.xrLabel5.StylePriority.UseBackColor = false;
+ this.xrLabel5.StylePriority.UseBorders = false;
+ this.xrLabel5.StylePriority.UseFont = false;
+ this.xrLabel5.StylePriority.UsePadding = false;
+ this.xrLabel5.StylePriority.UseTextAlignment = false;
+ this.xrLabel5.Text = "[Month] [Year]";
+ this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel4
+ //
+ this.xrLabel4.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel4.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(49.36111F, 77.6111F);
+ this.xrLabel4.Name = "xrLabel4";
+ this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel4.SizeF = new System.Drawing.SizeF(120.6389F, 30.50001F);
+ this.xrLabel4.StylePriority.UseBackColor = false;
+ this.xrLabel4.StylePriority.UseBorders = false;
+ this.xrLabel4.StylePriority.UseFont = false;
+ this.xrLabel4.StylePriority.UsePadding = false;
+ this.xrLabel4.StylePriority.UseTextAlignment = false;
+ this.xrLabel4.Text = "Klientin, Klient";
+ this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel3
+ //
+ this.xrLabel3.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)));
+ this.xrLabel3.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(49.3611F, 47.11109F);
+ this.xrLabel3.Name = "xrLabel3";
+ this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel3.SizeF = new System.Drawing.SizeF(120.6389F, 30.50001F);
+ this.xrLabel3.StylePriority.UseBackColor = false;
+ this.xrLabel3.StylePriority.UseBorders = false;
+ this.xrLabel3.StylePriority.UseFont = false;
+ this.xrLabel3.StylePriority.UsePadding = false;
+ this.xrLabel3.StylePriority.UseTextAlignment = false;
+ this.xrLabel3.Text = "Monat";
+ this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel2
+ //
+ this.xrLabel2.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrLabel2.ForeColor = System.Drawing.Color.Black;
+ this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrLabel2.Multiline = true;
+ this.xrLabel2.Name = "xrLabel2";
+ this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
+ this.xrLabel2.SizeF = new System.Drawing.SizeF(674.9998F, 25F);
+ this.xrLabel2.StylePriority.UseFont = false;
+ this.xrLabel2.StylePriority.UseForeColor = false;
+ this.xrLabel2.StylePriority.UseTextAlignment = false;
+ this.xrLabel2.Text = "Quittierungsbeleg [Mandator.Name]";
+ this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
+ //
+ // formattingRuleServiceDesc
+ //
+ this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleServiceDesc.DataMember = "ServicesDouble";
+ this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc";
+ //
+ // formattingRuleCostBearer
+ //
+ this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleCostBearer.DataMember = "ServicesDouble";
+ this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleCostBearer.Name = "formattingRuleCostBearer";
+ //
+ // formattingRuleEmployeeName
+ //
+ this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]";
+ this.formattingRuleEmployeeName.DataMember = "ServicesDouble";
+ this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
+ this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName";
+ //
+ // topMarginBand1
+ //
+ this.topMarginBand1.HeightF = 100F;
+ this.topMarginBand1.Name = "topMarginBand1";
+ //
+ // bottomMarginBand1
+ //
+ this.bottomMarginBand1.HeightF = 30F;
+ this.bottomMarginBand1.Name = "bottomMarginBand1";
+ //
+ // GroupFooter1
+ //
+ this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
+ this.xrLabel22,
+ this.xrLabel23,
+ this.xrLabel19,
+ this.xrLabel20,
+ this.xrLabel21,
+ this.lblFehlkontakt,
+ this.xrPictureBox2,
+ this.lblUnterschriftKlient,
+ this.lblUnterschriftMitarbeiter,
+ this.xrTableAbwesenheiten,
+ this.lblHatAbwesenheiten,
+ this.lblHatGruppen,
+ this.xrRichText2,
+ this.xrRichText1,
+ this.xrLabel15,
+ this.xrLabel13,
+ this.xrLabel12,
+ this.xrLabel11,
+ this.xrLabel10,
+ this.xrLabel9,
+ this.xrLabel1,
+ this.xrPictureBox1});
+ this.GroupFooter1.HeightF = 270F;
+ this.GroupFooter1.KeepTogether = true;
+ this.GroupFooter1.Name = "GroupFooter1";
+ //
+ // xrLabel22
+ //
+ this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.Right;
+ this.xrLabel22.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(244.9998F, 20.00001F);
+ this.xrLabel22.Name = "xrLabel22";
+ this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel22.SizeF = new System.Drawing.SizeF(85F, 20F);
+ this.xrLabel22.StylePriority.UseBackColor = false;
+ this.xrLabel22.StylePriority.UseBorders = false;
+ this.xrLabel22.StylePriority.UseFont = false;
+ this.xrLabel22.StylePriority.UsePadding = false;
+ this.xrLabel22.StylePriority.UseTextAlignment = false;
+ this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel23
+ //
+ this.xrLabel23.BackColor = System.Drawing.Color.Transparent;
+ this.xrLabel23.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel23.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(329.9998F, 20.00001F);
+ this.xrLabel23.Name = "xrLabel23";
+ this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel23.SizeF = new System.Drawing.SizeF(85F, 20F);
+ this.xrLabel23.StylePriority.UseBackColor = false;
+ this.xrLabel23.StylePriority.UseBorders = false;
+ this.xrLabel23.StylePriority.UseFont = false;
+ this.xrLabel23.StylePriority.UsePadding = false;
+ this.xrLabel23.StylePriority.UseTextAlignment = false;
+ this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // xrLabel19
+ //
+ this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.Right;
+ this.xrLabel19.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(244.9999F, 40.00003F);
+ this.xrLabel19.Name = "xrLabel19";
+ this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel19.SizeF = new System.Drawing.SizeF(85F, 20F);
+ this.xrLabel19.StylePriority.UseBackColor = false;
+ this.xrLabel19.StylePriority.UseBorders = false;
+ this.xrLabel19.StylePriority.UseFont = false;
+ this.xrLabel19.StylePriority.UsePadding = false;
+ this.xrLabel19.StylePriority.UseTextAlignment = false;
+ this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel20
+ //
+ this.xrLabel20.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMFehlkontakte", "{0:0.##}")});
+ this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(329.9999F, 40.00003F);
+ this.xrLabel20.Name = "xrLabel20";
+ this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel20.SizeF = new System.Drawing.SizeF(85F, 20F);
+ this.xrLabel20.StylePriority.UseBackColor = false;
+ this.xrLabel20.StylePriority.UseBorders = false;
+ this.xrLabel20.StylePriority.UseFont = false;
+ this.xrLabel20.StylePriority.UsePadding = false;
+ this.xrLabel20.StylePriority.UseTextAlignment = false;
+ this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // xrLabel21
+ //
+ this.xrLabel21.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel21.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel21.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(414.9999F, 40.00003F);
+ this.xrLabel21.Name = "xrLabel21";
+ this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel21.SizeF = new System.Drawing.SizeF(320F, 20F);
+ this.xrLabel21.StylePriority.UseBackColor = false;
+ this.xrLabel21.StylePriority.UseBorders = false;
+ this.xrLabel21.StylePriority.UseFont = false;
+ this.xrLabel21.StylePriority.UsePadding = false;
+ this.xrLabel21.StylePriority.UseTextAlignment = false;
+ this.xrLabel21.Text = "Fehlkontakte in Minuten";
+ this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // lblFehlkontakt
+ //
+ this.lblFehlkontakt.Font = new System.Drawing.Font("Arial", 10F);
+ this.lblFehlkontakt.LocationFloat = new DevExpress.Utils.PointFloat(0F, 40.00005F);
+ this.lblFehlkontakt.Name = "lblFehlkontakt";
+ this.lblFehlkontakt.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.lblFehlkontakt.SizeF = new System.Drawing.SizeF(245F, 20F);
+ this.lblFehlkontakt.StylePriority.UseBackColor = false;
+ this.lblFehlkontakt.StylePriority.UseBorders = false;
+ this.lblFehlkontakt.StylePriority.UseFont = false;
+ this.lblFehlkontakt.StylePriority.UsePadding = false;
+ this.lblFehlkontakt.StylePriority.UseTextAlignment = false;
+ this.lblFehlkontakt.Text = "F = Fehlkontakt";
+ this.lblFehlkontakt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrPictureBox2
+ //
+ this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Image", null, "CustomerSignature")});
+ this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(49.3611F, 214.5F);
+ this.xrPictureBox2.Name = "xrPictureBox2";
+ this.xrPictureBox2.SizeF = new System.Drawing.SizeF(336.6944F, 35.50002F);
+ this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
+ //
+ // lblUnterschriftKlient
+ //
+ this.lblUnterschriftKlient.Borders = DevExpress.XtraPrinting.BorderSide.Top;
+ this.lblUnterschriftKlient.Font = new System.Drawing.Font("Arial", 10F);
+ this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(49.3611F, 250F);
+ this.lblUnterschriftKlient.Name = "lblUnterschriftKlient";
+ this.lblUnterschriftKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.lblUnterschriftKlient.SizeF = new System.Drawing.SizeF(336.6944F, 20F);
+ this.lblUnterschriftKlient.StylePriority.UseBackColor = false;
+ this.lblUnterschriftKlient.StylePriority.UseBorders = false;
+ this.lblUnterschriftKlient.StylePriority.UseFont = false;
+ this.lblUnterschriftKlient.StylePriority.UsePadding = false;
+ this.lblUnterschriftKlient.StylePriority.UseTextAlignment = false;
+ this.lblUnterschriftKlient.Text = "Datum, Unterschrift Klient/in";
+ this.lblUnterschriftKlient.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // lblUnterschriftMitarbeiter
+ //
+ this.lblUnterschriftMitarbeiter.Borders = DevExpress.XtraPrinting.BorderSide.Top;
+ this.lblUnterschriftMitarbeiter.Font = new System.Drawing.Font("Arial", 10F);
+ this.lblUnterschriftMitarbeiter.LocationFloat = new DevExpress.Utils.PointFloat(398.31F, 250F);
+ this.lblUnterschriftMitarbeiter.Name = "lblUnterschriftMitarbeiter";
+ this.lblUnterschriftMitarbeiter.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.lblUnterschriftMitarbeiter.SizeF = new System.Drawing.SizeF(336.6944F, 19.99998F);
+ this.lblUnterschriftMitarbeiter.StylePriority.UseBackColor = false;
+ this.lblUnterschriftMitarbeiter.StylePriority.UseBorders = false;
+ this.lblUnterschriftMitarbeiter.StylePriority.UseFont = false;
+ this.lblUnterschriftMitarbeiter.StylePriority.UsePadding = false;
+ this.lblUnterschriftMitarbeiter.StylePriority.UseTextAlignment = false;
+ this.lblUnterschriftMitarbeiter.Text = "Datum, verantwortliche/r Mitarbeiter/in";
+ this.lblUnterschriftMitarbeiter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // xrTableAbwesenheiten
+ //
+ this.xrTableAbwesenheiten.BorderColor = System.Drawing.Color.Black;
+ this.xrTableAbwesenheiten.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrTableAbwesenheiten.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(170F, 80.00005F);
+ this.xrTableAbwesenheiten.Name = "xrTableAbwesenheiten";
+ this.xrTableAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableAbwesenheiten.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
+ this.xrTableRow3,
+ this.xrTableRow4,
+ this.xrTableRow5,
+ this.xrTableRow7,
+ this.xrTableRow8});
+ this.xrTableAbwesenheiten.SizeF = new System.Drawing.SizeF(230F, 100F);
+ this.xrTableAbwesenheiten.StylePriority.UseBorders = false;
+ this.xrTableAbwesenheiten.StylePriority.UseFont = false;
+ this.xrTableAbwesenheiten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrTableRow3
+ //
+ this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell16,
+ this.xrTableCell17,
+ this.xrTableCell18});
+ this.xrTableRow3.Name = "xrTableRow3";
+ this.xrTableRow3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
+ this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ this.xrTableRow3.Weight = 1D;
+ //
+ // xrTableCell16
+ //
+ this.xrTableCell16.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell16.Name = "xrTableCell16";
+ this.xrTableCell16.StylePriority.UseBorders = false;
+ this.xrTableCell16.StylePriority.UseFont = false;
+ this.xrTableCell16.StylePriority.UsePadding = false;
+ this.xrTableCell16.StylePriority.UseTextAlignment = false;
+ this.xrTableCell16.Text = "von";
+ this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell16.Weight = 0.1073232364991462D;
+ //
+ // xrTableCell17
+ //
+ this.xrTableCell17.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell17.Name = "xrTableCell17";
+ this.xrTableCell17.StylePriority.UseBorders = false;
+ this.xrTableCell17.StylePriority.UseFont = false;
+ this.xrTableCell17.StylePriority.UsePadding = false;
+ this.xrTableCell17.StylePriority.UseTextAlignment = false;
+ this.xrTableCell17.Text = "bis";
+ this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell17.Weight = 0.10732323432577288D;
+ //
+ // xrTableCell18
+ //
+ this.xrTableCell18.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell18.Name = "xrTableCell18";
+ this.xrTableCell18.StylePriority.UseBorders = false;
+ this.xrTableCell18.StylePriority.UseFont = false;
+ this.xrTableCell18.StylePriority.UsePadding = false;
+ this.xrTableCell18.StylePriority.UseTextAlignment = false;
+ this.xrTableCell18.Text = "Tage";
+ this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell18.Weight = 0.075757568269402914D;
+ //
+ // xrTableRow4
+ //
+ this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell19,
+ this.xrTableCell20,
+ this.xrTableCell21});
+ this.xrTableRow4.Name = "xrTableRow4";
+ this.xrTableRow4.Weight = 1D;
+ //
+ // xrTableCell19
+ //
+ this.xrTableCell19.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell19.Name = "xrTableCell19";
+ this.xrTableCell19.StylePriority.UseFont = false;
+ this.xrTableCell19.StylePriority.UseTextAlignment = false;
+ this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell19.Weight = 0.1073232364991462D;
+ //
+ // xrTableCell20
+ //
+ this.xrTableCell20.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell20.Name = "xrTableCell20";
+ this.xrTableCell20.StylePriority.UseFont = false;
+ this.xrTableCell20.StylePriority.UseTextAlignment = false;
+ this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell20.Weight = 0.10732323432577288D;
+ //
+ // xrTableCell21
+ //
+ this.xrTableCell21.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell21.Name = "xrTableCell21";
+ this.xrTableCell21.StylePriority.UseFont = false;
+ this.xrTableCell21.StylePriority.UseTextAlignment = false;
+ this.xrTableCell21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell21.Weight = 0.075757568269402914D;
+ //
+ // xrTableRow5
+ //
+ this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell22,
+ this.xrTableCell23,
+ this.xrTableCell24});
+ this.xrTableRow5.Name = "xrTableRow5";
+ this.xrTableRow5.Weight = 1D;
+ //
+ // xrTableCell22
+ //
+ this.xrTableCell22.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell22.Name = "xrTableCell22";
+ this.xrTableCell22.StylePriority.UseFont = false;
+ this.xrTableCell22.StylePriority.UseTextAlignment = false;
+ this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell22.Weight = 0.1073232364991462D;
+ //
+ // xrTableCell23
+ //
+ this.xrTableCell23.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell23.Name = "xrTableCell23";
+ this.xrTableCell23.StylePriority.UseFont = false;
+ this.xrTableCell23.StylePriority.UseTextAlignment = false;
+ this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell23.Weight = 0.10732323432577288D;
+ //
+ // xrTableCell24
+ //
+ this.xrTableCell24.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell24.Name = "xrTableCell24";
+ this.xrTableCell24.StylePriority.UseFont = false;
+ this.xrTableCell24.StylePriority.UseTextAlignment = false;
+ this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell24.Weight = 0.075757568269402914D;
+ //
+ // xrTableRow7
+ //
+ this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell25,
+ this.xrTableCell26,
+ this.xrTableCell27});
+ this.xrTableRow7.Name = "xrTableRow7";
+ this.xrTableRow7.Weight = 1D;
+ //
+ // xrTableCell25
+ //
+ this.xrTableCell25.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell25.Name = "xrTableCell25";
+ this.xrTableCell25.StylePriority.UseFont = false;
+ this.xrTableCell25.StylePriority.UseTextAlignment = false;
+ this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell25.Weight = 0.1073232364991462D;
+ //
+ // xrTableCell26
+ //
+ this.xrTableCell26.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell26.Name = "xrTableCell26";
+ this.xrTableCell26.StylePriority.UseFont = false;
+ this.xrTableCell26.StylePriority.UseTextAlignment = false;
+ this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell26.Weight = 0.10732323432577288D;
+ //
+ // xrTableCell27
+ //
+ this.xrTableCell27.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell27.Name = "xrTableCell27";
+ this.xrTableCell27.StylePriority.UseFont = false;
+ this.xrTableCell27.StylePriority.UseTextAlignment = false;
+ this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell27.Weight = 0.075757568269402914D;
+ //
+ // xrTableRow8
+ //
+ this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
+ this.xrTableCell29,
+ this.xrTableCell30,
+ this.xrTableCell31});
+ this.xrTableRow8.Name = "xrTableRow8";
+ this.xrTableRow8.Weight = 1D;
+ //
+ // xrTableCell29
+ //
+ this.xrTableCell29.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell29.Name = "xrTableCell29";
+ this.xrTableCell29.StylePriority.UseFont = false;
+ this.xrTableCell29.StylePriority.UseTextAlignment = false;
+ this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell29.Weight = 0.1073232364991462D;
+ //
+ // xrTableCell30
+ //
+ this.xrTableCell30.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell30.Name = "xrTableCell30";
+ this.xrTableCell30.StylePriority.UseFont = false;
+ this.xrTableCell30.StylePriority.UseTextAlignment = false;
+ this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell30.Weight = 0.10732323432577288D;
+ //
+ // xrTableCell31
+ //
+ this.xrTableCell31.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.xrTableCell31.Name = "xrTableCell31";
+ this.xrTableCell31.StylePriority.UseFont = false;
+ this.xrTableCell31.StylePriority.UseTextAlignment = false;
+ this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ this.xrTableCell31.Weight = 0.075757568269402914D;
+ //
+ // lblHatAbwesenheiten
+ //
+ this.lblHatAbwesenheiten.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.lblHatAbwesenheiten.Font = new System.Drawing.Font("Arial", 10F);
+ this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 130F);
+ this.lblHatAbwesenheiten.Name = "lblHatAbwesenheiten";
+ this.lblHatAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.lblHatAbwesenheiten.SizeF = new System.Drawing.SizeF(30F, 30F);
+ this.lblHatAbwesenheiten.StylePriority.UseBackColor = false;
+ this.lblHatAbwesenheiten.StylePriority.UseBorders = false;
+ this.lblHatAbwesenheiten.StylePriority.UseFont = false;
+ this.lblHatAbwesenheiten.StylePriority.UsePadding = false;
+ this.lblHatAbwesenheiten.StylePriority.UseTextAlignment = false;
+ this.lblHatAbwesenheiten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // lblHatGruppen
+ //
+ this.lblHatGruppen.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
+ | DevExpress.XtraPrinting.BorderSide.Right)
+ | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.lblHatGruppen.Font = new System.Drawing.Font("Arial", 10F);
+ this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1388F, 80.00005F);
+ this.lblHatGruppen.Name = "lblHatGruppen";
+ this.lblHatGruppen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.lblHatGruppen.SizeF = new System.Drawing.SizeF(30F, 30F);
+ this.lblHatGruppen.StylePriority.UseBackColor = false;
+ this.lblHatGruppen.StylePriority.UseBorders = false;
+ this.lblHatGruppen.StylePriority.UseFont = false;
+ this.lblHatGruppen.StylePriority.UsePadding = false;
+ this.lblHatGruppen.StylePriority.UseTextAlignment = false;
+ this.lblHatGruppen.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // xrRichText2
+ //
+ this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 130F);
+ this.xrRichText2.Name = "xrRichText2";
+ this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString");
+ this.xrRichText2.SizeF = new System.Drawing.SizeF(264.972F, 68.05556F);
+ this.xrRichText2.StylePriority.UseFont = false;
+ //
+ // xrRichText1
+ //
+ this.xrRichText1.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 80.00005F);
+ this.xrRichText1.Name = "xrRichText1";
+ this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
+ this.xrRichText1.SizeF = new System.Drawing.SizeF(264.9721F, 50F);
+ this.xrRichText1.StylePriority.UseFont = false;
+ //
+ // xrLabel15
+ //
+ this.xrLabel15.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Underline);
+ this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 80.00005F);
+ this.xrLabel15.Multiline = true;
+ this.xrLabel15.Name = "xrLabel15";
+ this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel15.SizeF = new System.Drawing.SizeF(170F, 43.61115F);
+ this.xrLabel15.StylePriority.UseBackColor = false;
+ this.xrLabel15.StylePriority.UseBorders = false;
+ this.xrLabel15.StylePriority.UseFont = false;
+ this.xrLabel15.StylePriority.UsePadding = false;
+ this.xrLabel15.StylePriority.UseTextAlignment = false;
+ this.xrLabel15.Text = "Krankenhausaufenthalte/\r\nstat. Rehamaßnahmen:";
+ this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
+ //
+ // xrLabel13
+ //
+ this.xrLabel13.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.00004F);
+ this.xrLabel13.Name = "xrLabel13";
+ this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel13.SizeF = new System.Drawing.SizeF(245F, 20F);
+ this.xrLabel13.StylePriority.UseBackColor = false;
+ this.xrLabel13.StylePriority.UseBorders = false;
+ this.xrLabel13.StylePriority.UseFont = false;
+ this.xrLabel13.StylePriority.UsePadding = false;
+ this.xrLabel13.StylePriority.UseTextAlignment = false;
+ this.xrLabel13.Text = "GR = Gruppenangebot";
+ this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel12
+ //
+ this.xrLabel12.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
+ this.xrLabel12.Name = "xrLabel12";
+ this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel12.SizeF = new System.Drawing.SizeF(245F, 20F);
+ this.xrLabel12.StylePriority.UseBackColor = false;
+ this.xrLabel12.StylePriority.UseBorders = false;
+ this.xrLabel12.StylePriority.UseFont = false;
+ this.xrLabel12.StylePriority.UsePadding = false;
+ this.xrLabel12.StylePriority.UseTextAlignment = false;
+ this.xrLabel12.Text = "E = ear to ear, face to face";
+ this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel11
+ //
+ this.xrLabel11.BackColor = System.Drawing.Color.Transparent;
+ this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel11.Font = new System.Drawing.Font("Arial", 8F);
+ this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(415F, 20.00001F);
+ this.xrLabel11.Name = "xrLabel11";
+ this.xrLabel11.SizeF = new System.Drawing.SizeF(320F, 20F);
+ this.xrLabel11.StylePriority.UseBackColor = false;
+ this.xrLabel11.StylePriority.UseBorders = false;
+ this.xrLabel11.StylePriority.UseFont = false;
+ this.xrLabel11.StylePriority.UsePadding = false;
+ this.xrLabel11.StylePriority.UseTextAlignment = false;
+ this.xrLabel11.Text = "Ohne Faktor 1,2 (wird erst bei Abrechnung eingerechnet)";
+ this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // xrLabel10
+ //
+ this.xrLabel10.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel10.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(415F, 0F);
+ this.xrLabel10.Name = "xrLabel10";
+ this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel10.SizeF = new System.Drawing.SizeF(320F, 20F);
+ this.xrLabel10.StylePriority.UseBackColor = false;
+ this.xrLabel10.StylePriority.UseBorders = false;
+ this.xrLabel10.StylePriority.UseFont = false;
+ this.xrLabel10.StylePriority.UsePadding = false;
+ this.xrLabel10.StylePriority.UseTextAlignment = false;
+ this.xrLabel10.Text = "Fachleistungen in Minuten";
+ this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel9
+ //
+ this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Right;
+ this.xrLabel9.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(245F, 0F);
+ this.xrLabel9.Name = "xrLabel9";
+ this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel9.SizeF = new System.Drawing.SizeF(85F, 20F);
+ this.xrLabel9.StylePriority.UseBackColor = false;
+ this.xrLabel9.StylePriority.UseBorders = false;
+ this.xrLabel9.StylePriority.UseFont = false;
+ this.xrLabel9.StylePriority.UsePadding = false;
+ this.xrLabel9.StylePriority.UseTextAlignment = false;
+ this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
+ //
+ // xrLabel1
+ //
+ this.xrLabel1.BackColor = System.Drawing.Color.Gainsboro;
+ this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
+ this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMoFehlkontakte", "{0:0.##}")});
+ this.xrLabel1.Font = new System.Drawing.Font("Arial", 10F);
+ this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(330F, 0F);
+ this.xrLabel1.Name = "xrLabel1";
+ this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
+ this.xrLabel1.SizeF = new System.Drawing.SizeF(85F, 20F);
+ this.xrLabel1.StylePriority.UseBackColor = false;
+ this.xrLabel1.StylePriority.UseBorders = false;
+ this.xrLabel1.StylePriority.UseFont = false;
+ this.xrLabel1.StylePriority.UsePadding = false;
+ this.xrLabel1.StylePriority.UseTextAlignment = false;
+ this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
+ //
+ // xrPictureBox1
+ //
+ this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
+ new DevExpress.XtraReports.UI.XRBinding("Image", null, "EmployeeSignature")});
+ this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(398.31F, 214.5F);
+ this.xrPictureBox1.Name = "xrPictureBox1";
+ this.xrPictureBox1.Scripts.OnBeforePrint = "xrPictureBox1_BeforePrint";
+ this.xrPictureBox1.SizeF = new System.Drawing.SizeF(336.69F, 35.50002F);
+ this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
+ //
+ // fieldKontaktArt
+ //
+ this.fieldKontaktArt.DataMember = "Services";
+ this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')";
+ this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
+ this.fieldKontaktArt.Name = "fieldKontaktArt";
+ //
+ // Quittierungsbeleg
+ //
+ this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
+ this.Detail,
+ this.DetailReport,
+ this.ReportHeader,
+ this.topMarginBand1,
+ this.bottomMarginBand1,
+ this.GroupFooter1});
+ this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
+ this.fieldKontaktArt});
+ this.DataSource = this.bindingSource1;
+ this.Font = new System.Drawing.Font("Arial", 10F);
+ this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
+ this.formattingRuleStartDate,
+ this.formattingRuleServiceDesc,
+ this.formattingRuleCostBearer,
+ this.formattingRuleEmployeeName});
+ this.Margins = new System.Drawing.Printing.Margins(50, 30, 100, 30);
+ this.PageHeight = 1169;
+ this.PageWidth = 827;
+ this.PaperKind = System.Drawing.Printing.PaperKind.A4;
+ this.Version = "17.1";
+ ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraReports.UI.DetailBand Detail;
+ private System.Windows.Forms.BindingSource bindingSource1;
+ private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
+ private DevExpress.XtraReports.UI.DetailBand Detail1;
+ private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleCostBearer;
+ private DevExpress.XtraReports.UI.FormattingRule formattingRuleEmployeeName;
+ private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
+ private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel2;
+ private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
+ private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell28;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell43;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
+ private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel3;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel7;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel8;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel6;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel5;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel4;
+ private DevExpress.XtraReports.UI.XRTable xrTable3;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell44;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
+ private DevExpress.XtraReports.UI.CalculatedField fieldKontaktArt;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel11;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel10;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel9;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel1;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel13;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel12;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel15;
+ private DevExpress.XtraReports.UI.XRRichText xrRichText1;
+ private DevExpress.XtraReports.UI.XRRichText xrRichText2;
+ private DevExpress.XtraReports.UI.XRLabel lblHatAbwesenheiten;
+ private DevExpress.XtraReports.UI.XRLabel lblHatGruppen;
+ private DevExpress.XtraReports.UI.XRTable xrTableAbwesenheiten;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
+ private DevExpress.XtraReports.UI.XRLabel lblUnterschriftKlient;
+ private DevExpress.XtraReports.UI.XRLabel lblUnterschriftMitarbeiter;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow5;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow7;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell25;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell26;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell27;
+ private DevExpress.XtraReports.UI.XRTableRow xrTableRow8;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
+ private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel14;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel16;
+ private DevExpress.XtraReports.UI.XRPictureBox picSignature;
+ private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
+ private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2;
+ private DevExpress.XtraReports.UI.XRLabel lblFehlkontakt;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel19;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel20;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel21;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel22;
+ private DevExpress.XtraReports.UI.XRLabel xrLabel23;
+ }
+}
diff --git a/ReportImp/SKFLeverkusen/Quittierungsbeleg.cs b/ReportImp/SKFLeverkusen/Quittierungsbeleg.cs
new file mode 100644
index 000000000..63f035577
--- /dev/null
+++ b/ReportImp/SKFLeverkusen/Quittierungsbeleg.cs
@@ -0,0 +1,160 @@
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.IO;
+using System.Text.RegularExpressions;
+using BeWo.Report;
+using BeWo.Report.ReportObjects;
+using BS.Shared.Core;
+using DevExpress.XtraReports.UI;
+
+namespace SKFLeverkusen
+{
+ public partial class Quittierungsbeleg : XtraReport, IBeWoReport
+ {
+ public Quittierungsbeleg()
+ {
+ InitializeComponent();
+ }
+
+ public void SetReportDataSource(ServicesOverviewRO pRO)
+ {
+ var hatGruppen = false;
+
+ if(pRO.Services != null)
+ {
+ var servicesBillable = new List();
+
+ foreach(var sd in pRO.Services)
+ {
+ if(sd.IsBillable || sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
+ {
+ ServicesOverviewRO.CreateSignatureString(sd);
+ sd.Notice5 = "E";
+
+ if(sd.IsGroup)
+ {
+ sd.Notice5 = "GR";
+ hatGruppen = true;
+ }
+
+ if(sd.ServiceDescription.ToLower().Contains("fehlkontakt") || sd.ServiceCategory.ToLower().Contains("fehlkontakt"))
+ {
+ sd.Notice5 = "F";
+ }
+
+ servicesBillable.Add(sd);
+ }
+ }
+
+ pRO.Services = servicesBillable;
+ }
+
+ if(string.IsNullOrWhiteSpace(pRO.AbsenceTimes))
+ {
+ lblHatAbwesenheiten.Text = "X";
+ }
+
+ if(!hatGruppen)
+ {
+ lblHatGruppen.Text = "X";
+ }
+
+ ErstelleAbwesenheitenTabelle(pRO);
+
+ bindingSource1.DataSource = pRO;
+ }
+
+ private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo)
+ {
+ if(pRo.Abwesenheiten is null)
+ {
+ return;
+ }
+
+ var newRows = 0;
+ var index = 1;
+
+ foreach(var at in pRo.Abwesenheiten)
+ {
+ XRTableRow row;
+
+ if(index < xrTableAbwesenheiten.Rows.Count)
+ {
+ row = xrTableAbwesenheiten.Rows[index];
+ }
+ else
+ {
+ row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]);
+ newRows++;
+ }
+
+ row.Cells[0].Text = $"{at.Start:dd.MM.yyyy}";
+ int? days = null;
+
+ if(at.End.HasValue)
+ {
+ row.Cells[1].Text = $"{at.End:dd.MM.yyyy}";
+ days = (int)at.End.Value.Subtract(at.Start.Value).TotalDays + 1;
+ }
+ else
+ {
+ row.Cells[1].Text = "unbekannt";
+ }
+
+ row.Cells[2].Text = String.Format("{0:0}", days);
+
+ index++;
+ }
+
+ if(newRows <= 0)
+ {
+ return;
+ }
+
+ lblUnterschriftKlient.Top += newRows * 20;
+ lblUnterschriftMitarbeiter.Top += newRows * 20;
+ }
+
+ private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
+ {
+ if(sender is XRPictureBox xrPictureBox && xrPictureBox.Tag is string base64ImageString)
+ {
+ if(!string.IsNullOrWhiteSpace(base64ImageString))
+ {
+ var base64Data = Regex.Match(base64ImageString, @"data:image/(?.+?),(?.+)").Groups["data"].Value;
+ var binData = Convert.FromBase64String(base64Data);
+ var img = ByteArrayToImage(binData);
+ xrPictureBox.Image = Utils.CropImage(img);
+ }
+ else
+ {
+ xrPictureBox.Image = null;
+ }
+ }
+
+ var xrBox = sender as XRPictureBox;
+
+ var base64String = xrBox.Tag as string;
+ if (!string.IsNullOrWhiteSpace(base64String))
+ {
+ var base64Data = Regex.Match(base64String, @"data:image/(?.+?),(?.+)").Groups["data"].Value;
+ var binData = Convert.FromBase64String(base64Data);
+ var img = ByteArrayToImage(binData);
+ xrBox.Image = Utils.CropImage(img);
+ }
+ else
+ {
+ xrBox.Image = null;
+ }
+ }
+
+ public Image ByteArrayToImage(byte[] byteArrayIn)
+ {
+ using(var memoryStream = new MemoryStream(byteArrayIn))
+ {
+ return Image.FromStream(memoryStream);
+ }
+ }
+ }
+}
diff --git a/ReportImp/SKFLeverkusen/Quittierungsbeleg.resx b/ReportImp/SKFLeverkusen/Quittierungsbeleg.resx
new file mode 100644
index 000000000..9f46badba
--- /dev/null
+++ b/ReportImp/SKFLeverkusen/Quittierungsbeleg.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 21, 17
+
+
+ ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAYgBlAGsAYQBuAG4AdAAgAG8AZABlAHIAIAB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbAB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A
+
+
+ ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEcAcgB1AHAAcABlAG4AYQBuAGcAZQBiAG8AdABlAH0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA=
+
+
\ No newline at end of file
diff --git a/ReportImp/SKFLeverkusen/SKFLeverkusen.csproj b/ReportImp/SKFLeverkusen/SKFLeverkusen.csproj
index ea3ac3b45..4164bbfb3 100644
--- a/ReportImp/SKFLeverkusen/SKFLeverkusen.csproj
+++ b/ReportImp/SKFLeverkusen/SKFLeverkusen.csproj
@@ -119,6 +119,12 @@
Betreuungsvertrag.cs
+
+ Component
+
+
+ Quittierungsbeleg.cs
+
Component
@@ -192,6 +198,10 @@
Betreuungsvertrag.cs
+
+ Quittierungsbeleg.cs
+ Designer
+
SettlementReport.cs
Designer
diff --git a/Service/Plugins/PluginLoader.cs b/Service/Plugins/PluginLoader.cs
index 2302eef01..7bafc1dc2 100644
--- a/Service/Plugins/PluginLoader.cs
+++ b/Service/Plugins/PluginLoader.cs
@@ -142,7 +142,7 @@ namespace BeWo.Service.Plugins
//t = "3956369664"; // LH Wetterau
//t = "3984525482"; // API Berlin
//t = "9975231461"; // Selwo
- t = "8181286349"; // BeWo am Rhein
+ //t = "8181286349"; // BeWo am Rhein
//t = "4595275645"; // Eigenständig
//t = "7912635399"; // Prof. Dr. Eggers Stiftung
//t = "3549726254"; // Socia
@@ -157,7 +157,7 @@ namespace BeWo.Service.Plugins
//t = "3852198843"; // LH Mannheim
//t = "9800364930"; // BeWo Leverkusen
//t = "4439874912"; // BeWo Sahin
- t = "1873138856"; // BUG e.V.
+ //t = "1873138856"; // BUG e.V.
//t = "6463422907"; // Caritas Leverkusen
//t = "6149463003"; // Diakonisches Werk Bad Windsheim Neustadt a. d. Aisch
//t = "6548202677"; // VKM Aachen SBD
@@ -195,7 +195,7 @@ namespace BeWo.Service.Plugins
//t = "9556218062"; // Diakonie Landshut
//t = "2279593936"; // Diakonie Mülheim
//t = "3623837005"; // Betreuwo Wesel
- //t = "8407321888"; // AWO Wesel
+ t = "8407321888"; // AWO Wesel
//t = "8454426692"; // Mit-Menschen Wuppertal
//t = "0629004412"; // BeWo-Colonia Basaran (Projekt
//t = "7668701607"; // Wohnstätten Essen
@@ -209,7 +209,7 @@ namespace BeWo.Service.Plugins
//t = "4189934785"; // Landshuter Netzwerke
//t = "7584236951"; // Aachener Betreuungsbüro Kirschbaum und Manz GbR
//t = "3678599942"; // VKM Rietberg
- t = "4069072369"; // BeWo Dreilich&Pastor (Projekt TranskulturellesBBPastor)
+ //t = "4069072369"; // BeWo Dreilich&Pastor (Projekt TranskulturellesBBPastor)
//t = "4160851689"; // BeWo Dreilich&Pastor (Dreilich)
//t = "9970072066"; // Bussmannshof
//t = "2993745954"; // Kollegium für freie Jugendarbeit und Berufsbildung e.V.
@@ -346,7 +346,7 @@ namespace BeWo.Service.Plugins
//t = "3226307161"; // Roman Roger Puth
//t = "3522103738"; // AWO Münsterland-Recklinghausen
//t = "5592509446"; // Kontakt Verein für psychosoziale Hilfen e.V
- t = "5344902949"; // SHK Service GmbH SBD
+ //t = "5344902949"; // SHK Service GmbH SBD
//t = "1422963536"; // Malteser-Johanniter-Johanneshaus gGmbH
//t = "5433105975"; // aha e.V.
//t = "1701920223"; // SKFM Monheim
diff --git a/Service/Plugins/ResourceService.cs b/Service/Plugins/ResourceService.cs
index 1515b5683..fb832b068 100644
--- a/Service/Plugins/ResourceService.cs
+++ b/Service/Plugins/ResourceService.cs
@@ -1,13 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using BeWo.Data;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.DCEntityMapper;
+using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
-using BS.Shared.DataContracts.Compact;
using BS.Shared.Extensions;
+using NHibernate.Util;
namespace BeWo.Service.Plugins
{
@@ -32,21 +34,77 @@ namespace BeWo.Service.Plugins
return list;
}
- public virtual Dictionary> CheckResourceAvailabilityWithBookingEmployees(DateTime start, DateTime end, List resourceOids, long? selectedAppointmentOid)
+ public virtual Dictionary> CheckResourceAvailabilityWithBookingEmployees(DateTime start, DateTime end, List resourceOids, long? selectedAppointmentOid)
{
- var result = new Dictionary>();
+ var appointments = DAOFactory.SearchDAO.FindAppointmentsByResourcesInInterval(resourceOids, start, end, selectedAppointmentOid);
- var dictionary = DAOFactory.SearchDAO.CheckAvailabilityOfResources(resourceOids, start, end, selectedAppointmentOid);
+ var user = LoggedInUserOperationContextExt.Current?.User ?? SessionFacade.LoggedInUser;
- dictionary.DoForEach(kvp =>
+ var result = new Dictionary>();
+
+ if(user is null)
{
- //var resourceDC = MapperFactory.ResourceDC_Resource.MapToNewDC(kvp.Key);
- //var compactEmployeeDCs = MapperFactory.CompactEmployeeDC_Employee.MapToNewDCs(kvp.Value);
+ return result;
+ }
- //result.Add(resourceDC, compactEmployeeDCs);
- });
+ var loggedInEmployee = user.Employee;
+
+ var hasRightToViewEmployeeAppointments = user.CheckForRight(UserRightType.KalenderMitarbeitertermineAnsehen);
+ var hasRightToViewResourceAppointments = user.CheckForRight(UserRightType.KalenderRessourcentermineAnsehen);
+
+ var dictionary = new Dictionary>();
+
+ foreach(var appointment in appointments)
+ {
+ foreach(var resource in appointment.ResourceList)
+ {
+ dictionary.AddOrUpdateValueInDictionary(resource, appointment);
+ }
+ }
+
+ foreach(var resource2Appointments in dictionary)
+ {
+ foreach(var appointment in resource2Appointments.Value)
+ {
+ var originator = appointment.Originator;
+ var employee2Appointments = appointment.EmployeeList;
+
+ var isOwnAppointment = (originator?.Equals(loggedInEmployee) ?? false) || employee2Appointments.ToList().Any(e2a => e2a.Employee.Equals(loggedInEmployee));
+
+ // Wenn isOwnAppointment true ist, darf der Benutzer die Uhrzeiten und die Mitarbeiter sehen. Ansonsten müssen die Rechte geprüft werden.
+ if(isOwnAppointment || hasRightToViewEmployeeAppointments) // Es werden Zeit und Mitarbeiter angezeigt
+ {
+ result.AddOrUpdateValueInDictionary(resource2Appointments.Key.Name, $"{CreateDateTimeInfoFromAppointment(appointment.StartDate, appointment.EndDate, appointment.AllDay)} von {originator}");
+ }
+ else if(hasRightToViewResourceAppointments && !hasRightToViewEmployeeAppointments) // Nur die Uhrzeit anzeigen
+ {
+ result.AddOrUpdateValueInDictionary(resource2Appointments.Key.Name, $"{CreateDateTimeInfoFromAppointment(appointment.StartDate, appointment.EndDate, appointment.AllDay)}");
+ }
+ else if(!hasRightToViewEmployeeAppointments) // Es werden weder Zeit noch Mitarbeiter angezeigt
+ {
+ result.AddOrUpdateValueInDictionary(resource2Appointments.Key.Name, string.Empty);
+ }
+ }
+ }
return result;
}
+
+ private string CreateDateTimeInfoFromAppointment(DateTime? start, DateTime? end, bool allDay)
+ {
+ if(start.HasValue && end.HasValue)
+ {
+ return start.Value.Date == end.Value.Date ?
+ $"{start.Value.ToShortTimeString()} - {end.Value.ToShortTimeString()} " :
+ $"{start.Value:dd.MM.yyyy HH:mm} - {end.Value:dd.MM.yyyy HH:mm} ";
+ }
+
+ if(allDay && start.HasValue && end.HasValue)
+ {
+ return start.Value.Date == end.Value.Date ? " " : $"{start.Value.ToShortDateString()} - {end.Value.ToShortDateString()} ";
+ }
+
+ return string.Empty;
+ }
}
}
diff --git a/Service/Plugins/ServiceRecordValidator.cs b/Service/Plugins/ServiceRecordValidator.cs
index bb9abaac4..a1ed00385 100644
--- a/Service/Plugins/ServiceRecordValidator.cs
+++ b/Service/Plugins/ServiceRecordValidator.cs
@@ -230,7 +230,6 @@ namespace BeWo.Service.Plugins
// });
//}
-#if DEBUG
if(!(newServiceRecord.ServiceRecordOid is null))
{
var original = DAOFactory.GenericDAO.LoadByID(newServiceRecord.ServiceRecordOid.Value);
@@ -241,19 +240,11 @@ namespace BeWo.Service.Plugins
var areTimesEqual = startEqual && endEqual;
var confirmationReceiptSignatures = DAOFactory.SearchDAO.GetConfirmationReceiptSignaturesByServiceRecord(newServiceRecord.ServiceRecordOid.Value);
- // ToDo: Nur anzeigen, wenn die Monatsunterschrift auch gültig ist? Welchen Zeitraum wählen? Den, der ausgewählt ist?
+
if(!areTimesEqual && confirmationReceiptSignatures.Any())
{
- var sum = confirmationReceiptSignatures.Sum(s => s.ServiceRecords.Count);
-
var message = "Für diesen Eintrag existiert bereits eine Monatsunterschrift. Das Verändern von Datum oder Uhrzeit führt zu einer ungültigen Monatsunterschrift, die erneut geleistet werden muss, um auf dem Quittierungsbeleg angezeigt zu werden.";
- if(sum == 1)
- {
- // Die Unterschrift wird gelöscht, weil der einzige damit verknüpfte Zeiterfassungseintrag geändert wird.
- message = "Der zu speichernde Zeiterfassungseintrag ist der einzige, für den eine Monatsunterschrift geleistet wurde. Das Speichern führt zur Löschung der Monatsunterschrift.";
- }
-
result.Add(new ServiceRecordValidationResultDC
{
ResultType = ServiceRecordValidationResult.SignatureExists,
@@ -262,7 +253,6 @@ namespace BeWo.Service.Plugins
});
}
}
-#endif
bool isGroupRecord = (cb2scOids != null && cb2scOids.Count > 1) ||
(employeeOids != null && employeeOids.Count > 1);
@@ -1094,24 +1084,42 @@ namespace BeWo.Service.Plugins
{
Allow = true,
ResultType = ServiceRecordValidationResult.Custom,
- Message = "Dieser Eintrag wurde bereits unterschrieben.\nMöchten Sie ihn trotzdem löschen?"
- });
+ Message = "Dieser Eintrag wurde bereits unterschrieben.\n\nMöchten Sie ihn trotzdem löschen?"
+ });
}
// TODO: Flag beachten
- // 2. Prüfe, ob eine Mitarbeiterunterschrift mit diesem Eintrag verknüpft ist
- //if(serviceRecord.ServiceRecordOid.HasValue)
- //{
- // var hasEmployeeSignature = DAOFactory.SearchDAO.HasEmployeeSignaturesForServiceRecord(serviceRecord.ServiceRecordOid.Value);
+ // 2. Prüfe, ob eine Mitarbeiterunterschrift mit diesem Eintrag verknüpft ist
+ //if(serviceRecord.ServiceRecordOid.HasValue)
+ //{
+ // var hasEmployeeSignature = DAOFactory.SearchDAO.HasEmployeeSignaturesForServiceRecord(serviceRecord.ServiceRecordOid.Value);
- // if(hasEmployeeSignature)
- // {
- // result.Add(new ServiceRecordValidationResultDC
- // {
- // ResultType = ServiceRecordValidationResult.HasEmployeeSignature
- // });
- // }
- //}
+ // if(hasEmployeeSignature)
+ // {
+ // result.Add(new ServiceRecordValidationResultDC
+ // {
+ // ResultType = ServiceRecordValidationResult.HasEmployeeSignature
+ // });
+ // }
+ //}
+
+ // 3. Prüfe, ob eine Monatsunterschrift vorhanden ist.
+ if(serviceRecord.ServiceRecordOid is null)
+ {
+ return result;
+ }
+
+ var confirmationReceiptSignatures = DAOFactory.SearchDAO.GetConfirmationReceiptSignaturesByServiceRecord(serviceRecord.ServiceRecordOid.Value);
+
+ if(confirmationReceiptSignatures.Any(crs => crs.IsActive == ActivationTypeId.Active))
+ {
+ result.Add(new ServiceRecordValidationResultDC
+ {
+ ResultType = ServiceRecordValidationResult.Custom,
+ Message = "Für diesen Eintrag existiert bereits eine Monatsunterschrift. Das Löschen dieses Eintrags führt zu einer ungültigen Monatsunterschrift, die erneut geleistet werden muss, um auf dem Quittierungsbeleg angezeigt zu werden.\n\nMöchten Sie ihn trotzdem löschen?",
+ Allow = true
+ });
+ }
return result;
}
diff --git a/Service/ServiceContracts/IResourceService.cs b/Service/ServiceContracts/IResourceService.cs
index cff0c1f37..a8826a09a 100644
--- a/Service/ServiceContracts/IResourceService.cs
+++ b/Service/ServiceContracts/IResourceService.cs
@@ -240,5 +240,9 @@ namespace BeWo.Service.ServiceContracts
[FaultContract(typeof(BeWoFault))]
[OperationContract]
List GetAllActiveEmployeeAbsenceTimesInInterval(DateTime start, DateTime end, long employeeOid, List selectedEmployeeOids);
+
+ [FaultContract(typeof(BeWoFault))]
+ [OperationContract]
+ Dictionary> CheckResourceAvailabilityWithEmployeeInformation(DateTime start, DateTime end, List resourceOids, long? selectedAppointmentOid);
}
}
\ No newline at end of file
diff --git a/Service/ServiceImplementations/OperationsServiceImp.cs b/Service/ServiceImplementations/OperationsServiceImp.cs
index 07b5fe676..bea10a0f0 100644
--- a/Service/ServiceImplementations/OperationsServiceImp.cs
+++ b/Service/ServiceImplementations/OperationsServiceImp.cs
@@ -325,6 +325,8 @@ namespace BeWo.Service.ServiceImplementations
{
if(item.Group != null)
{
+ RemoveServiceRecordsFromConfirmationReceiptSignatureForDeletion(item.Group.ServiceRecordList);
+
DeleteServiceRecordsFromAppointments(item.Group.ServiceRecordList.ToList());
DAOFactory.GenericDAO.Delete(item.Group);
@@ -340,6 +342,8 @@ namespace BeWo.Service.ServiceImplementations
return;
}
+ RemoveServiceRecordsFromConfirmationReceiptSignatureForDeletion(srListToDelete);
+
DeleteServiceRecordsFromAppointments(srListToDelete);
DAOFactory.GenericDAO.Delete(srListToDelete);
@@ -7560,10 +7564,12 @@ namespace BeWo.Service.ServiceImplementations
{
try
{
- var originals = DAOFactory.GenericDAO.LoadByIDs(oid2Version.Select(e => e.Key));
- originals.DoForEach(or => MapperFactory.ConfirmationReceiptSignatureDC_ConfirmationReceiptSignature.ConcurrencyCheck(oid2Version[or.Oid.Value], or));
+ //var originals = DAOFactory.GenericDAO.LoadByIDs(oid2Version.Select(e => e.Key));
+ //originals.DoForEach(or => MapperFactory.ConfirmationReceiptSignatureDC_ConfirmationReceiptSignature.ConcurrencyCheck(oid2Version[or.Oid.Value], or));
- DAOFactory.GenericDAO.Delete(originals);
+ //DAOFactory.GenericDAO.Delete(originals);
+
+ ServiceLogic.SetActivationType(oid2Version, ActivationTypeId.Deleted);
}
catch(Exception e)
{
@@ -7672,7 +7678,7 @@ namespace BeWo.Service.ServiceImplementations
}
}
- var confirmationReceiptSignatures = DAOFactory.SearchDAO.LoadConfirmationReceiptSignaturesByServiceRecordOids(serviceRecordOids);
+ var confirmationReceiptSignatures = DAOFactory.SearchDAO.LoadAllConfirmationReceiptSignaturesByServiceRecordOids(serviceRecordOids);
var confirmationReceiptSignatures2Delete = new List();
var confirmationReceiptSignatures2Update = new List();
@@ -7704,6 +7710,22 @@ namespace BeWo.Service.ServiceImplementations
ServiceLogic.SetActivationType(oids2Versions, ActivationTypeId.Deleted);
}
+ private static void RemoveServiceRecordsFromConfirmationReceiptSignatureForDeletion(IEnumerable serviceRecords)
+ {
+ var serviceRecordOids = serviceRecords.Select(serviceRecord => serviceRecord.Oid.Value).ToList();
+
+ var confirmationReceiptSignatures = DAOFactory.SearchDAO.LoadAllConfirmationReceiptSignaturesByServiceRecordOids(serviceRecordOids);
+
+ foreach(var signature in confirmationReceiptSignatures)
+ {
+ var serviceRecords2Keep = signature.ServiceRecords.Where(serviceRecord => serviceRecord.Oid.HasValue && !serviceRecordOids.Contains(serviceRecord.Oid.Value)).ToList();
+ signature.ServiceRecords.Clear();
+ signature.ServiceRecords = serviceRecords2Keep;
+ }
+
+ DAOFactory.GenericDAO.Update(confirmationReceiptSignatures);
+ }
+
public List GetRatingTypesByOids(List ratingTypeOids)
{
try
diff --git a/Service/ServiceImplementations/ResourceServiceImp.cs b/Service/ServiceImplementations/ResourceServiceImp.cs
index 3d202af7c..06fc650ac 100644
--- a/Service/ServiceImplementations/ResourceServiceImp.cs
+++ b/Service/ServiceImplementations/ResourceServiceImp.cs
@@ -2570,13 +2570,11 @@ namespace BeWo.Service.ServiceImplementations
var s = PluginLoader.FindClass();
return s.CheckResourceAvailability(start, end, resourceOids, selectedAppointmentOid);
-
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
-
}
public SchedulerAppointmentDC FindRootAppointmentByRecurrenceId(string recurrenceId)
@@ -2713,5 +2711,19 @@ namespace BeWo.Service.ServiceImplementations
throw Utils.CreateBeWoFaultException(e);
}
}
+
+ public Dictionary> CheckResourceAvailabilityWithEmployeeInformation(DateTime start, DateTime end, List resourceOids, long? selectedAppointmentOid)
+ {
+ try
+ {
+ var s = PluginLoader.FindClass();
+
+ return s.CheckResourceAvailabilityWithBookingEmployees(start, end, resourceOids, selectedAppointmentOid);
+ }
+ catch(Exception e)
+ {
+ throw Utils.CreateBeWoFaultException(e);
+ }
+ }
}
}
\ No newline at end of file