Files
BeWoPlaner/ReportImp/Fortis/Service/CustomVorlagenManager.cs

30 lines
1008 B
C#

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" });
ReplacePlatzhalter(list, new PlatzhalterDC() { Bezeichnung = "Dienstort", Platzhalter = "MaDienstort", PlatzhalterID = "MaAdresszusatz2", IconType = "AB", FieldName = "Person.Address.AddressLine2" });
return list;
}
}
}