Neuen Platzhalter Jobtitel für Fortis hinzugefügt
This commit is contained in:
@@ -74,6 +74,7 @@
|
||||
</Compile>
|
||||
<Compile Include="FortisServiceRecord.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Service\CustomVorlagenManager.cs" />
|
||||
<Compile Include="Translation\TranslationDictionary.cs" />
|
||||
<Compile Include="ZeitdokumentationPlanIstUebersicht.cs">
|
||||
<SubType>Component</SubType>
|
||||
|
||||
27
ReportImp/Fortis/Service/CustomVorlagenManager.cs
Normal file
27
ReportImp/Fortis/Service/CustomVorlagenManager.cs
Normal file
@@ -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<PlatzhalterDC> GetPlatzhalterForCustomer()
|
||||
{
|
||||
var list = base.GetPlatzhalterForCustomer();
|
||||
|
||||
ReplacePlatzhalter(list, new PlatzhalterDC() { Bezeichnung = "Jobtitel", Platzhalter = "MaJobtitel", PlatzhalterID = "MaAdresszusatz", IconType = "AB", FieldName = "Person.Address.AddressLine1" });
|
||||
return list;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user