From 28ef778af7f586bc933c377e93c703b623d5fadf Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 28 Jul 2026 13:01:10 +0200 Subject: [PATCH] DiakonischesWerkMuelheimTwg/Export/DatevExporter.cs - Bugfix nach Filterung SupportOID=169131 --- ReportImp/DiakonischesWerkMuelheimTwg/Export/DatevExporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReportImp/DiakonischesWerkMuelheimTwg/Export/DatevExporter.cs b/ReportImp/DiakonischesWerkMuelheimTwg/Export/DatevExporter.cs index de468aa04..629396b88 100644 --- a/ReportImp/DiakonischesWerkMuelheimTwg/Export/DatevExporter.cs +++ b/ReportImp/DiakonischesWerkMuelheimTwg/Export/DatevExporter.cs @@ -153,7 +153,7 @@ ib.Oid inner join invoicebase ib on ib.costbearer2supportconceptoid = c2s.oid inner join serviceinvoice si on si.invoicebaseoid = ib.oid inner join serviceinvoiceperiod sip on sip.serviceinvoiceoid = si.oid -WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1 AND ib.InvoiceId <> 'Bar' AND ib.IsExported = 0 +WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1 AND (ib.InvoiceId <> 'Bar' OR ib.InvoiceId IS NULL) AND ib.IsExported = 0 order by ib.invoicenumber ";