From 7fd8960f6dd1f9eeac3032c7b7efb88ee92504a3 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 28 Nov 2023 10:04:43 +0100 Subject: [PATCH] =?UTF-8?q?CaritasUnna/SettlementReport2=20-=20Umstellung?= =?UTF-8?q?=20auf=20ausschlie=C3=9Flich=20SR2=20nach=20Fehler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReportImp/CaritasUnna/CaritasUnna.csproj | 3 +-- .../Invoicing/SettlementInvoiceCreation.cs | 18 ++++++++++++++++++ ReportImp/CaritasUnna/SettlementReport.cs | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 ReportImp/CaritasUnna/Invoicing/SettlementInvoiceCreation.cs diff --git a/ReportImp/CaritasUnna/CaritasUnna.csproj b/ReportImp/CaritasUnna/CaritasUnna.csproj index 5916e42c9..65ff4b593 100644 --- a/ReportImp/CaritasUnna/CaritasUnna.csproj +++ b/ReportImp/CaritasUnna/CaritasUnna.csproj @@ -68,8 +68,7 @@ InvoiceCustomerReport.cs - - + Component diff --git a/ReportImp/CaritasUnna/Invoicing/SettlementInvoiceCreation.cs b/ReportImp/CaritasUnna/Invoicing/SettlementInvoiceCreation.cs new file mode 100644 index 000000000..915986915 --- /dev/null +++ b/ReportImp/CaritasUnna/Invoicing/SettlementInvoiceCreation.cs @@ -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; + } + } +} diff --git a/ReportImp/CaritasUnna/SettlementReport.cs b/ReportImp/CaritasUnna/SettlementReport.cs index 59dbeef0c..dec4a1744 100644 --- a/ReportImp/CaritasUnna/SettlementReport.cs +++ b/ReportImp/CaritasUnna/SettlementReport.cs @@ -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 {