diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.cs b/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.cs index db2937cda..e8058418d 100644 --- a/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.cs +++ b/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.cs @@ -36,11 +36,6 @@ namespace AWOMuensterlandRecklinghausen { ed.Regelarbeitszeit = String.Format("{0:0.00} Stunden pro Woche", c.WeeklyTotalHours); } - - //if (c.EmploymentType.Name.StartsWith("MA ohne")) - // { - // arbeitssoll = ed.ArbeitstageImBerichtszeitraum; - // } } decimal sbStunden = 0; @@ -117,12 +112,8 @@ namespace AWOMuensterlandRecklinghausen day.Custom3 = string.Format("{0:0.00}", ueberstunden); } - //if (arbeitssoll > 0) - // { - // ed.ArbeitstageImBerichtszeitraum = arbeitssoll; - // } - lblAA.Text = string.Format("{0:0.00}", aaStunden); - lblSB.Text = string.Format("{0:0.00}", sbStunden); + ed.Custom1 = sbStunden; + ed.Custom2 = aaStunden; } this.bindingSource1.DataSource = pRO; } diff --git a/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.designer.cs b/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.designer.cs index 9afada013..97ec7347c 100644 --- a/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.designer.cs +++ b/ReportImp/AWOMuensterlandRecklinghausen/Mitarbeiterarbeitszeitkonto.designer.cs @@ -107,6 +107,7 @@ namespace AWOMuensterlandRecklinghausen this.lblSB = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle(); this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); @@ -124,7 +125,6 @@ namespace AWOMuensterlandRecklinghausen this.fieldSumHoliday2 = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldIstArbeitszeit = new DevExpress.XtraReports.UI.CalculatedField(); this.fieldUeberstundenGesamt = new DevExpress.XtraReports.UI.CalculatedField(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrTableDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); @@ -1050,6 +1050,8 @@ namespace AWOMuensterlandRecklinghausen | DevExpress.XtraPrinting.BorderSide.Bottom))); this.lblAA.BorderWidth = 2F; this.lblAA.CanGrow = false; + this.lblAA.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.Custom2", "{0:0.00}")}); this.lblAA.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblAA.ForeColor = System.Drawing.Color.Red; this.lblAA.LocationFloat = new DevExpress.Utils.PointFloat(177.8656F, 20.00001F); @@ -1069,6 +1071,8 @@ namespace AWOMuensterlandRecklinghausen | DevExpress.XtraPrinting.BorderSide.Bottom))); this.lblSB.BorderWidth = 2F; this.lblSB.CanGrow = false; + this.lblSB.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeDetailList.Custom1", "{0:0.00}")}); this.lblSB.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSB.ForeColor = System.Drawing.Color.Red; this.lblSB.LocationFloat = new DevExpress.Utils.PointFloat(177.8656F, 0F); @@ -1116,6 +1120,10 @@ namespace AWOMuensterlandRecklinghausen this.xrLabel2.StylePriority.UseForeColor = false; this.xrLabel2.Text = "davon Zeit SB"; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterstundenkontoRO); + // // Title // this.Title.BackColor = System.Drawing.Color.White; @@ -1247,10 +1255,6 @@ namespace AWOMuensterlandRecklinghausen this.fieldUeberstundenGesamt.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; this.fieldUeberstundenGesamt.Name = "fieldUeberstundenGesamt"; // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.MitarbeiterstundenkontoRO); - // // Mitarbeiterarbeitszeitkonto // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {