CaritasUnna/SettlementReport2 - Umstellung auf ausschließlich SR2 nach Fehler

This commit is contained in:
2023-11-28 10:04:43 +01:00
parent 5f4fa71cc2
commit 7fd8960f6d
3 changed files with 20 additions and 3 deletions

View File

@@ -68,8 +68,7 @@
<Compile Include="InvoiceCustomerReport.Designer.cs">
<DependentUpon>InvoiceCustomerReport.cs</DependentUpon>
</Compile>
<Compile Include="Invoicing\CustomInvoiceFactory.cs" />
<Compile Include="Invoicing\Lt24InvoiceCreation.cs" />
<Compile Include="Invoicing\SettlementInvoiceCreation.cs" />
<Compile Include="MittelbareLeistungenReport.cs">
<SubType>Component</SubType>
</Compile>

View File

@@ -0,0 +1,18 @@
using BeWo.Data.Entities;
using BeWo.Service.Invoicing;
using BS.Shared.DataContracts;
using BS.Shared.Services;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CaritasUnna
{
public class CustomSettlementInvoiceCreation : SettlementInvoiceCreation
{
public override bool CanCreateInvoiceTheOldWay(Settlement2DC si, CostBearer2SupportConcept c2s)
{
return false;
}
}
}

View File

@@ -2,7 +2,7 @@ using System;
using BeWo.Report.ReportObjects;
using BeWo.Report;
namespace CaritasUnna
namespace CaritasUnna // nur noch für alte Rechnungen, ist abgeschafft 24.11.2023
{
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
{