From 8bec942c1dc7d2efc7f780772f08820a1550e0b0 Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Fri, 3 May 2024 14:12:28 +0200 Subject: [PATCH] MH: Nous MA Anzahl auf QB --- .../Nous/ServicesOverviewReport.Designer.cs | 165 ++++++++++++------ ReportImp/Nous/ServicesOverviewReport.cs | 4 + 2 files changed, 115 insertions(+), 54 deletions(-) diff --git a/ReportImp/Nous/ServicesOverviewReport.Designer.cs b/ReportImp/Nous/ServicesOverviewReport.Designer.cs index 2b5740b5c..67dd4d816 100644 --- a/ReportImp/Nous/ServicesOverviewReport.Designer.cs +++ b/ReportImp/Nous/ServicesOverviewReport.Designer.cs @@ -31,6 +31,7 @@ namespace Nous { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Stundenzettel)); + DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); @@ -89,7 +90,6 @@ namespace Nous this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); @@ -110,6 +110,9 @@ namespace Nous this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.fieldFLS = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldTeilnehmer = new DevExpress.XtraReports.UI.CalculatedField(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit(); @@ -136,7 +139,7 @@ namespace Nous 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(675F, 20F); + this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(729F, 20F); this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrTableRow2 @@ -146,6 +149,7 @@ namespace Nous this.xrTableCell1, this.xrTableCell4, this.xrTableCell5, + this.xrTableCell10, this.xrTableCell11, this.xrTableCell9, this.xrTableCell12}); @@ -156,7 +160,8 @@ namespace Nous // // xrTableCell3 // - this.xrTableCell3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell3.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell3.Name = "xrTableCell3"; this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell3.StylePriority.UsePadding = false; @@ -167,7 +172,8 @@ namespace Nous // // xrTableCell1 // - this.xrTableCell1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell1.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell1.Name = "xrTableCell1"; this.xrTableCell1.StylePriority.UseFont = false; this.xrTableCell1.StylePriority.UseTextAlignment = false; @@ -177,7 +183,8 @@ namespace Nous // // xrTableCell4 // - this.xrTableCell4.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell4.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell4.Multiline = true; this.xrTableCell4.Name = "xrTableCell4"; this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); @@ -189,7 +196,7 @@ namespace Nous // // xrTableCell5 // - this.xrTableCell5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold); + this.xrTableCell5.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); this.xrTableCell5.Name = "xrTableCell5"; this.xrTableCell5.StylePriority.UseFont = false; this.xrTableCell5.StylePriority.UseTextAlignment = false; @@ -199,7 +206,8 @@ namespace Nous // // xrTableCell11 // - this.xrTableCell11.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell11.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell11.Name = "xrTableCell11"; this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell11.StylePriority.UsePadding = false; @@ -209,7 +217,8 @@ namespace Nous // // xrTableCell9 // - this.xrTableCell9.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell9.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell9.Name = "xrTableCell9"; this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell9.StylePriority.UsePadding = false; @@ -220,7 +229,8 @@ namespace Nous // xrTableCell12 // this.xrTableCell12.BackColor = System.Drawing.Color.WhiteSmoke; - this.xrTableCell12.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell12.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell12.Name = "xrTableCell12"; this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell12.StylePriority.UsePadding = false; @@ -238,7 +248,7 @@ namespace Nous 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(675.0001F, 20F); + this.xrTable3.SizeF = new System.Drawing.SizeF(729F, 20F); this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrTableRow6 @@ -248,6 +258,7 @@ namespace Nous this.xrTableCell2, this.xrTableCell14, this.xrTableCell6, + this.xrTableCell28, this.xrTableCell15, this.xrTableCell16, this.xrTableCell17}); @@ -260,7 +271,7 @@ namespace Nous // this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.StartDate", "{0:dd.}")}); - this.xrTableCell13.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell13.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrTableCell13.Name = "xrTableCell13"; this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 3, 0, 0, 100F); this.xrTableCell13.StylePriority.UseFont = false; @@ -274,7 +285,8 @@ namespace Nous // this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.TimeRangeString")}); - this.xrTableCell2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell2.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell2.StylePriority.UseFont = false; @@ -288,7 +300,7 @@ namespace Nous // this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldFLS", "{0:0.00}")}); - this.xrTableCell14.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell14.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrTableCell14.Name = "xrTableCell14"; this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell14.StylePriority.UseFont = false; @@ -302,7 +314,7 @@ namespace Nous // this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.fieldTeilnehmer")}); - this.xrTableCell6.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell6.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrTableCell6.Name = "xrTableCell6"; this.xrTableCell6.StylePriority.UseFont = false; this.xrTableCell6.StylePriority.UseTextAlignment = false; @@ -314,7 +326,7 @@ namespace Nous // this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.ServiceCategoryAbbr")}); - this.xrTableCell15.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell15.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrTableCell15.Name = "xrTableCell15"; this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell15.StylePriority.UseFont = false; @@ -326,7 +338,7 @@ namespace Nous // this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.CostBearer")}); - this.xrTableCell16.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell16.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrTableCell16.Name = "xrTableCell16"; this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell16.StylePriority.UseFont = false; @@ -338,7 +350,7 @@ namespace Nous // this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeAbbr")}); - this.xrTableCell17.Font = new System.Drawing.Font("Arial", 10F); + this.xrTableCell17.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrTableCell17.Name = "xrTableCell17"; this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); this.xrTableCell17.StylePriority.UseFont = false; @@ -377,7 +389,7 @@ namespace Nous // xrLabel4 // this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel4.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35.08332F); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -414,7 +426,7 @@ namespace Nous // // xrLabel10 // - this.xrLabel10.Font = new System.Drawing.Font("Arial", 9.75F); + this.xrLabel10.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F); this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(392F, 17F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -428,7 +440,7 @@ namespace Nous // this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "AllEmployees.TotalFLSString", "{0:n}")}); - this.xrLabel7.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(325F, 17F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -442,7 +454,7 @@ namespace Nous // this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "AllEmployees.EmployeeName")}); - this.xrLabel6.Font = new System.Drawing.Font("Arial", 9.75F); + this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F); this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17F); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -455,7 +467,8 @@ namespace Nous // xrLabel8 // this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(125F, 12F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -474,7 +487,7 @@ namespace Nous // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalFLSPerCostBearer")}); - this.xrLabel11.Font = new System.Drawing.Font("Arial", 10F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic)))); + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Arial", 10F, ((DevExpress.Drawing.DXFontStyle)((DevExpress.Drawing.DXFontStyle.Bold | DevExpress.Drawing.DXFontStyle.Italic)))); this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); @@ -497,7 +510,7 @@ namespace Nous // // xrLabel15 // - this.xrLabel15.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Underline); + this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Underline); this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 22.08332F); this.xrLabel15.Multiline = true; this.xrLabel15.Name = "xrLabel15"; @@ -513,7 +526,7 @@ namespace Nous // // xrRichText1 // - this.xrRichText1.Font = new System.Drawing.Font("Arial", 8F); + this.xrRichText1.Font = new DevExpress.Drawing.DXFont("Arial", 8F); this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 22.08332F); this.xrRichText1.Name = "xrRichText1"; this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString"); @@ -522,7 +535,7 @@ namespace Nous // // xrRichText2 // - this.xrRichText2.Font = new System.Drawing.Font("Arial", 8F); + this.xrRichText2.Font = new DevExpress.Drawing.DXFont("Arial", 8F); this.xrRichText2.LocationFloat = new DevExpress.Utils.PointFloat(474.4724F, 72.08337F); this.xrRichText2.Name = "xrRichText2"; this.xrRichText2.SerializableRtfString = resources.GetString("xrRichText2.SerializableRtfString"); @@ -534,7 +547,7 @@ namespace Nous 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.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.lblHatGruppen.LocationFloat = new DevExpress.Utils.PointFloat(435.1386F, 22.08332F); this.lblHatGruppen.Name = "lblHatGruppen"; this.lblHatGruppen.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); @@ -551,7 +564,7 @@ namespace Nous 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.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.lblHatAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(435.1386F, 72.08337F); this.lblHatAbwesenheiten.Name = "lblHatAbwesenheiten"; this.lblHatAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); @@ -569,7 +582,8 @@ namespace Nous 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.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableAbwesenheiten.LocationFloat = new DevExpress.Utils.PointFloat(169.9999F, 22.08332F); this.xrTableAbwesenheiten.Name = "xrTableAbwesenheiten"; this.xrTableAbwesenheiten.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); @@ -597,7 +611,8 @@ namespace Nous // // xrTableCell7 // - this.xrTableCell7.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell7.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell7.Name = "xrTableCell7"; this.xrTableCell7.StylePriority.UseBorders = false; this.xrTableCell7.StylePriority.UseFont = false; @@ -609,7 +624,8 @@ namespace Nous // // xrTableCell8 // - this.xrTableCell8.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell8.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell8.Name = "xrTableCell8"; this.xrTableCell8.StylePriority.UseBorders = false; this.xrTableCell8.StylePriority.UseFont = false; @@ -621,7 +637,8 @@ namespace Nous // // xrTableCell18 // - this.xrTableCell18.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell18.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell18.Name = "xrTableCell18"; this.xrTableCell18.StylePriority.UseBorders = false; this.xrTableCell18.StylePriority.UseFont = false; @@ -642,7 +659,8 @@ namespace Nous // // xrTableCell19 // - this.xrTableCell19.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell19.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell19.Name = "xrTableCell19"; this.xrTableCell19.StylePriority.UseFont = false; this.xrTableCell19.StylePriority.UseTextAlignment = false; @@ -651,7 +669,8 @@ namespace Nous // // xrTableCell20 // - this.xrTableCell20.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell20.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell20.Name = "xrTableCell20"; this.xrTableCell20.StylePriority.UseFont = false; this.xrTableCell20.StylePriority.UseTextAlignment = false; @@ -660,7 +679,8 @@ namespace Nous // // xrTableCell21 // - this.xrTableCell21.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell21.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell21.Name = "xrTableCell21"; this.xrTableCell21.StylePriority.UseFont = false; this.xrTableCell21.StylePriority.UseTextAlignment = false; @@ -678,7 +698,8 @@ namespace Nous // // xrTableCell22 // - this.xrTableCell22.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell22.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell22.Name = "xrTableCell22"; this.xrTableCell22.StylePriority.UseFont = false; this.xrTableCell22.StylePriority.UseTextAlignment = false; @@ -687,7 +708,8 @@ namespace Nous // // xrTableCell23 // - this.xrTableCell23.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell23.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell23.Name = "xrTableCell23"; this.xrTableCell23.StylePriority.UseFont = false; this.xrTableCell23.StylePriority.UseTextAlignment = false; @@ -696,7 +718,8 @@ namespace Nous // // xrTableCell24 // - this.xrTableCell24.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell24.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell24.Name = "xrTableCell24"; this.xrTableCell24.StylePriority.UseFont = false; this.xrTableCell24.StylePriority.UseTextAlignment = false; @@ -714,7 +737,8 @@ namespace Nous // // xrTableCell25 // - this.xrTableCell25.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell25.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell25.Name = "xrTableCell25"; this.xrTableCell25.StylePriority.UseFont = false; this.xrTableCell25.StylePriority.UseTextAlignment = false; @@ -723,7 +747,8 @@ namespace Nous // // xrTableCell26 // - this.xrTableCell26.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell26.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell26.Name = "xrTableCell26"; this.xrTableCell26.StylePriority.UseFont = false; this.xrTableCell26.StylePriority.UseTextAlignment = false; @@ -732,7 +757,8 @@ namespace Nous // // xrTableCell27 // - this.xrTableCell27.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell27.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell27.Name = "xrTableCell27"; this.xrTableCell27.StylePriority.UseFont = false; this.xrTableCell27.StylePriority.UseTextAlignment = false; @@ -750,7 +776,8 @@ namespace Nous // // xrTableCell29 // - this.xrTableCell29.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell29.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell29.Name = "xrTableCell29"; this.xrTableCell29.StylePriority.UseFont = false; this.xrTableCell29.StylePriority.UseTextAlignment = false; @@ -759,7 +786,8 @@ namespace Nous // // xrTableCell30 // - this.xrTableCell30.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell30.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrTableCell30.Name = "xrTableCell30"; this.xrTableCell30.StylePriority.UseFont = false; this.xrTableCell30.StylePriority.UseTextAlignment = false; @@ -768,17 +796,14 @@ namespace Nous // // xrTableCell31 // - this.xrTableCell31.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell31.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((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; // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); - // // xrLabel2 // this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; @@ -791,7 +816,7 @@ namespace Nous // xrLabel12 // this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel12.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Arial", 10F); this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.00001F); this.xrLabel12.Multiline = true; this.xrLabel12.Name = "xrLabel12"; @@ -805,7 +830,7 @@ namespace Nous // // xrPictureBox1 // - this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image"))); + this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource")); this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(478.6479F, 41.56178F); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.SizeF = new System.Drawing.SizeF(192.7083F, 88.43822F); @@ -821,7 +846,7 @@ namespace Nous // // xrLabel1 // - this.xrLabel1.Font = new System.Drawing.Font("Arial", 14F); + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 14F); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel1.Multiline = true; this.xrLabel1.Name = "xrLabel1"; @@ -834,7 +859,8 @@ namespace Nous // // xrLabel9 // - this.xrLabel9.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel9.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] { + new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))}); this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 33F); this.xrLabel9.Multiline = true; this.xrLabel9.Name = "xrLabel9"; @@ -944,6 +970,33 @@ namespace Nous this.fieldTeilnehmer.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldTeilnehmer.Name = "fieldTeilnehmer"; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // + // xrTableCell10 + // + this.xrTableCell10.Font = new DevExpress.Drawing.DXFont("Arial", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrTableCell10.Multiline = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.StylePriority.UseFont = false; + this.xrTableCell10.StylePriority.UseTextAlignment = false; + this.xrTableCell10.Text = "Anzahl MA"; + this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell10.Weight = 0.1343899272391767D; + // + // xrTableCell28 + // + this.xrTableCell28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.EmployeeCount")}); + this.xrTableCell28.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrTableCell28.Multiline = true; + 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.060746929974127548D; + // // Stundenzettel // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -967,13 +1020,15 @@ namespace Nous this.formattingRuleServiceDesc, this.formattingRuleCostBearer, this.formattingRuleEmployeeName}); - this.Margins = new System.Drawing.Printing.Margins(75, 50, 140, 30); + this.Margins = new DevExpress.Drawing.DXMargins(75F, 23F, 140F, 30F); this.PageHeight = 1169; this.PageWidth = 827; this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; this.ScriptsSource = "\r\nprivate void FLS_GetValue(object sender, DevExpress.XtraReports.UI.GetValueEven" + "tArgs e) {\r\n\te.Value = e.Value.ToString().Replace(\".\", \",\");\r\n}\r\n"; - this.Version = "17.1"; + this.Version = "23.2"; + xrWatermark1.Id = "Watermark1"; + this.Watermarks.Add(xrWatermark1); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit(); @@ -1065,5 +1120,7 @@ namespace Nous private DevExpress.XtraReports.UI.XRTableCell xrTableCell29; private DevExpress.XtraReports.UI.XRTableCell xrTableCell30; private DevExpress.XtraReports.UI.XRTableCell xrTableCell31; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell10; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell28; } } diff --git a/ReportImp/Nous/ServicesOverviewReport.cs b/ReportImp/Nous/ServicesOverviewReport.cs index 3c9b928cc..016672c8a 100644 --- a/ReportImp/Nous/ServicesOverviewReport.cs +++ b/ReportImp/Nous/ServicesOverviewReport.cs @@ -30,10 +30,14 @@ namespace Nous if (sd.IsGroup) { //sd.Notice5 = String.Format("{0} Teilnehmer", sd.CustomerCount); + hatGruppen = true; } + + servicesBillable.Add(sd); } + } pRO.Services = servicesBillable;