Files
BeWoPlaner/ReportImp/Club74DB2/Invoicing/Club74InvoiceFactory.cs
Christian 0cdbf53408 cb
2021-11-16 10:56:40 +01:00

30 lines
828 B
C#

using System;
using System.Collections.Generic;
using BeWo.Data.Entities;
using BeWo.Service.Invoicing;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
namespace BeWo.Club74
{
public class Club74InvoiceFactory : InvoiceFactory
{
public override InvoiceCreation CreateInvoiceCreator(string specificId, string tenant, Dictionary<CompactSupportConceptDC, List<ServiceRecordDC>> supportConcepts2ServiceRecords)
{
return new Club74InvoiceCreation();
}
public override SettlementInvoiceCreation CreateSettlementInvoiceCreator(string costbearerId, string tenant, CostBearer2SupportConcept lCb2Sc)
{
if (costbearerId == "LWLNEU")
{
return new Club74SettlementInvoiceCreation();
}
return new SettlementInvoiceCreation();
}
}
}