From 5b842a25692ecefeafafe0859f6ea934c3227112 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Wed, 15 Mar 2023 17:25:12 +0100 Subject: [PATCH 1/7] MH: SPZ Korrektur --- .../SPZLeverkusen/CustomReportCreator.cs | 47 +- ...ttierungsbelegMitFehlkontakten.Designer.cs | 1319 +++++++++++++++++ .../QuittierungsbelegMitFehlkontakten.cs | 133 ++ ...=> QuittierungsbelegMitFehlkontakten.resx} | 6 + ...tierungsbelegUeberFehlkontakte.Designer.cs | 777 ---------- .../QuittierungsbelegUeberFehlkontakte.cs | 38 - ReportImp/SPZLeverkusen/SPZLeverkusen.csproj | 19 +- 7 files changed, 1470 insertions(+), 869 deletions(-) create mode 100644 ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.Designer.cs create mode 100644 ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.cs rename ReportImp/SPZLeverkusen/{QuittierungsbelegUeberFehlkontakte.resx => QuittierungsbelegMitFehlkontakten.resx} (51%) delete mode 100644 ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.Designer.cs delete mode 100644 ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.cs diff --git a/ReportImp/SPZLeverkusen/CustomReportCreator.cs b/ReportImp/SPZLeverkusen/CustomReportCreator.cs index dd6d787e1..96f0e523a 100644 --- a/ReportImp/SPZLeverkusen/CustomReportCreator.cs +++ b/ReportImp/SPZLeverkusen/CustomReportCreator.cs @@ -89,7 +89,7 @@ namespace SPZLeverkusen report = AddReportToReport(report, jugendamtRO); } else - { + { if (ro.StartDate < new DateTime(2019, 1, 1)) { report = AddReportToReport(report, ohneFehlkontaktenRO); @@ -100,7 +100,7 @@ namespace SPZLeverkusen } if (mitFehlkontaktenRO.TotalFLS > 0) - report = AddReportToReport(report, mitFehlkontaktenRO); + report = AddReportToReport(report, mitFehlkontaktenRO); } } @@ -108,49 +108,6 @@ namespace SPZLeverkusen if (report == null) report = new XtraReport(); return report; - - - - - - - - - - if (!String.IsNullOrEmpty(ro.Costbearer) && ro.Costbearer.Contains("Jugendamt")) - { - report = new StundenzettelJugendamt(); - } - - - if (report == null) - { - if (ro.StartDate < new DateTime(2019, 1, 1)) - { - report = new SPZLeverkusen.Stundenzettel(); - } - else - { - report = new SPZLeverkusen.Quittierungsbeleg2(); - } - - } - - //report.SetReportDataSource(ro); - var xreport = report as XtraReport; - xreport.CreateDocument(); - - if (ro.Services.Any(s => s.ServiceDescription == "Fehlkontakt")) - { - IBeWoReport fkReport = new QuittierungsbelegUeberFehlkontakte(); - fkReport.SetReportDataSource(ro); - var xFKReport = fkReport as XtraReport; - xFKReport.CreateDocument(); - xreport.Pages.AddRange(xFKReport.Pages); - } - - - return xreport; } private XtraReport AddReportToReport(XtraReport report, ServicesOverviewRO ro) where T : XtraReport, IBeWoReport, new() diff --git a/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.Designer.cs b/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.Designer.cs new file mode 100644 index 000000000..87c20ed74 --- /dev/null +++ b/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.Designer.cs @@ -0,0 +1,1319 @@ +using BeWo.Report.ReportObjects; +namespace SPZLeverkusen +{ + partial class QuittierungsbelegMitFehlkontakten + { + /// + /// 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(QuittierungsbelegMitFehlkontakten)); + 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.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.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.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + 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.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.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.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.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + ((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; + // + // 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.SignatureDate", "{0:dd.MM.yyyy}")}); + 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(160.0001F, 20.00001F); + 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; + this.GroupHeader1.StylePriority.UseFont = false; + // + // 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; + // + // 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 = "Datum der Unterschrift"; + 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; + // + // 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.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel17, + this.xrLabel18}); + this.xrTableCell43.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell43.Multiline = true; + this.xrTableCell43.Name = "xrTableCell43"; + this.xrTableCell43.StylePriority.UseBorders = false; + this.xrTableCell43.StylePriority.UseFont = false; + this.xrTableCell43.StylePriority.UseTextAlignment = false; + this.xrTableCell43.Weight = 0.44692737430167595D; + // + // xrLabel17 + // + this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(159F, 20F); + this.xrLabel17.StylePriority.UseBackColor = false; + this.xrLabel17.StylePriority.UseBorders = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UsePadding = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + this.xrLabel17.Text = "Klientin / Klient"; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel18 + // + this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None; + this.xrLabel18.Font = new System.Drawing.Font("Arial", 6F); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20.00001F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(159F, 20F); + this.xrLabel18.StylePriority.UseBackColor = false; + this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.StylePriority.UsePadding = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.Text = "(falls abweichend zur ersten Spalte)"; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // 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.xrLabel7, + this.xrLabel8, + this.xrLabel6, + this.xrLabel5, + this.xrLabel4, + this.xrLabel3}); + this.ReportHeader.HeightF = 130F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrLabel14 + // + this.xrLabel14.Font = new System.Drawing.Font("Arial", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel14.Multiline = true; + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(735.0001F, 25F); + this.xrLabel14.StylePriority.UseFont = false; + this.xrLabel14.StylePriority.UseTextAlignment = false; + this.xrLabel14.Text = "Anbieter: SPZ-gemeinnützige GmbH, Leverkusen"; + this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // 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.11109F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(158.3612F, 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.LocationFloat = new DevExpress.Utils.PointFloat(0F, 75F); + 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(735.0001F, 25F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Quittierungsbeleg über Fehlkontakte"; + 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.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2}); + 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.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.GroupFooter1.HeightF = 270F; + this.GroupFooter1.KeepTogether = true; + this.GroupFooter1.Name = "GroupFooter1"; + // + // lblUnterschriftKlient + // + this.lblUnterschriftKlient.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.lblUnterschriftKlient.Font = new System.Drawing.Font("Arial", 10F); + this.lblUnterschriftKlient.LocationFloat = new DevExpress.Utils.PointFloat(94.99999F, 250F); + this.lblUnterschriftKlient.Name = "lblUnterschriftKlient"; + this.lblUnterschriftKlient.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblUnterschriftKlient.SizeF = new System.Drawing.SizeF(271.8472F, 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, 79.99997F); + 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, 79.99997F); + 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.4723F, 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.4723F, 79.99997F); + 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, 79.99997F); + 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; + // + // xrLabel11 + // + this.xrLabel11.Font = new System.Drawing.Font("Arial", 8F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(415F, 19.99999F); + 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, "TotalFLMBillable", "{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; + // + // fieldKontaktArt + // + this.fieldKontaktArt.DataMember = "Services"; + this.fieldKontaktArt.Expression = "Iif([IsGroup], \'GR\', \'E\')"; + this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; + this.fieldKontaktArt.Name = "fieldKontaktArt"; + // + // 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; + // + // 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.Multiline = true; + 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; + // + // xrTableCell2 + // + this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldKontaktArt")}); + 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; + // + // xrLabel13 + // + this.xrLabel13.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 39.99998F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(320F, 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, 19.99999F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(320F, 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; + // + // QuittierungsbelegMitFehlkontakten + // + 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.DisplayName = "Quittierungsbeleg"; + 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 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 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.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 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 xrLabel17; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRPictureBox picSignature; + private DevExpress.XtraReports.UI.XRLabel xrLabel14; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell11; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + } +} diff --git a/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.cs b/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.cs new file mode 100644 index 000000000..797888fde --- /dev/null +++ b/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.cs @@ -0,0 +1,133 @@ +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 SPZLeverkusen +{ + public partial class QuittierungsbelegMitFehlkontakten : DevExpress.XtraReports.UI.XtraReport, IBeWoReport + { + public QuittierungsbelegMitFehlkontakten() + { + InitializeComponent(); + } + + public void SetReportDataSource(ServicesOverviewRO pRO) + { + bool hatGruppen = false; + + if (pRO.Services != null) + { + List servicesBillable = new List(); + + foreach (var sd in pRO.Services) + { + if (sd.IsBillable) + { + ServicesOverviewRO.CreateSignatureString(sd); + + if (sd.IsGroup) + { + //sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount); + hatGruppen = true; + } + 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 != null) + { + int newRows = 0; + int index = 1; + foreach (var at in pRo.Abwesenheiten) + { + DevExpress.XtraReports.UI.XRTableRow row = null; + if (index < xrTableAbwesenheiten.Rows.Count) + { + row = xrTableAbwesenheiten.Rows[index]; + } + else + { + row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]); + newRows++; + } + + row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start); + int? days = null; + + if (at.End.HasValue) + { + row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End); + 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) + { + lblUnterschriftKlient.Top += newRows * 20; + lblUnterschriftMitarbeiter.Top += newRows * 20; + } + } + } + + private void picSignature_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) + { + XRPictureBox xrBox = sender as XRPictureBox; + //var test = this.GetCurrent + string base64String = xrBox.Tag as string; + if (!String.IsNullOrWhiteSpace(base64String)) + { + var base64Data = Regex.Match(base64String, @"data:image/(?.+?),(?.+)").Groups["data"].Value; + var binData = Convert.FromBase64String(base64Data); + Image img = ByteArrayToImage(binData); + xrBox.Image = Utils.CropImage(img); + } + else + { + xrBox.Image = null; + } + } + + public Image ByteArrayToImage(byte[] byteArrayIn) + { + Image returnImage = null; + MemoryStream ms = new System.IO.MemoryStream(byteArrayIn); + returnImage = Image.FromStream(ms); + + return returnImage; + } + } +} diff --git a/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.resx b/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.resx similarity index 51% rename from ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.resx rename to ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.resx index 19e908bd3..9f46badba 100644 --- a/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.resx +++ b/ReportImp/SPZLeverkusen/QuittierungsbelegMitFehlkontakten.resx @@ -120,4 +120,10 @@ 21, 17 + + ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAYgBlAGsAYQBuAG4AdAAgAG8AZABlAHIAIAB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbAB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A + + + ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEcAcgB1AHAAcABlAG4AYQBuAGcAZQBiAG8AdABlAH0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA= + \ No newline at end of file diff --git a/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.Designer.cs b/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.Designer.cs deleted file mode 100644 index d656dd0f1..000000000 --- a/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.Designer.cs +++ /dev/null @@ -1,777 +0,0 @@ -using BeWo.Report.ReportObjects; -namespace SPZLeverkusen -{ - partial class QuittierungsbelegUeberFehlkontakte - { - /// - /// 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(); - this.Detail = new DevExpress.XtraReports.UI.DetailBand(); - 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.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); - 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.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); - 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.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); - this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel7 = 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.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField(); - this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField(); - this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField(); - this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); - this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); - this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); - this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField(); - ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); - // - // Detail - // - this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTableServiceRecords1}); - this.Detail.Font = new System.Drawing.Font("Verdana", 10F); - this.Detail.HeightF = 40F; - this.Detail.Name = "Detail"; - this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail.StylePriority.UseFont = false; - this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // - // xrTableServiceRecords1 - // - this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrTableServiceRecords1.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(40F, 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.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(622F, 40F); - this.xrTableServiceRecords1.StylePriority.UseBackColor = false; - this.xrTableServiceRecords1.StylePriority.UseBorders = false; - this.xrTableServiceRecords1.StylePriority.UseFont = false; - this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false; - this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - // - // xrTableRow2 - // - this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { - this.xrTableCell3, - this.xrTableCell4, - this.xrTableCell11, - this.xrTableCell1}); - this.xrTableRow2.Name = "xrTableRow2"; - this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.xrTableRow2.StylePriority.UseTextAlignment = false; - this.xrTableRow2.Weight = 1.25D; - // - // xrTableCell3 - // - this.xrTableCell3.Name = "xrTableCell3"; - this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell3.StylePriority.UseFont = false; - this.xrTableCell3.StylePriority.UseTextAlignment = false; - this.xrTableCell3.Text = "Datum"; - this.xrTableCell3.Weight = 0.41943772965832227D; - // - // xrTableCell4 - // - this.xrTableCell4.Multiline = true; - this.xrTableCell4.Name = "xrTableCell4"; - this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell4.StylePriority.UseFont = false; - this.xrTableCell4.StylePriority.UseTextAlignment = false; - this.xrTableCell4.Text = "Uhrzeit\r\nvon ... bis"; - this.xrTableCell4.Weight = 0.43894646121177949D; - // - // xrTableCell11 - // - this.xrTableCell11.Multiline = true; - this.xrTableCell11.Name = "xrTableCell11"; - this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - this.xrTableCell11.StylePriority.UseFont = false; - this.xrTableCell11.StylePriority.UseTextAlignment = false; - this.xrTableCell11.Text = "Anzahl Minuten*"; - this.xrTableCell11.Weight = 0.34140280092651965D; - // - // xrTableCell1 - // - this.xrTableCell1.Name = "xrTableCell1"; - this.xrTableCell1.Text = "Gruppe"; - this.xrTableCell1.Weight = 0.31701688648469772D; - // - // DetailReport - // - this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail1}); - 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.Font = new System.Drawing.Font("Verdana", 10F); - this.Detail1.HeightF = 20F; - this.Detail1.Name = "Detail1"; - this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); - this.Detail1.StylePriority.UseFont = false; - 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.LocationFloat = new DevExpress.Utils.PointFloat(40F, 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(622F, 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.xrTableCell15, - this.xrTableCell2}); - 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.Name = "xrTableCell13"; - this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - 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.21717165615843689D; - // - // xrTableCell14 - // - this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")}); - this.xrTableCell14.Name = "xrTableCell14"; - this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); - 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.22727266359378306D; - // - // xrTableCell15 - // - this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.##}")}); - this.xrTableCell15.Name = "xrTableCell15"; - this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 5, 0, 0, 100F); - this.xrTableCell15.StylePriority.UseFont = false; - this.xrTableCell15.StylePriority.UsePadding = false; - this.xrTableCell15.StylePriority.UseTextAlignment = false; - this.xrTableCell15.Text = "xrTableCell15"; - this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell15.Weight = 0.176767633118985D; - // - // xrTableCell2 - // - this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldGruppe")}); - this.xrTableCell2.Name = "xrTableCell2"; - this.xrTableCell2.StylePriority.UseTextAlignment = false; - this.xrTableCell2.Text = "10 Teilnehmer"; - this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell2.Weight = 0.16414139280828746D; - // - // 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"; - // - // 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.Font = new System.Drawing.Font("Times New Roman", 9.75F); - this.topMarginBand1.HeightF = 50F; - this.topMarginBand1.Name = "topMarginBand1"; - this.topMarginBand1.StylePriority.UseFont = false; - // - // bottomMarginBand1 - // - this.bottomMarginBand1.HeightF = 30F; - this.bottomMarginBand1.Name = "bottomMarginBand1"; - // - // ReportFooter - // - this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel20, - this.xrLabel19, - this.xrLabel17, - this.xrLabel16, - this.xrLabel11, - this.xrLabel8, - this.xrLabel7, - this.xrLabel6, - this.xrLabel5, - this.xrLabel4, - this.xrLabel3}); - this.ReportFooter.Font = new System.Drawing.Font("Verdana", 10F); - this.ReportFooter.HeightF = 180.625F; - this.ReportFooter.KeepTogether = true; - this.ReportFooter.Name = "ReportFooter"; - this.ReportFooter.StylePriority.UseFont = false; - // - // xrLabel20 - // - this.xrLabel20.Font = new System.Drawing.Font("Verdana", 9F); - this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0F, 98.00002F); - this.xrLabel20.Name = "xrLabel20"; - this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel20.SizeF = new System.Drawing.SizeF(39.9999F, 17.99999F); - this.xrLabel20.StylePriority.UseFont = false; - this.xrLabel20.StylePriority.UseTextAlignment = false; - this.xrLabel20.Text = "**"; - this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // - // xrLabel19 - // - this.xrLabel19.Font = new System.Drawing.Font("Verdana", 9F); - this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 80.00005F); - this.xrLabel19.Name = "xrLabel19"; - this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel19.SizeF = new System.Drawing.SizeF(39.9999F, 17.99999F); - this.xrLabel19.StylePriority.UseFont = false; - this.xrLabel19.StylePriority.UseTextAlignment = false; - this.xrLabel19.Text = "*"; - this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; - // - // xrLabel17 - // - this.xrLabel17.Font = new System.Drawing.Font("Verdana", 7F); - this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(39.9999F, 98.00002F); - this.xrLabel17.Name = "xrLabel17"; - this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel17.SizeF = new System.Drawing.SizeF(613.1249F, 17.99999F); - this.xrLabel17.StylePriority.UseFont = false; - this.xrLabel17.Text = "Der/Die Leistungsempfänger/in ist krankheitsbedingt nicht in der Lage, die erhalt" + - "ene Leistung zu quittieren"; - // - // xrLabel16 - // - this.xrLabel16.Font = new System.Drawing.Font("Verdana", 7F); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(39.9999F, 80.00005F); - this.xrLabel16.Name = "xrLabel16"; - this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel16.SizeF = new System.Drawing.SizeF(529.2917F, 17.99999F); - this.xrLabel16.StylePriority.UseFont = false; - this.xrLabel16.Text = "abrechenbare Minutenwerte in Einheiten von 10 Minuten"; - // - // xrLabel11 - // - this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel11.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(392F, 40F); - this.xrLabel11.Name = "xrLabel11"; - this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); - this.xrLabel11.SizeF = new System.Drawing.SizeF(140F, 40F); - this.xrLabel11.StylePriority.UseBorders = false; - this.xrLabel11.StylePriority.UseBorderWidth = false; - this.xrLabel11.StylePriority.UseFont = false; - this.xrLabel11.StylePriority.UsePadding = false; - this.xrLabel11.StylePriority.UseTextAlignment = false; - this.xrLabel11.Text = "[fieldBillableFLS!0.##] x 1,2 = [fieldAbrechenbareFLS!0.##] Std."; - this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - // - // xrLabel8 - // - this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel8.CanGrow = false; - this.xrLabel8.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(39.9999F, 40.00003F); - this.xrLabel8.Multiline = true; - this.xrLabel8.Name = "xrLabel8"; - this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); - this.xrLabel8.SizeF = new System.Drawing.SizeF(352F, 40F); - this.xrLabel8.StylePriority.UseBorders = false; - this.xrLabel8.StylePriority.UseFont = false; - this.xrLabel8.StylePriority.UsePadding = false; - this.xrLabel8.StylePriority.UseTextAlignment = false; - this.xrLabel8.Text = "2. Summe der mit dem Landschaftsverband Rheinland abzurechnenden Leistungen (= Su" + - "mme 1. x 1,2)"; - this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // xrLabel7 - // - this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top; - this.xrLabel7.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(456.1249F, 162.625F); - this.xrLabel7.Name = "xrLabel7"; - this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel7.SizeF = new System.Drawing.SizeF(205.8751F, 17.99997F); - this.xrLabel7.StylePriority.UseBorders = false; - this.xrLabel7.StylePriority.UseFont = false; - this.xrLabel7.Text = "Unterschrift KlientIn**"; - // - // xrLabel6 - // - this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top; - this.xrLabel6.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold); - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(116.9998F, 162.625F); - this.xrLabel6.Name = "xrLabel6"; - this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel6.SizeF = new System.Drawing.SizeF(225.0418F, 17.99997F); - this.xrLabel6.StylePriority.UseBorders = false; - this.xrLabel6.StylePriority.UseFont = false; - this.xrLabel6.Text = "Unterschrift Mitarbeiter/in"; - // - // xrLabel5 - // - this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top; - this.xrLabel5.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold); - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 162.625F); - this.xrLabel5.Name = "xrLabel5"; - this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel5.SizeF = new System.Drawing.SizeF(117F, 17.99997F); - this.xrLabel5.StylePriority.UseBorders = false; - this.xrLabel5.StylePriority.UseFont = false; - this.xrLabel5.Text = "Datum"; - // - // xrLabel4 - // - this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel4.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(392F, 0F); - this.xrLabel4.Name = "xrLabel4"; - this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); - this.xrLabel4.SizeF = new System.Drawing.SizeF(140F, 40F); - this.xrLabel4.StylePriority.UseBorders = false; - this.xrLabel4.StylePriority.UseBorderWidth = false; - this.xrLabel4.StylePriority.UseFont = false; - this.xrLabel4.StylePriority.UsePadding = false; - this.xrLabel4.StylePriority.UseTextAlignment = false; - this.xrLabel4.Text = "[TotalFLMBillable] = [fieldBillableFLS!0.##] Stunden"; - this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - // - // xrLabel3 - // - this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel3.CanGrow = false; - this.xrLabel3.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(39.9999F, 0F); - this.xrLabel3.Multiline = true; - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(352F, 40F); - this.xrLabel3.StylePriority.UseBorders = false; - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.StylePriority.UsePadding = false; - this.xrLabel3.StylePriority.UseTextAlignment = false; - this.xrLabel3.Text = "1. Summe der unmittelbaren Betreuungsleistungen\r\n(„face-to-face“ beziehungsweise " + - "„ear-to-ear)"; - this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // fieldAbrechenbareMinuten - // - this.fieldAbrechenbareMinuten.DataMember = "Services"; - this.fieldAbrechenbareMinuten.Expression = "Iif([IsBillable], [Minutes], 0)"; - this.fieldAbrechenbareMinuten.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; - this.fieldAbrechenbareMinuten.Name = "fieldAbrechenbareMinuten"; - // - // fieldBillableFLS - // - this.fieldBillableFLS.Expression = "[TotalFLMBillable] / 60"; - this.fieldBillableFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; - this.fieldBillableFLS.Name = "fieldBillableFLS"; - // - // fieldAbrechenbareFLS - // - this.fieldAbrechenbareFLS.Expression = "([TotalFLMBillable] / 60) * 1.2"; - this.fieldAbrechenbareFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; - this.fieldAbrechenbareFLS.Name = "fieldAbrechenbareFLS"; - // - // xrLabel1 - // - this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right) - | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel1.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrLabel1.Multiline = true; - this.xrLabel1.Name = "xrLabel1"; - this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel1.SizeF = new System.Drawing.SizeF(662F, 25F); - this.xrLabel1.StylePriority.UseBorders = false; - this.xrLabel1.StylePriority.UseFont = false; - this.xrLabel1.StylePriority.UseTextAlignment = false; - this.xrLabel1.Text = "Quittierungsbeleg über Fehlkontakte"; - this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - // - // xrLabel12 - // - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 63.00001F); - this.xrLabel12.Name = "xrLabel12"; - this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(250F, 18F); - this.xrLabel12.StylePriority.UseFont = false; - this.xrLabel12.Text = "Name, Vorname KlientIn, (geb.)"; - // - // xrLabel13 - // - this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 81.00001F); - this.xrLabel13.Name = "xrLabel13"; - this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel13.SizeF = new System.Drawing.SizeF(250F, 18F); - this.xrLabel13.StylePriority.UseFont = false; - this.xrLabel13.Text = "Anschrift"; - // - // xrLabel14 - // - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 99.00001F); - this.xrLabel14.Name = "xrLabel14"; - this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(288F, 18F); - this.xrLabel14.StylePriority.UseFont = false; - this.xrLabel14.Text = "Aktenzeichen Landschaftsverband"; - // - // xrLabel15 - // - this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 117F); - this.xrLabel15.Name = "xrLabel15"; - this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel15.SizeF = new System.Drawing.SizeF(317.8333F, 17.99999F); - this.xrLabel15.StylePriority.UseFont = false; - this.xrLabel15.Text = "Bewilligte Fachleistungsstunden / wöchentl."; - // - // xrLabel18 - // - this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 135F); - this.xrLabel18.Name = "xrLabel18"; - this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel18.SizeF = new System.Drawing.SizeF(288F, 18F); - this.xrLabel18.StylePriority.UseFont = false; - this.xrLabel18.Text = "Verantwortliche MitarbeiterIn"; - // - // xrLabel22 - // - this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel22.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 36F); - this.xrLabel22.Name = "xrLabel22"; - this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel22.SizeF = new System.Drawing.SizeF(653.1249F, 18F); - this.xrLabel22.StylePriority.UseBorders = false; - this.xrLabel22.StylePriority.UseFont = false; - this.xrLabel22.StylePriority.UseTextAlignment = false; - this.xrLabel22.Text = "Anbieter: SPZ-gemeinnützige GmbH, Leverkusen"; - this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - // - // xrLabel23 - // - this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel23.Font = new System.Drawing.Font("Verdana", 10F); - this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(250F, 63.00001F); - this.xrLabel23.Name = "xrLabel23"; - this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel23.SizeF = new System.Drawing.SizeF(411.9999F, 18F); - this.xrLabel23.StylePriority.UseBorders = false; - this.xrLabel23.StylePriority.UseFont = false; - this.xrLabel23.Text = "[CustomerLastName], [CustomerFirstName], [CustomerBirthday!dd.MM.yyyy]"; - // - // xrLabel25 - // - this.xrLabel25.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")}); - this.xrLabel25.Font = new System.Drawing.Font("Verdana", 10F); - this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(317.8334F, 99.00001F); - this.xrLabel25.Name = "xrLabel25"; - this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel25.SizeF = new System.Drawing.SizeF(344.1665F, 18F); - this.xrLabel25.StylePriority.UseBorders = false; - this.xrLabel25.StylePriority.UseFont = false; - // - // xrLabel26 - // - this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")}); - this.xrLabel26.Font = new System.Drawing.Font("Verdana", 10F); - this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(317.8334F, 117F); - this.xrLabel26.Name = "xrLabel26"; - this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel26.SizeF = new System.Drawing.SizeF(344.1665F, 17.99999F); - this.xrLabel26.StylePriority.UseBorders = false; - this.xrLabel26.StylePriority.UseFont = false; - this.xrLabel26.Text = "xrLabel26"; - // - // xrLabel29 - // - this.xrLabel29.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); - this.xrLabel29.Font = new System.Drawing.Font("Verdana", 10F); - this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(317.8335F, 135F); - this.xrLabel29.Name = "xrLabel29"; - this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel29.SizeF = new System.Drawing.SizeF(344.1665F, 18F); - this.xrLabel29.StylePriority.UseBorders = false; - this.xrLabel29.StylePriority.UseFont = false; - // - // xrLabel10 - // - this.xrLabel10.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(40F, 171F); - this.xrLabel10.Name = "xrLabel10"; - this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel10.SizeF = new System.Drawing.SizeF(171F, 18F); - this.xrLabel10.StylePriority.UseFont = false; - this.xrLabel10.Text = "Monat / Jahr:"; - // - // ReportHeader - // - this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel9, - this.xrLabel2, - this.xrLabel10, - this.xrLabel29, - this.xrLabel26, - this.xrLabel25, - this.xrLabel23, - this.xrLabel22, - this.xrLabel18, - this.xrLabel15, - this.xrLabel14, - this.xrLabel13, - this.xrLabel12, - this.xrLabel1}); - this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F); - this.ReportHeader.HeightF = 200F; - this.ReportHeader.Name = "ReportHeader"; - this.ReportHeader.StylePriority.UseFont = false; - // - // xrLabel9 - // - this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel9.Font = new System.Drawing.Font("Verdana", 10F); - this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(250F, 81.00001F); - this.xrLabel9.Name = "xrLabel9"; - this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel9.SizeF = new System.Drawing.SizeF(411.9996F, 18F); - this.xrLabel9.StylePriority.UseBorders = false; - this.xrLabel9.StylePriority.UseFont = false; - this.xrLabel9.Text = "[CustomerStreet], [CustomerPostalCode] [CustomerCity]"; - // - // xrLabel2 - // - this.xrLabel2.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(249F, 171F); - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(171F, 18F); - this.xrLabel2.StylePriority.UseFont = false; - this.xrLabel2.Text = "[Month] / [Year]"; - // - // fieldGruppe - // - this.fieldGruppe.DataMember = "Services"; - this.fieldGruppe.Expression = "Iif([CustomerCount] < 2, \'\', ToStr([CustomerCount]) + \' Teilnehmer\')"; - this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String; - this.fieldGruppe.Name = "fieldGruppe"; - // - // QuittierungsbelegUeberFehlkontakte - // - this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail, - this.DetailReport, - this.ReportHeader, - this.topMarginBand1, - this.bottomMarginBand1, - this.ReportFooter}); - this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { - this.fieldAbrechenbareMinuten, - this.fieldBillableFLS, - this.fieldAbrechenbareFLS, - this.fieldGruppe}); - this.DataSource = this.bindingSource1; - this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { - this.formattingRuleStartDate, - this.formattingRuleServiceDesc, - this.formattingRuleCostBearer, - this.formattingRuleEmployeeName}); - this.Margins = new System.Drawing.Printing.Margins(80, 80, 50, 30); - this.PageHeight = 1169; - this.PageWidth = 827; - this.PaperKind = System.Drawing.Printing.PaperKind.A4; - this.SnapGridSize = 9F; - this.Version = "17.1"; - ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).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.XRTable xrTable3; - private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; - 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 xrTableCell13; - 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.ReportFooterBand ReportFooter; - private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareMinuten; - private DevExpress.XtraReports.UI.XRLabel xrLabel4; - private DevExpress.XtraReports.UI.XRLabel xrLabel3; - private DevExpress.XtraReports.UI.XRLabel xrLabel6; - private DevExpress.XtraReports.UI.XRLabel xrLabel5; - private DevExpress.XtraReports.UI.XRLabel xrLabel7; - private DevExpress.XtraReports.UI.XRLabel xrLabel8; - private DevExpress.XtraReports.UI.XRLabel xrLabel11; - private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS; - private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS; - private DevExpress.XtraReports.UI.XRLabel xrLabel1; - private DevExpress.XtraReports.UI.XRLabel xrLabel12; - private DevExpress.XtraReports.UI.XRLabel xrLabel13; - private DevExpress.XtraReports.UI.XRLabel xrLabel14; - private DevExpress.XtraReports.UI.XRLabel xrLabel15; - private DevExpress.XtraReports.UI.XRLabel xrLabel18; - private DevExpress.XtraReports.UI.XRLabel xrLabel22; - private DevExpress.XtraReports.UI.XRLabel xrLabel23; - private DevExpress.XtraReports.UI.XRLabel xrLabel25; - private DevExpress.XtraReports.UI.XRLabel xrLabel26; - private DevExpress.XtraReports.UI.XRLabel xrLabel29; - private DevExpress.XtraReports.UI.XRLabel xrLabel10; - private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; - private DevExpress.XtraReports.UI.XRLabel xrLabel2; - private DevExpress.XtraReports.UI.XRLabel xrLabel9; - private DevExpress.XtraReports.UI.XRLabel xrLabel20; - private DevExpress.XtraReports.UI.XRLabel xrLabel19; - private DevExpress.XtraReports.UI.XRLabel xrLabel17; - private DevExpress.XtraReports.UI.XRLabel xrLabel16; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell1; - private DevExpress.XtraReports.UI.XRTableCell xrTableCell2; - private DevExpress.XtraReports.UI.CalculatedField fieldGruppe; - - } -} diff --git a/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.cs b/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.cs deleted file mode 100644 index 3b98d7990..000000000 --- a/ReportImp/SPZLeverkusen/QuittierungsbelegUeberFehlkontakte.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.Collections; -using System.ComponentModel; -using System.Drawing; -using DevExpress.XtraReports.UI; -using DevExpress.XtraReports.UI; -using BeWo.Report.ReportObjects; -using BeWo.Report; -using System.Collections.Generic; - -namespace SPZLeverkusen -{ - public partial class QuittierungsbelegUeberFehlkontakte : DevExpress.XtraReports.UI.XtraReport, IBeWoReport - { - public QuittierungsbelegUeberFehlkontakte() - { - InitializeComponent(); - } - - public void SetReportDataSource(ServicesOverviewRO pRO) - { - if (pRO.Services != null) - { - List servicesBillable = new List(); - - foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services) - { - if (s.ServiceDescription == "Fehlkontakt") - servicesBillable.Add(s); - } - - pRO.Services = servicesBillable; - } - - this.bindingSource1.DataSource = pRO; - } - } -} diff --git a/ReportImp/SPZLeverkusen/SPZLeverkusen.csproj b/ReportImp/SPZLeverkusen/SPZLeverkusen.csproj index a4400383b..1b46f043e 100644 --- a/ReportImp/SPZLeverkusen/SPZLeverkusen.csproj +++ b/ReportImp/SPZLeverkusen/SPZLeverkusen.csproj @@ -76,6 +76,12 @@ + + Component + + + QuittierungsbelegMitFehlkontakten.cs + Component @@ -88,12 +94,6 @@ ServiceInvoiceReport.cs - - Component - - - QuittierungsbelegUeberFehlkontakte.cs - Component @@ -131,6 +131,10 @@ Designer + + QuittierungsbelegMitFehlkontakten.cs + Designer + QuittierungsbelegMitDatum.cs Designer @@ -139,9 +143,6 @@ ServiceInvoiceReport.cs Designer - - QuittierungsbelegUeberFehlkontakte.cs - ServicesOverviewReportJa.cs From 2901fd740366d3b28f5ba9fc5b15910a577a430f Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Thu, 16 Mar 2023 11:59:25 +0100 Subject: [PATCH 2/7] =?UTF-8?q?MH:=20BeWoFuerDich=20eigener=20QB=20f=C3=BC?= =?UTF-8?q?r=20Fehlkontakte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReportImp/BeWoFuerDich/BeWoFuerDich.csproj | 9 + ReportImp/BeWoFuerDich/CustomReportCreator.cs | 87 +- ...ttierungsbelegMitFehlkontakten.Designer.cs | 973 ++++++++++++++++++ .../QuittierungsbelegMitFehlkontakten.cs | 102 ++ .../QuittierungsbelegMitFehlkontakten.resx | 129 +++ 5 files changed, 1289 insertions(+), 11 deletions(-) create mode 100644 ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.Designer.cs create mode 100644 ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.cs create mode 100644 ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.resx diff --git a/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj b/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj index 675dfa907..b3b12a646 100644 --- a/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj +++ b/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj @@ -88,6 +88,12 @@ ServiceInvoiceReport.cs + + Component + + + QuittierungsbelegMitFehlkontakten.cs + Component @@ -135,6 +141,9 @@ ServiceInvoiceReport.cs Designer + + QuittierungsbelegMitFehlkontakten.cs + ServicesOverviewReport.cs diff --git a/ReportImp/BeWoFuerDich/CustomReportCreator.cs b/ReportImp/BeWoFuerDich/CustomReportCreator.cs index 135a3b08a..5b63f8a29 100644 --- a/ReportImp/BeWoFuerDich/CustomReportCreator.cs +++ b/ReportImp/BeWoFuerDich/CustomReportCreator.cs @@ -20,12 +20,14 @@ namespace BeWoFuerDich { var rootReport = CreateServicesOverviewReportForRo(lROs[0], serviceCategoryOid); - rootReport.CreateDocument(); + if (rootReport.Pages == null || rootReport.Pages.Count == 0) + rootReport.CreateDocument(); for (int i = 1; i < lROs.Count; i++) { - var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid); - lNext.CreateDocument(); + var lNext = CreateServicesOverviewReportForRo(lROs[i], serviceCategoryOid); + if (lNext.Pages == null || lNext.Pages.Count == 0) + lNext.CreateDocument(); rootReport.Pages.AddRange(lNext.Pages); } @@ -44,19 +46,82 @@ namespace BeWoFuerDich private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid) { - IBeWoReport report = null; - + XtraReport report = null; - if (!String.IsNullOrWhiteSpace(ro.Costbearer) && (ro.Costbearer.ToLower().Contains("jugendamt"))) + ServicesOverviewRO fehlkontaktRO = ServicesOverviewRO.CopyFromRO(ro); + fehlkontaktRO.TotalFLMBillable = 0; + fehlkontaktRO.TotalFLS = 0; + ServicesOverviewRO keineFehlkontakteRO = ServicesOverviewRO.CopyFromRO(ro); + keineFehlkontakteRO.TotalFLMBillable = 0; + keineFehlkontakteRO.TotalFLS = 0; + + if (ro.Services != null) { - report = new BeWoFuerDich.LeistungsnachweisJugendamt(); + if (!String.IsNullOrWhiteSpace(ro.Costbearer) && (ro.Costbearer.ToLower().Contains("jugendamt"))) + { + report = AddReportToReport(report, ro); + } + else + { + foreach (ServicesOverviewRO.ServiceDetail s in ro.Services) + { + if (s.ServiceDescription.ToLower().Contains("fehlkontakt")) + { + fehlkontaktRO.Services.Add(s); + fehlkontaktRO.TotalFLMBillable += s.Minutes; + fehlkontaktRO.TotalFLS += s.Minutes / 60; + } + else + { + keineFehlkontakteRO.Services.Add(s); + keineFehlkontakteRO.TotalFLMBillable += s.Minutes; + keineFehlkontakteRO.TotalFLS += s.Minutes / 60; + } + } + } } + + + + if (report == null) - report = new BeWoFuerDich.Stundenzettel(); - report.SetReportDataSource(ro); + report = AddReportToReport(report, keineFehlkontakteRO); - return report as XtraReport; + if (fehlkontaktRO.Services.Count > 0) + { + report = AddReportToReport(report, fehlkontaktRO); + } + + + return report; } - } + + private XtraReport AddReportToReport(XtraReport report, ServicesOverviewRO ro) where T : XtraReport, IBeWoReport, new() + { + if (ro.Services.Count > 0) + { + if (report == null) + { + report = new T(); + ((T)report).SetReportDataSource(ro); + report.CreateDocument(); + } + else + { + if (report.Pages.Count == 0) + { + report.CreateDocument(); + } + + XtraReport newReport = new T(); + ((T)newReport).SetReportDataSource(ro); + + newReport.CreateDocument(); + report.Pages.AddRange(newReport.Pages); + } + } + return report; + } + } } diff --git a/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.Designer.cs b/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.Designer.cs new file mode 100644 index 000000000..e7fd24664 --- /dev/null +++ b/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.Designer.cs @@ -0,0 +1,973 @@ +namespace BeWoFuerDich +{ + partial class QuittierungsbelegMitFehlkontakten + { + /// + /// 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(QuittierungsbelegMitFehlkontakten)); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); + 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.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableAbwesenheiten = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell35 = 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.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = 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.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.fieldAbrechenbareMinuten = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldTotalFLSBillable = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldTotalFLSBillableXRateFactor = new DevExpress.XtraReports.UI.CalculatedField(); + this.customerCountField = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField(); + this.fieldStunden = new DevExpress.XtraReports.UI.CalculatedField(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTableServiceRecords1}); + this.Detail.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.Detail.HeightF = 20F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseFont = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrTableServiceRecords1 + // + this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + 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.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(632.1248F, 20F); + this.xrTableServiceRecords1.StylePriority.UseBackColor = false; + this.xrTableServiceRecords1.StylePriority.UseFont = false; + this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false; + this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3, + this.xrTableCell5, + this.xrTableCell9}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow2.StylePriority.UseFont = false; + this.xrTableRow2.StylePriority.UseTextAlignment = false; + this.xrTableRow2.Weight = 1.1111092273131862D; + // + // xrTableCell3 + // + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.StylePriority.UseTextAlignment = false; + this.xrTableCell3.Text = "Datum"; + this.xrTableCell3.Weight = 0.36578879419439292D; + // + // xrTableCell5 + // + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.Text = "Uhrzeit"; + this.xrTableCell5.Weight = 0.731577579292583D; + // + // xrTableCell9 + // + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + this.xrTableCell9.StylePriority.UseFont = false; + this.xrTableCell9.StylePriority.UseTextAlignment = false; + this.xrTableCell9.Text = "Minuten"; + this.xrTableCell9.Weight = 0.44412813682221075D; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1, + this.GroupFooter1}); + 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", 9F, 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(632.1248F, 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.xrTableCell6, + this.xrTableCell16}); + 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 = 1.1111111111111112D; + // + // 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.Name = "xrTableCell13"; + this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); + 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.18939390758508232D; + // + // xrTableCell6 + // + this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")}); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.StylePriority.UseTextAlignment = false; + this.xrTableCell6.Text = "xrTableCell6"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell6.Weight = 0.37878782013471662D; + // + // xrTableCell16 + // + this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Minutes", "{0:0.##}")}); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrTableCell16.StylePriority.UseFont = false; + this.xrTableCell16.StylePriority.UseTextAlignment = false; + this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell16.Weight = 0.22995547883404258D; + // + // GroupFooter1 + // + this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel4, + this.xrLabel3, + this.xrTableAbwesenheiten, + this.lblHatAbwesenheiten, + this.lblHatGruppen, + this.xrRichText2, + this.xrRichText1, + this.xrLabel15}); + this.GroupFooter1.HeightF = 176.2153F; + this.GroupFooter1.Name = "GroupFooter1"; + // + // xrLabel4 + // + this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel4.BorderWidth = 1F; + this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLMBillable", "{0:0.##}")}); + this.xrLabel4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(450F, 9.999974F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(182.1248F, 20F); + this.xrLabel4.StylePriority.UseBorders = false; + this.xrLabel4.StylePriority.UseBorderWidth = false; + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UsePadding = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrLabel3 + // + this.xrLabel3.Font = new System.Drawing.Font("Arial", 9F); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(376.4165F, 9.999974F); + this.xrLabel3.Multiline = true; + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(73.5835F, 20.00001F); + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.Text = "gesamt:"; + // + // 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(171.5926F, 58.15973F); + 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.xrTableRow4, + this.xrTableRow5, + this.xrTableRow7, + this.xrTableRow8, + this.xrTableRow9}); + 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; + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell8, + this.xrTableCell15, + this.xrTableCell18}); + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.xrTableRow4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + this.xrTableRow4.Weight = 1D; + // + // xrTableCell8 + // + 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.UsePadding = false; + this.xrTableCell8.StylePriority.UseTextAlignment = false; + this.xrTableCell8.Text = "von"; + this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell8.Weight = 0.1073232364991462D; + // + // xrTableCell15 + // + 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.Text = "bis"; + this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell15.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; + // + // xrTableRow5 + // + this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell22, + this.xrTableCell25, + this.xrTableCell26}); + 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; + // + // 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.10732323432577288D; + // + // xrTableCell26 + // + this.xrTableCell26.Font = new System.Drawing.Font("Arial", 9.75F, 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.075757568269402914D; + // + // xrTableRow7 + // + this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell27, + this.xrTableCell28, + this.xrTableCell29}); + this.xrTableRow7.Name = "xrTableRow7"; + this.xrTableRow7.Weight = 1D; + // + // xrTableCell27 + // + this.xrTableCell27.Font = new System.Drawing.Font("Arial", 10F, 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.1073232364991462D; + // + // xrTableCell28 + // + this.xrTableCell28.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell28.Name = "xrTableCell28"; + this.xrTableCell28.StylePriority.UseFont = false; + this.xrTableCell28.StylePriority.UseTextAlignment = false; + this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell28.Weight = 0.10732323432577288D; + // + // xrTableCell29 + // + this.xrTableCell29.Font = new System.Drawing.Font("Arial", 9.75F, 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.075757568269402914D; + // + // xrTableRow8 + // + this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell30, + this.xrTableCell31, + this.xrTableCell32}); + this.xrTableRow8.Name = "xrTableRow8"; + this.xrTableRow8.Weight = 1D; + // + // 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.1073232364991462D; + // + // xrTableCell31 + // + this.xrTableCell31.Font = new System.Drawing.Font("Arial", 10F, 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.10732323432577288D; + // + // xrTableCell32 + // + this.xrTableCell32.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.StylePriority.UseFont = false; + this.xrTableCell32.StylePriority.UseTextAlignment = false; + this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell32.Weight = 0.075757568269402914D; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell33, + this.xrTableCell34, + this.xrTableCell35}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Weight = 1D; + // + // xrTableCell33 + // + this.xrTableCell33.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.StylePriority.UseFont = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell33.Weight = 0.1073232364991462D; + // + // xrTableCell34 + // + this.xrTableCell34.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.StylePriority.UseFont = false; + this.xrTableCell34.StylePriority.UseTextAlignment = false; + this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell34.Weight = 0.10732323432577288D; + // + // xrTableCell35 + // + this.xrTableCell35.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.StylePriority.UseFont = false; + this.xrTableCell35.StylePriority.UseTextAlignment = false; + this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell35.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(425.2684F, 108.1597F); + this.lblHatAbwesenheiten.Name = "lblHatAbwesenheiten"; + this.lblHatAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblHatAbwesenheiten.SizeF = new System.Drawing.SizeF(25F, 25F); + 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(425.2684F, 58.15973F); + this.lblHatGruppen.Name = "lblHatGruppen"; + this.lblHatGruppen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblHatGruppen.SizeF = new System.Drawing.SizeF(25F, 25F); + 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(464.602F, 108.1597F); + this.xrRichText2.Name = "xrRichText2"; + this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); + this.xrRichText2.SizeF = new System.Drawing.SizeF(210.8053F, 68.05556F); + this.xrRichText2.StylePriority.UseFont = false; + // + // xrRichText1 + // + this.xrRichText1.Font = new System.Drawing.Font("Arial", 8F); + this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(464.602F, 58.15973F); + this.xrRichText1.Name = "xrRichText1"; + this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString"); + this.xrRichText1.SizeF = new System.Drawing.SizeF(210.8054F, 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(1.592621F, 58.15973F); + 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; + // + // 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.xrLabel28, + this.xrLabel25, + this.xrLabel34, + this.xrLabel30, + this.xrLabel31, + this.xrLabel10, + this.xrLabel12, + this.xrLabel1, + this.xrLabel22, + this.xrLabel23, + this.xrLabel11}); + this.ReportHeader.Font = new System.Drawing.Font("Arial", 10F); + this.ReportHeader.HeightF = 220F; + this.ReportHeader.Name = "ReportHeader"; + this.ReportHeader.StylePriority.UseFont = false; + // + // xrLabel28 + // + this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")}); + this.xrLabel28.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(297F, 60F); + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(335.1247F, 18F); + this.xrLabel28.StylePriority.UseBorders = false; + this.xrLabel28.StylePriority.UseFont = false; + // + // xrLabel25 + // + this.xrLabel25.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(72F, 180F); + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel25.SizeF = new System.Drawing.SizeF(216.0001F, 18F); + this.xrLabel25.StylePriority.UseBorders = false; + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.Text = "[Month] [Year]"; + // + // xrLabel34 + // + this.xrLabel34.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel34.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "MainAttendant")}); + this.xrLabel34.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(297.0001F, 150F); + this.xrLabel34.Name = "xrLabel34"; + this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel34.SizeF = new System.Drawing.SizeF(335.1247F, 18F); + this.xrLabel34.StylePriority.UseBorders = false; + this.xrLabel34.StylePriority.UseFont = false; + // + // xrLabel30 + // + this.xrLabel30.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")}); + this.xrLabel30.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(297.0001F, 89.99999F); + this.xrLabel30.Name = "xrLabel30"; + this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(335.1247F, 18F); + this.xrLabel30.StylePriority.UseBorders = false; + this.xrLabel30.StylePriority.UseFont = false; + // + // xrLabel31 + // + this.xrLabel31.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")}); + this.xrLabel31.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(297.0001F, 120F); + this.xrLabel31.Name = "xrLabel31"; + this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel31.SizeF = new System.Drawing.SizeF(335.1247F, 18F); + this.xrLabel31.StylePriority.UseBorders = false; + this.xrLabel31.StylePriority.UseFont = false; + this.xrLabel31.Text = "xrLabel26"; + // + // xrLabel10 + // + this.xrLabel10.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 90F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(288F, 18F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Aktenzeichen:"; + // + // xrLabel12 + // + this.xrLabel12.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 60F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(288F, 18F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = "Name:"; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel1.Multiline = true; + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(632.1248F, 25F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "Quittierungsbeleg über Fehlkontakte - BeWo für Dich"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel22 + // + this.xrLabel22.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(0F, 150F); + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(288F, 18F); + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.Text = "Verantwortliche/r Mitarbeiter/in:"; + // + // xrLabel23 + // + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(0F, 180F); + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(62.99998F, 18F); + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.Text = "Monat:"; + // + // xrLabel11 + // + this.xrLabel11.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 120F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(288F, 18F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.Text = "Bewilligte Fachleistungsstunden wöchentlich:"; + // + // 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.Font = new System.Drawing.Font("Times New Roman", 9.75F); + this.topMarginBand1.HeightF = 80F; + this.topMarginBand1.Name = "topMarginBand1"; + this.topMarginBand1.StylePriority.UseFont = false; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 36.41669F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel7, + this.xrLabel6, + this.xrLabel5}); + this.ReportFooter.Font = new System.Drawing.Font("Arial", 8F); + this.ReportFooter.HeightF = 62.87499F; + this.ReportFooter.Name = "ReportFooter"; + this.ReportFooter.StylePriority.UseFont = false; + // + // xrLabel7 + // + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(423.0001F, 44.87502F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(209.1247F, 17.99997F); + this.xrLabel7.StylePriority.UseBorders = false; + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.Text = "Unterschrift Klient/In"; + // + // xrLabel6 + // + this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(169.9585F, 44.87502F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(216.8751F, 17.99997F); + this.xrLabel6.StylePriority.UseBorders = false; + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.Text = "Unterschrift MitarbeiterIn"; + // + // xrLabel5 + // + this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 44.87502F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(119.9999F, 17.99997F); + this.xrLabel5.StylePriority.UseBorders = false; + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = "Datum"; + // + // fieldAbrechenbareMinuten + // + this.fieldAbrechenbareMinuten.DataMember = "Services"; + this.fieldAbrechenbareMinuten.Expression = "Iif([IsBillable], [Minutes], 0)"; + this.fieldAbrechenbareMinuten.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldAbrechenbareMinuten.Name = "fieldAbrechenbareMinuten"; + // + // fieldTotalFLSBillable + // + this.fieldTotalFLSBillable.Expression = "[TotalFLMBillable]/60"; + this.fieldTotalFLSBillable.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldTotalFLSBillable.Name = "fieldTotalFLSBillable"; + // + // fieldTotalFLSBillableXRateFactor + // + this.fieldTotalFLSBillableXRateFactor.Expression = "([TotalFLMBillable]/60) * 1.2"; + this.fieldTotalFLSBillableXRateFactor.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldTotalFLSBillableXRateFactor.Name = "fieldTotalFLSBillableXRateFactor"; + // + // customerCountField + // + this.customerCountField.DataMember = "Services"; + this.customerCountField.Expression = "Iif([CustomerCount] < 2, \'\', ToStr([CustomerCount]) + \' Teilnehmer\')"; + this.customerCountField.FieldType = DevExpress.XtraReports.UI.FieldType.String; + this.customerCountField.Name = "customerCountField"; + // + // fieldBillableFLS + // + this.fieldBillableFLS.Expression = "[TotalFLMBillable]"; + this.fieldBillableFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldBillableFLS.Name = "fieldBillableFLS"; + // + // fieldAbrechenbareFLS + // + this.fieldAbrechenbareFLS.Expression = "([TotalFLMBillable]/60) * 1.2"; + this.fieldAbrechenbareFLS.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.fieldAbrechenbareFLS.Name = "fieldAbrechenbareFLS"; + // + // fieldStunden + // + this.fieldStunden.DataMember = "Services"; + this.fieldStunden.Expression = "[Minutes] / 60"; + this.fieldStunden.Name = "fieldStunden"; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // QuittierungsbelegMitFehlkontakten + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.DetailReport, + this.ReportHeader, + this.topMarginBand1, + this.bottomMarginBand1, + this.ReportFooter}); + this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] { + this.fieldAbrechenbareMinuten, + this.fieldTotalFLSBillable, + this.fieldTotalFLSBillableXRateFactor, + this.customerCountField, + this.fieldBillableFLS, + this.fieldAbrechenbareFLS, + this.fieldStunden}); + this.DataSource = this.bindingSource1; + this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { + this.formattingRuleStartDate, + this.formattingRuleServiceDesc, + this.formattingRuleCostBearer, + this.formattingRuleEmployeeName}); + this.Margins = new System.Drawing.Printing.Margins(75, 75, 80, 36); + this.PageHeight = 1169; + this.PageWidth = 827; + this.PaperKind = System.Drawing.Printing.PaperKind.A4; + this.SnapGridSize = 9F; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).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.XRTable xrTable3; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow6; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell16; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell3; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell13; + 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.ReportFooterBand ReportFooter; + private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareMinuten; + private DevExpress.XtraReports.UI.CalculatedField fieldTotalFLSBillable; + private DevExpress.XtraReports.UI.CalculatedField fieldTotalFLSBillableXRateFactor; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; + private DevExpress.XtraReports.UI.CalculatedField customerCountField; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel34; + private DevExpress.XtraReports.UI.XRLabel xrLabel30; + private DevExpress.XtraReports.UI.XRLabel xrLabel31; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private DevExpress.XtraReports.UI.XRLabel xrLabel22; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.CalculatedField fieldBillableFLS; + private DevExpress.XtraReports.UI.CalculatedField fieldAbrechenbareFLS; + private DevExpress.XtraReports.UI.CalculatedField fieldStunden; + private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; + private DevExpress.XtraReports.UI.XRTable xrTableAbwesenheiten; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow4; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell18; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow5; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell22; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell25; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell26; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow7; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell27; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell28; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell29; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow8; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell30; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell31; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell32; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow9; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell33; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell34; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell35; + private DevExpress.XtraReports.UI.XRLabel lblHatAbwesenheiten; + private DevExpress.XtraReports.UI.XRLabel lblHatGruppen; + private DevExpress.XtraReports.UI.XRRichText xrRichText2; + private DevExpress.XtraReports.UI.XRRichText xrRichText1; + private DevExpress.XtraReports.UI.XRLabel xrLabel15; + } +} diff --git a/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.cs b/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.cs new file mode 100644 index 000000000..66baba9a2 --- /dev/null +++ b/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using BeWo.Report; +using BeWo.Report.ReportObjects; + +namespace BeWoFuerDich +{ + public partial class QuittierungsbelegMitFehlkontakten : DevExpress.XtraReports.UI.XtraReport, IBeWoReport + { + public QuittierungsbelegMitFehlkontakten() + { + InitializeComponent(); + } + + public void SetReportDataSource(ServicesOverviewRO pRO) + { + if (pRO.EndDate != pRO.StartDate.AddMonths(1).AddDays(-1)) + { + pRO.Month = String.Format("{0}.-{1}. {2}", pRO.StartDate.Day, pRO.EndDate.Day, pRO.Month); + } + bool hatGruppen = false; + + if (pRO.Services != null) + { + List servicesBillable = new List(); + + foreach (ServicesOverviewRO.ServiceDetail s in pRO.Services) + { + if (s.IsBillable) + { + if (s.IsGroup) + { + hatGruppen = true; + } + + servicesBillable.Add(s); + } + } + + pRO.Services = servicesBillable; + } + + if (String.IsNullOrWhiteSpace(pRO.AbsenceTimes)) + { + lblHatAbwesenheiten.Text = "X"; + } + + if (!hatGruppen) + { + lblHatGruppen.Text = "X"; + } + ErstelleAbwesenheitenTabelle(pRO); + + this.bindingSource1.DataSource = pRO; + } + + private void ErstelleAbwesenheitenTabelle(ServicesOverviewRO pRo) + { + if (pRo.Abwesenheiten != null) + { + int newRows = 0; + int index = 1; + foreach (var at in pRo.Abwesenheiten) + { + DevExpress.XtraReports.UI.XRTableRow row = null; + if (index < xrTableAbwesenheiten.Rows.Count) + { + row = xrTableAbwesenheiten.Rows[index]; + } + else + { + row = xrTableAbwesenheiten.InsertRowBelow(xrTableAbwesenheiten.Rows[xrTableAbwesenheiten.Rows.Count - 1]); + newRows++; + } + + row.Cells[0].Text = String.Format("{0:dd.MM.yyyy}", at.Start); + int? days = null; + + if (at.End.HasValue) + { + row.Cells[1].Text = String.Format("{0:dd.MM.yyyy}", at.End); + 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) + { + //lblUnterschriftKlient.Top += newRows * 20; + //lblUnterschriftMitarbeiter.Top += newRows * 20; + } + } + } + } +} diff --git a/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.resx b/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.resx new file mode 100644 index 000000000..76e1c381e --- /dev/null +++ b/ReportImp/BeWoFuerDich/QuittierungsbelegMitFehlkontakten.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 + + + ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAGwAYQBuAGcAMQAwADMAMQBcAGwAYQBuAGcAZgBlADEAMAAzADEAXAB1AGwAXABmADIAXABmAHMAMgAwAFwAYwBmADEAIABLAHIAYQBuAGsAZQBuAGgAYQB1AHMAYQB1AGYAZQBuAHQAaABhAGwAdABlAH0AXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxAFwAcABhAHIAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAHsAXABsAGEAbgBnADEAMAAzADEAXABsAGEAbgBnAGYAZQAxADAAMwAxAFwAdQBsAFwAZgAyAFwAZgBzADIAMABcAGMAZgAxACAAYgBlAGsAYQBuAG4AdAAgAG8AZABlAHIAIAB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQBcAHAAYQByAFwAcABhAHIAZABcAHAAbABhAGkAbgBcAHEAbAB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAGEAYgByAGUAYwBoAG4AdQBuAGcAcwByAGUAbABlAHYAYQBuAHQAfQB7AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAbABhAG4AZwAxADAAMwAxAFwAbABhAG4AZwBmAGUAMQAwADMAMQBcAGYAMQBcAGYAcwAyADQAXABjAGYAMQBcAHAAYQByAH0A + + + ewBcAHIAdABmADEAXABkAGUAZgBmADAAewBcAGYAbwBuAHQAdABiAGwAewBcAGYAMAAgAEMAYQBsAGkAYgByAGkAOwB9AHsAXABmADEAIABUAGkAbQBlAHMAIABOAGUAdwAgAFIAbwBtAGEAbgA7AH0AewBcAGYAMgAgAEEAcgBpAGEAbAA7AH0AfQB7AFwAYwBvAGwAbwByAHQAYgBsACAAOwBcAHIAZQBkADAAXABnAHIAZQBlAG4AMABcAGIAbAB1AGUAMAAgADsAXAByAGUAZAAwAFwAZwByAGUAZQBuADAAXABiAGwAdQBlADIANQA1ACAAOwB9AHsAXAAqAFwAZABlAGYAYwBoAHAAIABcAGYAMQBcAGYAcwAyADQAfQB7AFwAcwB0AHkAbABlAHMAaABlAGUAdAAgAHsAXABxAGwAXABmADEAXABmAHMAMgA0ACAATgBvAHIAbQBhAGwAOwB9AHsAXAAqAFwAYwBzADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABEAGUAZgBhAHUAbAB0ACAAUABhAHIAYQBnAHIAYQBwAGgAIABGAG8AbgB0ADsAfQB7AFwAKgBcAGMAcwAyAFwAcwBiAGEAcwBlAGQAbwBuADEAXABmADEAXABmAHMAMgA0AFwAYwBmADEAIABMAGkAbgBlACAATgB1AG0AYgBlAHIAOwB9AHsAXAAqAFwAYwBzADMAXAB1AGwAXABmADEAXABmAHMAMgA0AFwAYwBmADIAIABIAHkAcABlAHIAbABpAG4AawA7AH0AewBcACoAXAB0AHMANABcAHQAcwByAG8AdwBkAFwAZgAxAFwAZgBzADIANABcAHEAbABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgBsADMAXAB0AHMAYwBlAGwAbABwAGEAZABkAGwAMQAwADgAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAYgAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwBjAGUAbABsAHAAYQBkAGQAZgB0ADMAXAB0AHMAdgBlAHIAdABhAGwAdABcAGMAbAB0AHgAbAByAHQAYgAgAE4AbwByAG0AYQBsACAAVABhAGIAbABlADsAfQB7AFwAKgBcAHQAcwA1AFwAdABzAHIAbwB3AGQAXABzAGIAYQBzAGUAZABvAG4ANABcAGYAMQBcAGYAcwAyADQAXABxAGwAXAB0AHIAYgByAGQAcgB0AFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGwAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAYgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHIAYgByAGQAcgByAFwAYgByAGQAcgBzAFwAYgByAGQAcgB3ADEAMABcAHQAcgBiAHIAZAByAGgAXABiAHIAZAByAHMAXABiAHIAZAByAHcAMQAwAFwAdAByAGIAcgBkAHIAdgBcAGIAcgBkAHIAcwBcAGIAcgBkAHIAdwAxADAAXAB0AHMAYwBlAGwAbABwAGEAZABkAGYAbAAzAFwAdABzAGMAZQBsAGwAcABhAGQAZABsADEAMAA4AFwAdABzAGMAZQBsAGwAcABhAGQAZABmAHIAMwBcAHQAcwBjAGUAbABsAHAAYQBkAGQAcgAxADAAOABcAHQAcwB2AGUAcgB0AGEAbAB0AFwAYwBsAHQAeABsAHIAdABiACAAVABhAGIAbABlACAAUwBpAG0AcABsAGUAIAAxADsAfQB9AHsAXAAqAFwAbABpAHMAdABvAHYAZQByAHIAaQBkAGUAdABhAGIAbABlAH0AXABuAG8AdQBpAGMAbwBtAHAAYQB0AFwAcwBwAGwAeQB0AHcAbgBpAG4AZQBcAGgAdABtAGEAdQB0AHMAcABcAHAAYQByAGQAXABwAGwAYQBpAG4AXABxAGwAewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEsAZQBpAG4AZQAgAH0AewBcAHUAbABcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgAEcAcgB1AHAAcABlAG4AYQBuAGcAZQBiAG8AdABlAH0AewBcAGYAMgBcAGYAcwAyADAAXABjAGYAMQAgACAAaQBtACAAQQBiAHIAZQBjAGgAbgB1AG4AZwBzAHoAZQBpAHQAcgBhAHUAbQB9AFwAZgAxAFwAZgBzADIANABcAGMAZgAxAFwAcABhAHIAfQA= + + + 21, 17 + + \ No newline at end of file From d82e1ed290df8cff21b4b9a71287b16dcf54923e Mon Sep 17 00:00:00 2001 From: Lyndon Jetten Date: Thu, 16 Mar 2023 13:57:04 +0100 Subject: [PATCH 3/7] MoK: + Klientenfilter im Kalender-Modul: Rechte verfeinert + Auswertungsmodul angefangen. Nur im Debug-Modus sichtbar. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FaC: + In die Zeiterfassung übertragene Termine kriegen Icon auch, wenn nur der veraltete Flag "HasSerivceRecordEntry" auf true steht. --- .../AptToServRecsIconVisibilityConverter.cs | 5 +- BeWo/Scheduler/View/NewSchedulerView.xaml | 6 +- BeWo/View/HomeView.xaml.cs | 2 +- BeWoPlanerMobil/BeWoPlanerMobil.csproj | 4 + BeWoPlanerMobil/BeWoPlanerMobil.csproj.user | 2 +- .../Controllers/AbstractBaseController.cs | 1 + BeWoPlanerMobil/Controllers/MainController.cs | 7 +- .../Controllers/ReportViewerController.cs | 86 ++++++++++ BeWoPlanerMobil/Models/AbstractModel.cs | 2 +- BeWoPlanerMobil/Models/ReportViewerModel.cs | 148 ++++++++++++++++++ .../Service/MobileSessionFacade.cs | 2 + .../DocumentWebViewerPartial.cshtml | 12 ++ .../Views/ReportViewer/ReportViewer.cshtml | 131 ++++++++++++++++ .../CustomerFilterSelectionPartial.cshtml | 2 +- BeWoPlanerMobil/Views/Shared/_Layout.cshtml | 40 +++-- .../ServiceImplementations/QueryServiceImp.cs | 3 +- 16 files changed, 430 insertions(+), 23 deletions(-) create mode 100644 BeWoPlanerMobil/Controllers/ReportViewerController.cs create mode 100644 BeWoPlanerMobil/Models/ReportViewerModel.cs create mode 100644 BeWoPlanerMobil/Views/ReportViewer/DocumentWebViewerPartial.cshtml create mode 100644 BeWoPlanerMobil/Views/ReportViewer/ReportViewer.cshtml diff --git a/BeWo/Scheduler/Converter/AptToServRecsIconVisibilityConverter.cs b/BeWo/Scheduler/Converter/AptToServRecsIconVisibilityConverter.cs index 6790251df..6b697b730 100644 --- a/BeWo/Scheduler/Converter/AptToServRecsIconVisibilityConverter.cs +++ b/BeWo/Scheduler/Converter/AptToServRecsIconVisibilityConverter.cs @@ -4,6 +4,7 @@ using System.Globalization; using System.Linq; using System.Windows; using System.Windows.Data; +using BeWo.Scheduler.ViewModel; using BS.Shared.DataContracts; namespace BeWo.Scheduler.Converter @@ -12,9 +13,9 @@ namespace BeWo.Scheduler.Converter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { - if(value is List serviceRecordList) + if(value is CustomFieldStorage customFieldStorage) { - return serviceRecordList.Any() ? Visibility.Visible : Visibility.Collapsed; + return customFieldStorage.ServiceRecordList.Any() || customFieldStorage.HasServiceRecordEntry ? Visibility.Visible : Visibility.Collapsed; } return Visibility.Collapsed; diff --git a/BeWo/Scheduler/View/NewSchedulerView.xaml b/BeWo/Scheduler/View/NewSchedulerView.xaml index d92d815eb..f871a3633 100644 --- a/BeWo/Scheduler/View/NewSchedulerView.xaml +++ b/BeWo/Scheduler/View/NewSchedulerView.xaml @@ -149,7 +149,7 @@ @@ -279,7 +279,7 @@ @@ -307,7 +307,7 @@ diff --git a/BeWo/View/HomeView.xaml.cs b/BeWo/View/HomeView.xaml.cs index 20581bb5b..1c94644b7 100644 --- a/BeWo/View/HomeView.xaml.cs +++ b/BeWo/View/HomeView.xaml.cs @@ -2376,7 +2376,7 @@ namespace BeWo.View { if(value is SchedulerAppointmentDC appointment) { - return appointment.ServiceRecordList.Any() ? Visibility.Visible : Visibility.Collapsed; + return appointment.HasServiceRecordEntry || appointment.ServiceRecordList.Any() ? Visibility.Visible : Visibility.Collapsed; } return Visibility.Collapsed; diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj b/BeWoPlanerMobil/BeWoPlanerMobil.csproj index 5212d421f..98b1aae69 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj @@ -198,11 +198,13 @@ + + @@ -25467,6 +25469,8 @@ + + diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user b/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user index 2e25948f0..b9aa0bdbd 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user @@ -15,7 +15,7 @@ root/Common/MVC/Controller 600 False - False + True False diff --git a/BeWoPlanerMobil/Controllers/AbstractBaseController.cs b/BeWoPlanerMobil/Controllers/AbstractBaseController.cs index 57cc8f524..c7ce27cea 100644 --- a/BeWoPlanerMobil/Controllers/AbstractBaseController.cs +++ b/BeWoPlanerMobil/Controllers/AbstractBaseController.cs @@ -22,6 +22,7 @@ namespace BeWoPlanerMobil.Controllers protected readonly IUserService UserService = new MobileSessionFacade().UserService; protected readonly IDownloadService DownloadService = new MobileSessionFacade().DownloadService; protected readonly IReportService ReportService = new MobileSessionFacade().ReportService; + protected readonly IQueryService QueryService = new MobileSessionFacade().QueryService; protected const string LeerzeichenFuerGetMethoden = " "; diff --git a/BeWoPlanerMobil/Controllers/MainController.cs b/BeWoPlanerMobil/Controllers/MainController.cs index 752a6db5c..a4f19fe38 100644 --- a/BeWoPlanerMobil/Controllers/MainController.cs +++ b/BeWoPlanerMobil/Controllers/MainController.cs @@ -24,7 +24,6 @@ using BS.Shared.Services; using DevExpress.XtraScheduler; using DevExpress.XtraScheduler.Compatibility; using Newtonsoft.Json; -using NHibernate.Criterion; using static BS.Shared.ServiceRecordValidationResult; using FormCollection = System.Web.Mvc.FormCollection; using ServiceRecordDC = BS.Shared.DataContracts.ServiceRecordDC; @@ -2490,6 +2489,12 @@ namespace BeWoPlanerMobil.Controllers return AbstractModel.IsAllowedToSeeBills ? RedirectToActionPermanent("InitReports", "Report") : RedirectToMain(); } + [Authorize] + public ActionResult RedirectToReportViewer() + { + return RedirectToActionPermanent("ReportViewer", "ReportViewer"); + } + public ActionResult RedirectToMain() { return RedirectToActionPermanent("Main", "Main"); diff --git a/BeWoPlanerMobil/Controllers/ReportViewerController.cs b/BeWoPlanerMobil/Controllers/ReportViewerController.cs new file mode 100644 index 000000000..faa7ad753 --- /dev/null +++ b/BeWoPlanerMobil/Controllers/ReportViewerController.cs @@ -0,0 +1,86 @@ +using System; +using System.Collections.Generic; +using System.Web.Mvc; +using BeWoPlanerMobil.Models; +using BeWoPlanerMobil.Service; +using BeWoPlanerMobil.Util; +using BS.Shared; + +namespace BeWoPlanerMobil.Controllers +{ + public class ReportViewerController : AbstractBaseController + { + private ReportViewerModel _Model; + + public ReportViewerModel Model + { + get + { + if(!MobileSessionFacade.IsUserLoggedIn()) + { + RedirectToActionPermanent("Index", "Login"); + return null; + } + + if(((ReportViewerModel)Session[ModelSessionConstants.ReportViewerModelKey])?.Employee is null) + { + _Model = new ReportViewerModel { Employee = MobileSessionFacade.LoggedInEmployee }; + Session[ModelSessionConstants.ReportViewerModelKey] = _Model; + } + else + { + _Model = (ReportViewerModel)Session[ModelSessionConstants.ReportViewerModelKey]; + } + + return _Model; + } + } + + + public ActionResult ReportViewer() + { + var month = DateTime.Today.Month; + var year = DateTime.Today.Year; + var first = new DateTime(year, month, 1).AddMonths(-1); + + Model.SelectedYear = Model.SelectedYear ?? first.Year; + Model.SelectedMonth = Model.SelectedMonth ?? first.Month; + + Model.AllEmployees = EmployeeService.GetActiveCompactEmployeesForEmployee(MobileSessionFacade.LoggedInCompactEmployee.EmployeeOid); + Model.AllTeams = EmployeeService.GetAllActiveCompactTeamsForEmployee(MobileSessionFacade.LoggedInEmployee.EmployeeOid); + + Model.ReportTypes = new List + { + new SelectListItem + { + Text = "Berichte", + Value = "0" + }, + new SelectListItem + { + Text = "Mitarbeiterstundenkonto", + Value = "1" + } + }; + + Model.SelectedReportType = ReportType.Berichte; + + Model.Queries = QueryService.GetAllQueriesOfType(QueryType.Public); + + + return View(Model); + } + + [Authorize] + public ActionResult DocumentViewerPartial() + { + return PartialView("DocumentWebViewerPartial", Model); + } + + [Authorize] + public ActionResult ExportDocumentViewer() + { + throw new NotImplementedException("Service dafür implementieren!"); + } + } +} \ No newline at end of file diff --git a/BeWoPlanerMobil/Models/AbstractModel.cs b/BeWoPlanerMobil/Models/AbstractModel.cs index 19a8b6337..8a15994ec 100644 --- a/BeWoPlanerMobil/Models/AbstractModel.cs +++ b/BeWoPlanerMobil/Models/AbstractModel.cs @@ -20,7 +20,7 @@ namespace BeWoPlanerMobil.Models public static bool HasRightForGroupBookings => CheckRight(UserRightType.ServiceRecord_AllowCreatingGroupBooking); - public static bool HasRightToViewCustomerAppointments => CheckRight(UserRightType.KalenderKliententermineAlleAnsehen) && CheckRight(UserRightType.CustomerView_View) || CheckRight(UserRightType.ViewAll); + public static bool HasRightToViewCustomerAppointments => CheckRight(UserRightType.KalenderKliententermineAlleAnsehen) || CheckRight(UserRightType.CustomerView_View) || CheckRight(UserRightType.Customer_ViewMyCustomers) || CheckRight(UserRightType.Customer_ViewMyTeams); public static bool HasRightToViewEmployeeAppointments => CheckRight(UserRightType.KalenderMitarbeitertermineAnsehen) || CheckRight(UserRightType.ViewAll); public static bool HasRightToViewAllResourceAppointments => CheckRight(UserRightType.KalenderRessourcentermineAnsehen) || CheckRight(UserRightType.ViewAll); diff --git a/BeWoPlanerMobil/Models/ReportViewerModel.cs b/BeWoPlanerMobil/Models/ReportViewerModel.cs new file mode 100644 index 000000000..9db004110 --- /dev/null +++ b/BeWoPlanerMobil/Models/ReportViewerModel.cs @@ -0,0 +1,148 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Web.Mvc; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; +using DevExpress.XtraReports.UI; + +namespace BeWoPlanerMobil.Models +{ + public class ReportViewerModel : AbstractModel + { + public List AllEmployees { get; set; } + public List AllTeams { get; set; } + public List Queries { get; set; } + + + [Display(Name = "Monat")] + public int? SelectedMonth { get; set; } + public List Months + { + get + { + var result = new List(); + + for(var i = 1; i < 13; i++) + { + result.Add(new SelectListItem + { + Value = i.ToString(), + Text = new DateTime(DateTime.Now.Year, i, 1).ToString("MMMM") + }); + } + + return result; + } + } + + + [Display(Name = "Jahr")] + public int? SelectedYear { get; set; } + public List Years + { + get + { + var result = new List(); + + for(var i = DateTime.Today.Year; i > DateTime.Today.Year - 11; i--) + { + result.Add(new SelectListItem + { + Value = i.ToString(), + Text = i.ToString() + }); + } + + return result; + } + } + + + [Display(Name="Bericht")] + public ReportType SelectedReportType { get; set; } + public List ReportTypes { get; set; } + + + [Display(Name = "Bericht")] + public long? SelectedCustomReport { get; set; } + public List CustomReports + { + get + { + var result = new List(); + + if(Queries is null) + { + return result; + } + + foreach(var query in Queries) + { + result.Add(new SelectListItem { Text = query.Title, Value = query.Oid.ToString() }); + } + + return result; + } + } + + + [Display(Name="Mitarbeiter")] + public long? SelectedEmployeeOid { get; set; } + public List Employees + { + get + { + var result = new List(); + + if(AllEmployees is null) + { + return result; + } + + foreach(var employee in AllEmployees) + { + result.Add(new SelectListItem { Text = employee.SimpleDescription, Value = employee.EmployeeOid.ToString() }); + } + + return result; + } + } + + + [Display(Name = "Team")] + public long? SelectedTeamOid { get; set; } + public List Teams + { + get + { + var result = new List(); + + if(AllTeams is null) + { + return result; + } + + foreach(var team in AllTeams) + { + result.Add(new SelectListItem { Text = team.Name, Value = team.TeamOid.ToString() }); + } + + return result; + } + } + + + + + + + public XtraReport Report { get; set; } + } + + public enum ReportType + { + Berichte = 0, + Mitarbeiterstundenkonto = 1 + } +} \ No newline at end of file diff --git a/BeWoPlanerMobil/Service/MobileSessionFacade.cs b/BeWoPlanerMobil/Service/MobileSessionFacade.cs index b87a7c237..7fafcc657 100644 --- a/BeWoPlanerMobil/Service/MobileSessionFacade.cs +++ b/BeWoPlanerMobil/Service/MobileSessionFacade.cs @@ -29,6 +29,7 @@ namespace BeWoPlanerMobil.Service UserService = new UserServiceImp(); DownloadService = new DownloadServiceImp(); ReportService = new ReportServiceImp(); + QueryService = new QueryServiceImp(); } public ICustomerService CustomerService { get; } @@ -40,6 +41,7 @@ namespace BeWoPlanerMobil.Service public IUserService UserService { get; } public IDownloadService DownloadService { get; } public IReportService ReportService { get; } + public IQueryService QueryService { get; } public static ApplicationUser LoggedInUser { diff --git a/BeWoPlanerMobil/Views/ReportViewer/DocumentWebViewerPartial.cshtml b/BeWoPlanerMobil/Views/ReportViewer/DocumentWebViewerPartial.cshtml new file mode 100644 index 000000000..8caf22bb1 --- /dev/null +++ b/BeWoPlanerMobil/Views/ReportViewer/DocumentWebViewerPartial.cshtml @@ -0,0 +1,12 @@ + +@model BeWoPlanerMobil.Models.ReportViewerModel + +@Html.DevExpress().DocumentViewer(settings =>{ + // The following settings are required for a Document Viewer. + settings.Name = "documentViewer1"; + settings.Report = Model.Report; + // Callback and export route values specify corresponding controllers and their actions. + // These settings are also required. + settings.CallbackRouteValues = new { Controller="ReportViewer", Action="DocumentWebViewerPartial" }; + settings.ExportRouteValues = new { Controller="ReportViewer", Action="ExportDocumentWebViewer" }; +}).GetHtml() \ No newline at end of file diff --git a/BeWoPlanerMobil/Views/ReportViewer/ReportViewer.cshtml b/BeWoPlanerMobil/Views/ReportViewer/ReportViewer.cshtml new file mode 100644 index 000000000..62bf3e619 --- /dev/null +++ b/BeWoPlanerMobil/Views/ReportViewer/ReportViewer.cshtml @@ -0,0 +1,131 @@ +@using BeWoPlanerMobil.Models +@model BeWoPlanerMobil.Models.ReportViewerModel + + + + + +
+
+
+
+
+ @Html.DropDownListFor(model => model.SelectedReportType, Model.ReportTypes, new { @class = "custom-select" }) +
+
+
+
+
+ @if(Model.SelectedReportType == ReportType.Berichte) + { + @Html.DropDownListFor(model => model.SelectedCustomReport, Model.CustomReports, new { @class = "custom-select", id = "customReportSelect" }); + } + + @if(Model.SelectedReportType == ReportType.Mitarbeiterstundenkonto) + { + +
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+ + +
+
+
+
+ + + + +
+ } +
+
+
+
+ @if(!(Model.Report is null)) + { + @Html.Partial("DocumentWebViewerPartial", Model); + } +
+
+
\ No newline at end of file diff --git a/BeWoPlanerMobil/Views/Scheduler/CustomerFilterSelectionPartial.cshtml b/BeWoPlanerMobil/Views/Scheduler/CustomerFilterSelectionPartial.cshtml index 18204ccd8..c675019a6 100644 --- a/BeWoPlanerMobil/Views/Scheduler/CustomerFilterSelectionPartial.cshtml +++ b/BeWoPlanerMobil/Views/Scheduler/CustomerFilterSelectionPartial.cshtml @@ -95,7 +95,7 @@ } -@if(AbstractModel.HasRightToViewCustomerAppointments && Model.AllCustomers.Any()) +@if(AbstractModel.HasRightToViewCustomerSelectionInScheduler && Model.AllCustomers.Any()) {