From 2dc1215e14fc19c210abd593d8ac671bda496095 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 31 Mar 2026 16:05:16 +0200 Subject: [PATCH] =?UTF-8?q?ServiceInvoiceRO=20-=20Erg=C3=A4nzung=20Mandato?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Report/ReportObjects/ServiceInvoiceRO.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Report/ReportObjects/ServiceInvoiceRO.cs b/Report/ReportObjects/ServiceInvoiceRO.cs index 480a07c8b..ebdb23c65 100644 --- a/Report/ReportObjects/ServiceInvoiceRO.cs +++ b/Report/ReportObjects/ServiceInvoiceRO.cs @@ -10,6 +10,8 @@ using BeWo.Data.Entities; using BeWo.Data.Access; using BS.Shared.DataContracts.Compact; using System.Diagnostics; +using BeWo.Service.DCEntityMapper; +using BeWo.Service.Configuration; namespace BeWo.Report.ReportObjects { @@ -65,6 +67,7 @@ namespace BeWo.Report.ReportObjects public string ApprovalDate { get; set; } public InvoiceBaseDC InvoiceBase { get; set; } public List BillableServiceRecords { get; set; } + public MandatorDC Mandator { get; set; } public static ServiceInvoiceRO Create(ServiceInvoiceDC pDC) { @@ -114,6 +117,8 @@ namespace BeWo.Report.ReportObjects } } + lResult.Mandator = MapperFactory.MandatorDC_Mandator.MapToNewDC(AppSettings.GetMandatorEntity()); + foreach (var iContactDC in pDC.InvoiceBase.RecipientContactInformations.Where(iContactDC => iContactDC.ContactType == ContactType.private_POBox)) { lResult.RecipientPoBox = "Postfach " + iContactDC.ContactValue;