diff --git a/ReportImp/Fortis/Fortis.csproj b/ReportImp/Fortis/Fortis.csproj index 994122cae..3b55e3799 100644 --- a/ReportImp/Fortis/Fortis.csproj +++ b/ReportImp/Fortis/Fortis.csproj @@ -74,6 +74,7 @@ + Component diff --git a/ReportImp/Fortis/Service/CustomVorlagenManager.cs b/ReportImp/Fortis/Service/CustomVorlagenManager.cs new file mode 100644 index 000000000..c056e9f1e --- /dev/null +++ b/ReportImp/Fortis/Service/CustomVorlagenManager.cs @@ -0,0 +1,27 @@ +using BeWo.Data.Access; +using BeWo.Data.Entities; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.Dokumentverwaltung; +using BS.Shared; +using BS.Shared.DataContracts; +using DevExpress.XtraRichEdit; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; + +namespace Fortis.Service +{ + public class CustomVorlagenManager : VorlagenManager + { + public override List GetPlatzhalterForCustomer() + { + var list = base.GetPlatzhalterForCustomer(); + + ReplacePlatzhalter(list, new PlatzhalterDC() { Bezeichnung = "Jobtitel", Platzhalter = "MaJobtitel", PlatzhalterID = "MaAdresszusatz", IconType = "AB", FieldName = "Person.Address.AddressLine1" }); + return list; + } + + } +} diff --git a/ReportImp/Fortis/Translation/TranslationDictionary.cs b/ReportImp/Fortis/Translation/TranslationDictionary.cs index e42e5e876..8a6d9b2f1 100644 --- a/ReportImp/Fortis/Translation/TranslationDictionary.cs +++ b/ReportImp/Fortis/Translation/TranslationDictionary.cs @@ -20,7 +20,7 @@ namespace Fortis.Translation var dict = base.GetTranslationDictionary(); AddOrReplaceTranslation(dict, "EmployeeViewAdresse", "Adresse dienstlich"); - AddOrReplaceTranslation(dict, "EmployeeViewAdresszusatz", "Jobbezeichnung"); + AddOrReplaceTranslation(dict, "EmployeeViewAdresszusatz", "Jobtitel"); AddOrReplaceTranslation(dict, "EmployeeViewKontakt", "Kontakt dienstlich"); return dict;