diff --git a/ReportImp/BellaDonna/Export/SimbaExporter.cs b/ReportImp/BellaDonna/Export/SimbaExporter.cs index 1ba740e85..6f6a619da 100644 --- a/ReportImp/BellaDonna/Export/SimbaExporter.cs +++ b/ReportImp/BellaDonna/Export/SimbaExporter.cs @@ -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;