- Neues Feld bei Vermittlung gemeinnütziger Arbeit

- Beta Version Vorlagen Editor fertiggestellt
This commit is contained in:
Christian
2025-05-22 10:21:19 +02:00
parent cafe6093b2
commit eb03353b8c
30 changed files with 1145 additions and 861 deletions

View File

@@ -15,7 +15,6 @@ using BeWo.Service.Plugins;
using BeWo.Service.SBD;
using BeWo.Service.Security;
using BeWo.Service.ServiceContracts;
using BeWo.Service.Vorlagen;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
@@ -7711,8 +7710,8 @@ namespace BeWo.Service.ServiceImplementations
{
try
{
var vm = PluginLoader.FindClass<VorlagenManager>();
return vm.GetPlatzhalterForCustomer();
var pm = PluginLoader.FindClass<CustomerPlaceholderManager>();
return pm.GetPlatzhalter();
}
catch (Exception ex)
{
@@ -7743,6 +7742,20 @@ namespace BeWo.Service.ServiceImplementations
throw Utils.CreateBeWoFaultException(ex);
}
}
public String CreateRtfDocumentFromTemplate(long vorlageOid, TableID objectTid, List<long> objectOids)
{
try
{
var vm = PluginLoader.FindClass<VorlagenManager>();
return vm.CreateRtfDocumentFromTemplate(vorlageOid, objectTid, objectOids);
}
catch (Exception e)
{
throw Utils.CreateBeWoFaultException(e);
}
}
public BeWoFolderDC GetFolderById(long oid)
{
try
@@ -7837,7 +7850,8 @@ namespace BeWo.Service.ServiceImplementations
try
{
var vm = PluginLoader.FindClass<VorlagenManager>();
return vm.ReplacePlaceholdersInTemplate(template, objectOid, tableOid);
//Methode wird nicht mehr benutzt
return null; // vm.ReplacePlaceholdersInTemplate(template, objectOid.Value, (TableID)tableOid.Value);
}
catch (Exception e)
{