From aea33e2a483cd58aa7962823986bdfa241a6403e Mon Sep 17 00:00:00 2001 From: Alexandra Date: Thu, 3 Apr 2025 10:17:49 +0200 Subject: [PATCH] =?UTF-8?q?AsSozialeDienstleistungenEV=20-=202.=20Aktenzei?= =?UTF-8?q?chen=20eingef=C3=BChrt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AsSozialeDienstleistungenEV.csproj | 1 + .../LeistungnachweisMonatsbericht.Designer.cs | 16 ++++++++-------- .../Translation/TranslationDictionary.cs | 18 ++++++++++++++++++ 3 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 ReportImp/AsSozialeDienstleistungenEV/Translation/TranslationDictionary.cs diff --git a/ReportImp/AsSozialeDienstleistungenEV/AsSozialeDienstleistungenEV.csproj b/ReportImp/AsSozialeDienstleistungenEV/AsSozialeDienstleistungenEV.csproj index 1994745d0..f8a20f944 100644 --- a/ReportImp/AsSozialeDienstleistungenEV/AsSozialeDienstleistungenEV.csproj +++ b/ReportImp/AsSozialeDienstleistungenEV/AsSozialeDienstleistungenEV.csproj @@ -134,6 +134,7 @@ Teamstundenkonto.cs + diff --git a/ReportImp/AsSozialeDienstleistungenEV/LeistungnachweisMonatsbericht.Designer.cs b/ReportImp/AsSozialeDienstleistungenEV/LeistungnachweisMonatsbericht.Designer.cs index 94f512e22..71f519b3c 100644 --- a/ReportImp/AsSozialeDienstleistungenEV/LeistungnachweisMonatsbericht.Designer.cs +++ b/ReportImp/AsSozialeDienstleistungenEV/LeistungnachweisMonatsbericht.Designer.cs @@ -60,6 +60,7 @@ namespace AsSozialeDienstleistungenEV this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell70 = 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.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); @@ -157,15 +158,14 @@ namespace AsSozialeDienstleistungenEV this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableRow29 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell74 = new DevExpress.XtraReports.UI.XRTableCell(); - 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.xrTable6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -563,6 +563,10 @@ namespace AsSozialeDienstleistungenEV this.xrTableCell70.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; this.xrTableCell70.Weight = 0.53714584990673353D; // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // // formattingRuleStartDate // this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]"; @@ -1221,7 +1225,7 @@ namespace AsSozialeDienstleistungenEV // xrTableCell31 // this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "ReferenceNumber")}); + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearer2SupportConceptList.SupportConcept.Notice")}); this.xrTableCell31.Font = new DevExpress.Drawing.DXFont("Arial", 8F); this.xrTableCell31.Multiline = true; this.xrTableCell31.Name = "xrTableCell31"; @@ -1719,10 +1723,6 @@ namespace AsSozialeDienstleistungenEV this.xrTableCell74.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrTableCell74.Weight = 0.6541466842619994D; // - // bindingSource1 - // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); - // // LeistungnachweisMonatsbericht // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -1754,12 +1754,12 @@ namespace AsSozialeDienstleistungenEV 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.xrTable6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } diff --git a/ReportImp/AsSozialeDienstleistungenEV/Translation/TranslationDictionary.cs b/ReportImp/AsSozialeDienstleistungenEV/Translation/TranslationDictionary.cs new file mode 100644 index 000000000..f986dc7a8 --- /dev/null +++ b/ReportImp/AsSozialeDienstleistungenEV/Translation/TranslationDictionary.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using BeWo.Service.Plugins; + +namespace AsSozialeDienstleistungenEV.Translation +{ + public class CustomTranslationDictionary : TranslationDictionary + { + public override Dictionary GetTranslationDictionary() + { + var dict = base.GetTranslationDictionary(); + AddOrReplaceTranslation(dict, "HilfeplanNotiz", "Aktenzeichen BSD"); + AddOrReplaceTranslation(dict, "Aktenzeichen Klient", "Aktenzeichen WH"); + + return dict; + } + } +}