BellaDonna/Export/SimbaExporter - nur für nicht exportierte Rgen

This commit is contained in:
2025-08-29 12:39:19 +02:00
parent cd41d825f8
commit 159e9a1864

View File

@@ -378,7 +378,7 @@ namespace BellaDonna.Export
from invoicebase ib
inner join organisation org on org.costbeareroid = ib.RecipientOrganisationOid
WHERE ib.`AccountingPeriodEnd` >= ':Monat_Start' AND ib.`AccountingPeriodEnd` < ':Monat_End' and ib.IsActive = 1
and ib.Type = 2
and ib.Type = 2 AND ib.`IsExported` = 0
";
return sql;