24 lines
933 B
C#
24 lines
933 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using BeWo.Data.Entities;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared.Core;
|
|
|
|
namespace BeWo.Service.Invoicing
|
|
{
|
|
public class InvoiceFactory : AbstractIDSpecificDefaultClass<InvoiceFactory>
|
|
{
|
|
public virtual InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<BS.Shared.DataContracts.Compact.CompactSupportConceptDC, List<BS.Shared.DataContracts.ServiceRecordDC>> supportConcepts2ServiceRecords)
|
|
{
|
|
return InvoiceCreation.GetInstance(specificId, tenant);
|
|
}
|
|
|
|
public virtual SettlementInvoiceCreation CreateSettlementInvoiceCreator(string costbearerId, string tenant, CostBearer2SupportConcept lCb2Sc)
|
|
{
|
|
return PluginLoader.FindClass<SettlementInvoiceCreation>(costbearerId) ?? SettlementInvoiceCreation.GetInstance(costbearerId, tenant);
|
|
}
|
|
}
|
|
}
|