diff --git a/ReportImp/SelfGbR/Quittierungsbeleg.Designer.cs b/ReportImp/SelfGbR/Quittierungsbeleg.Designer.cs index 2ff52ab2a..75579a5a3 100644 --- a/ReportImp/SelfGbR/Quittierungsbeleg.Designer.cs +++ b/ReportImp/SelfGbR/Quittierungsbeleg.Designer.cs @@ -31,6 +31,7 @@ namespace SelfGbR { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Quittierungsbeleg)); + DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); @@ -62,11 +63,10 @@ namespace SelfGbR this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); - this.lblBewilligteFLS = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblBewillgteFLS = 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(); @@ -126,12 +126,13 @@ namespace SelfGbR this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((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.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -557,10 +558,6 @@ namespace SelfGbR 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]"; @@ -571,8 +568,8 @@ namespace SelfGbR // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.lblBewilligteFLS, this.xrLabel16, + this.lblBewillgteFLS, this.xrLabel7, this.xrLabel8, this.xrLabel6, @@ -583,41 +580,39 @@ namespace SelfGbR this.ReportHeader.HeightF = 130F; this.ReportHeader.Name = "ReportHeader"; // - // lblBewilligteFLS - // - this.lblBewilligteFLS.BackColor = System.Drawing.Color.Gainsboro; - this.lblBewilligteFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right))); - this.lblBewilligteFLS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); - this.lblBewilligteFLS.LocationFloat = new DevExpress.Utils.PointFloat(415F, 47.1111F); - this.lblBewilligteFLS.Name = "lblBewilligteFLS"; - this.lblBewilligteFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.lblBewilligteFLS.SizeF = new System.Drawing.SizeF(219.7498F, 30.50001F); - this.lblBewilligteFLS.StylePriority.UseBackColor = false; - this.lblBewilligteFLS.StylePriority.UseBorders = false; - this.lblBewilligteFLS.StylePriority.UseFont = false; - this.lblBewilligteFLS.StylePriority.UsePadding = false; - this.lblBewilligteFLS.StylePriority.UseTextAlignment = false; - this.lblBewilligteFLS.Text = "Bewilligte FLS wöchentlich"; - this.lblBewilligteFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // // xrLabel16 // - this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ApprovedFLSPerWeek", "{0:0.##}")}); + this.xrLabel16.BackColor = System.Drawing.Color.Gainsboro; + this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 10F); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(634.7498F, 47.1111F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(415F, 47.1111F); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel16.SizeF = new System.Drawing.SizeF(100.2502F, 30.50001F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(174.9582F, 30.50001F); this.xrLabel16.StylePriority.UseBackColor = false; this.xrLabel16.StylePriority.UseBorders = false; this.xrLabel16.StylePriority.UseFont = false; this.xrLabel16.StylePriority.UsePadding = false; this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.Text = "Bewilligte Std. wöchentlich"; this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // + // lblBewillgteFLS + // + this.lblBewillgteFLS.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.lblBewillgteFLS.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.lblBewillgteFLS.LocationFloat = new DevExpress.Utils.PointFloat(589.9582F, 47.1111F); + this.lblBewillgteFLS.Name = "lblBewillgteFLS"; + this.lblBewillgteFLS.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblBewillgteFLS.SizeF = new System.Drawing.SizeF(145.0419F, 30.50001F); + this.lblBewillgteFLS.StylePriority.UseBackColor = false; + this.lblBewillgteFLS.StylePriority.UseBorders = false; + this.lblBewillgteFLS.StylePriority.UseFont = false; + this.lblBewillgteFLS.StylePriority.UsePadding = false; + this.lblBewillgteFLS.StylePriority.UseTextAlignment = false; + this.lblBewillgteFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // // xrLabel7 // this.xrLabel7.BackColor = System.Drawing.Color.Gainsboro; @@ -628,7 +623,7 @@ namespace SelfGbR this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(415.0002F, 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(161.6385F, 30.50001F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(174.958F, 30.50001F); this.xrLabel7.StylePriority.UseBackColor = false; this.xrLabel7.StylePriority.UseBorders = false; this.xrLabel7.StylePriority.UseFont = false; @@ -642,10 +637,10 @@ namespace SelfGbR this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Arial", 10F); - this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(576.6387F, 77.6111F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(589.9582F, 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.SizeF = new System.Drawing.SizeF(145.0417F, 30.50001F); this.xrLabel8.StylePriority.UseBackColor = false; this.xrLabel8.StylePriority.UseBorders = false; this.xrLabel8.StylePriority.UseFont = false; @@ -1377,6 +1372,10 @@ namespace SelfGbR this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // // Quittierungsbeleg // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -1400,12 +1399,14 @@ namespace SelfGbR this.PageWidth = 827; this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4; this.Version = "23.2"; + xrWatermark1.Id = "Watermark1"; + this.Watermarks.Add(xrWatermark1); ((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.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -1493,8 +1494,8 @@ namespace SelfGbR private DevExpress.XtraReports.UI.XRTableCell xrTableCell29; private DevExpress.XtraReports.UI.XRTableCell xrTableCell30; private DevExpress.XtraReports.UI.XRTableCell xrTableCell31; - private DevExpress.XtraReports.UI.XRLabel lblBewilligteFLS; private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel lblBewillgteFLS; private DevExpress.XtraReports.UI.XRPictureBox picSignature; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; private DevExpress.XtraReports.UI.XRLabel xrLabel17; diff --git a/ReportImp/SelfGbR/Quittierungsbeleg.cs b/ReportImp/SelfGbR/Quittierungsbeleg.cs index da9e07a1c..3021269cd 100644 --- a/ReportImp/SelfGbR/Quittierungsbeleg.cs +++ b/ReportImp/SelfGbR/Quittierungsbeleg.cs @@ -3,6 +3,8 @@ using System.Collections.Generic; using System.Drawing; using System.IO; using System.Text.RegularExpressions; +using BeWo.Data.Access; +using BeWo.Data.Entities; using BeWo.Report; using BeWo.Report.ReportObjects; using BS.Shared.Core; @@ -70,8 +72,41 @@ namespace SelfGbR if (!hatGruppen) { lblHatGruppen.Text = "X"; + } + + if (pRO.CostBearer2SupportConceptList.Count > 0) + { + var c2s = pRO.CostBearer2SupportConceptList[0]; + var c2se = DAOFactory.GenericDAO.LoadByID(c2s.Oid.Value); + var bewilligteWochenStd = ""; + foreach (var scap in c2se.ApprovalPeriodList) + { + if (scap.ServiceCategory != null) + { + var kategorie = scap.ServiceCategory.Name; + if (kategorie.ToLower().Contains("fachleistung")) + { + bewilligteWochenStd += String.Format(" FLS: {0:0.##}", scap.ApprovedBEPerInterval); + } + else if (kategorie.ToLower().Contains("hintergrunddienst")) + { + bewilligteWochenStd += String.Format(" HD: {0:0.##}", scap.ApprovedBEPerInterval); + } + else if (kategorie.ToLower().Contains("assistenz")) + { + // nix tun (eigner QB) + } + else + { + bewilligteWochenStd += (" " + kategorie); + bewilligteWochenStd += String.Format(": {0:0.##}", scap.ApprovedBEPerInterval); + } + } + } + lblBewillgteFLS.Text = bewilligteWochenStd.Trim(); } + ErstelleAbwesenheitenTabelle(pRO); bindingSource1.DataSource = pRO; @@ -130,7 +165,7 @@ namespace SelfGbR { var base64Data = Regex.Match(base64String, @"data:image/(?.+?),(?.+)").Groups["data"].Value; var binData = Convert.FromBase64String(base64Data); - Image img = ByteArrayToImage(binData); + System.Drawing.Image img = ByteArrayToImage(binData); xrBox.Image = Utils.CropImage(img); } else @@ -139,11 +174,11 @@ namespace SelfGbR } } - public Image ByteArrayToImage(byte[] byteArrayIn) + public System.Drawing.Image ByteArrayToImage(byte[] byteArrayIn) { using(var memoryStream = new MemoryStream(byteArrayIn)) { - return Image.FromStream(memoryStream); + return System.Drawing.Image.FromStream(memoryStream); } } } diff --git a/ReportImp/SelfGbR/QuittierungsbelegAssistenz.Designer.cs b/ReportImp/SelfGbR/QuittierungsbelegAssistenz.Designer.cs index f29ec3600..ec2705f6e 100644 --- a/ReportImp/SelfGbR/QuittierungsbelegAssistenz.Designer.cs +++ b/ReportImp/SelfGbR/QuittierungsbelegAssistenz.Designer.cs @@ -63,10 +63,11 @@ namespace SelfGbR this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.lblBewilligteFLS = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.lblBewillgteAss = 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(); @@ -122,17 +123,16 @@ namespace SelfGbR this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.lblFLSInMinuten = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.xrLabel1 = 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.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -558,6 +558,10 @@ namespace SelfGbR 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]"; @@ -569,7 +573,7 @@ namespace SelfGbR // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.lblBewilligteFLS, - this.xrLabel16, + this.lblBewillgteAss, this.xrLabel7, this.xrLabel8, this.xrLabel6, @@ -598,20 +602,20 @@ namespace SelfGbR this.lblBewilligteFLS.Text = "Bewilligte ALS wöchentlich"; this.lblBewilligteFLS.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // - // xrLabel16 + // lblBewillgteAss // - this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Arial", 10F); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(634.7498F, 47.1111F); - this.xrLabel16.Name = "xrLabel16"; - this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); - this.xrLabel16.SizeF = new System.Drawing.SizeF(100.2502F, 30.50001F); - this.xrLabel16.StylePriority.UseBackColor = false; - this.xrLabel16.StylePriority.UseBorders = false; - this.xrLabel16.StylePriority.UseFont = false; - this.xrLabel16.StylePriority.UsePadding = false; - this.xrLabel16.StylePriority.UseTextAlignment = false; - this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.lblBewillgteAss.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.lblBewillgteAss.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.lblBewillgteAss.LocationFloat = new DevExpress.Utils.PointFloat(634.7498F, 47.1111F); + this.lblBewillgteAss.Name = "lblBewillgteAss"; + this.lblBewillgteAss.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.lblBewillgteAss.SizeF = new System.Drawing.SizeF(100.2502F, 30.50001F); + this.lblBewillgteAss.StylePriority.UseBackColor = false; + this.lblBewillgteAss.StylePriority.UseBorders = false; + this.lblBewillgteAss.StylePriority.UseFont = false; + this.lblBewillgteAss.StylePriority.UsePadding = false; + this.lblBewillgteAss.StylePriority.UseTextAlignment = false; + this.lblBewillgteAss.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel7 // @@ -1326,6 +1330,22 @@ namespace SelfGbR 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.Font = new DevExpress.Drawing.DXFont("Arial", 10F); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(330F, 0F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(85F, 20F); + this.xrLabel1.StylePriority.UseBackColor = false; + this.xrLabel1.StylePriority.UseBorders = false; + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UsePadding = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // // xrPictureBox1 // this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { @@ -1356,26 +1376,6 @@ namespace SelfGbR this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String; this.fieldKontaktArt.Name = "fieldKontaktArt"; // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); - // - // xrLabel1 - // - this.xrLabel1.BackColor = System.Drawing.Color.Gainsboro; - this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); - this.xrLabel1.Font = new DevExpress.Drawing.DXFont("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; - // // QuittierungsbelegAssistenz // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -1403,10 +1403,10 @@ namespace SelfGbR this.Watermarks.Add(xrWatermark1); ((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.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -1494,7 +1494,7 @@ namespace SelfGbR private DevExpress.XtraReports.UI.XRTableCell xrTableCell30; private DevExpress.XtraReports.UI.XRTableCell xrTableCell31; private DevExpress.XtraReports.UI.XRLabel lblBewilligteFLS; - private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel lblBewillgteAss; private DevExpress.XtraReports.UI.XRPictureBox picSignature; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; private DevExpress.XtraReports.UI.XRLabel xrLabel17; diff --git a/ReportImp/SelfGbR/QuittierungsbelegAssistenz.cs b/ReportImp/SelfGbR/QuittierungsbelegAssistenz.cs index 167cc5977..4d85a0402 100644 --- a/ReportImp/SelfGbR/QuittierungsbelegAssistenz.cs +++ b/ReportImp/SelfGbR/QuittierungsbelegAssistenz.cs @@ -79,7 +79,7 @@ namespace SelfGbR { if (scap.ServiceCategory != null && scap.ServiceCategory.Name.ToLower().Contains("assistenz")) { - xrLabel16.Text = String.Format("{0:0.##}", scap.ApprovedBEPerInterval); + lblBewillgteAss.Text = String.Format("{0:0.##}", scap.ApprovedBEPerInterval); } } }